140 Commits

Author SHA1 Message Date
John Spurlock
3bd4feec3d QuickSettings: visual updates.
- Update style for do not disturb subhead.
- Fix strict mode warning setting zen from volume panel.
- Longer delay in volume panel when expanded.
- Update zen icons.
- Update header peek height.
- Update detail pane back icon.

Bug:15186962
Change-Id: Icb8b95656f866bf9b0aa076d0b85c019a77e76c0
2014-05-29 20:51:09 -04:00
John Spurlock
8600534df6 VolumeZen: combine ringer/notification volume and zen.
- Implement a new volume panel widget, combining volume and
  zen mode + conditions.
- Show zen mode + conditions when modifying ringer or notification
  streams.
- Host the volume panel widget in a dialog when being controlled
  by the audio service / volume keys.
- Remove support for multiple sliders in the volume panel.
- Remove support for separate ringer + notification volumes
  in the volume panel.
- Move volume panel resources up to SystemUI.
- Create a new combined Notifications quick settings tile.
- Host the volume panel widget in the quick settings panel under
  Notifications.
- When the quick settings detail panel is visible, route the volume
  keys to the embedded widget instead of showing a redundant dialog.
- Create common styles for quick settings text to be closer to spec.
- Update the framework resources for the ringer stream.
- Show the ringer icons in global actions.
- Add "until you turn this off" back as a separate zen condition.
- Disable time condition buttons when they are N/A.
- Don't allow volume changes to set ringer mode silent.

Bug:15186070
Change-Id: Id5e321dd1d5e7c4cf3917027ffbdf7e80d38b00d
2014-05-27 10:08:00 -04:00
Adrian Roos
41b170d606 Merge "Replace KeyButtonView's custom glow with Quantum Ripple" into lmp-preview-dev 2014-05-26 20:54:13 +00:00
Adrian Roos
cde52d77eb Replace KeyButtonView's custom glow with Quantum Ripple
Bug: 15212514
Change-Id: Ia66bccd627c123f637d67076f78ab418c3f9e835
2014-05-26 22:40:52 +02:00
Adrian Roos
279582689b Merge "Update open lock icon with actual assets from UX" into lmp-preview-dev 2014-05-26 14:43:16 +00:00
Jorim Jaggi
125bd990e7 Replace default user picture.
Bug: 14842969
Change-Id: I4a46a2499ccf47e1bc13a179561d6ab271502ddb
2014-05-26 16:20:25 +02:00
Jorim Jaggi
f62f2bbcf2 Make QS panel peek below the header.
Bug: 15210059

Change-Id: I84e45092b3c9c397da8b458dbaa136fd52e665a6
2014-05-26 16:11:14 +02:00
Adrian Roos
3ef2a7cbc3 Update open lock icon with actual assets from UX
Bug: 14295559
Change-Id: Ia9f94688a8776517e964bf7c84d71575d0ef985c
2014-05-23 12:36:06 +02:00
ztenghui
6e9b18a604 Merge "Removing versionCode" 2014-05-19 22:43:32 +00:00
ztenghui
6d6ebaf4ca Removing versionCode
Change-Id: I4b768d591208d10a5ae9b23a845102398eac20b6
2014-05-19 15:29:07 -07:00
John Spurlock
ba2c6a084f VolumeZen: Unify ringer + zen status bar icons.
- Remove zen mode indicator from LHS.
- Update ringer mode icons to latest design.
- Zen mode trumps ringer mode in slot if enabled (as it will in QS).

Change-Id: I48bd7e8fdb2a19333b0b6d24d34cc98aa142691f
2014-05-19 10:10:42 -04:00
John Spurlock
83e2848c56 QuickSettings: Remove vector drawable runtime processing.
Remove temporary harness responsible for creating enabled/disabled
versions of vectors at runtime.  Instead, pre-compute the necessary
states as separate files.

Normalize all qs icon names, cleanup obsolete pngs, and replace
the DND hangtag.

Bug:14133785
Change-Id: Ifb58635b832d25ca1de7e9f79cf8ec3503ea8cec
2014-05-18 17:20:05 -04:00
John Spurlock
8baa8b3c01 Add QS location tile animation
Change-Id: I1b4bdd474b44201fdedc6a099bb41e9c054c1ed0
2014-05-15 16:15:55 -04:00
John Spurlock
a7e089f28c Merge "Add QS rotation tile toggle animation." 2014-05-14 17:34:03 +00:00
John Spurlock
444eb2e130 Add QS rotation tile toggle animation.
Change-Id: Ic7e6e36759ef17ab35d639d22bbd2f6bf2470272
2014-05-14 13:32:14 -04:00
John Spurlock
363814c984 Update QS bugreport icon.
Change-Id: I24b2f7b88650e272bf1ab6409656164094382621
2014-05-14 11:18:39 -04:00
John Spurlock
af8d6c44f0 New quick settings implementation.
Bug:14133785
Change-Id: I7f57f8e7ebcc3e1a06fa5204f477470f14299e1f
2014-05-13 18:43:40 -04:00
ztenghui
42008940e7 Remove the <group> tag
Change-Id: I80e9ba3dabb7394db85dcd34539cf534ba3da79d
2014-05-12 16:48:05 -07:00
Alan Viverette
cfd9d7eec2 Simplify accessibility display adjustments in Quick Settings
BUG: 14680114
Change-Id: Ie79aabda8ddf8cd47a556b1b11f6c9e717f99649
2014-05-12 15:26:23 -07:00
Jorim Jaggi
890e1892fe Set primary color of SystemUI.
Also fixes the weird color of the auto-brightness toggle.

Change-Id: I7d8a2a47d630c3ca910983158fbf80ed739e0326
2014-05-12 15:20:27 +02:00
Jorim Jaggi
13c1b1ff36 Implement settings affordance in header.
Also, the status icons are hidden when quick settings is expanded,
except for the battey indicator.

Change-Id: I6fb130c7eb73445b2ec2fdf9a9f3ec181d98033d
2014-05-12 15:03:27 +02:00
Winson Chung
6be810570f Merge "Adding dismiss method on the top cards, and disabling the app info pane." 2014-05-10 00:24:27 +00:00
Winson Chung
54e297a5bb Adding dismiss method on the top cards, and disabling the app info pane. 2014-05-09 17:15:32 -07:00
Jorim Jaggi
9054d94cba Move Carrier label into universal status bar header.
Also introduces a different height for the header area on keyguard,
as it looks better with less padding when no background is here (and
is closer to the mocks).

Change-Id: Ie9b94dcf823c3e4af83a22f5fae15d9033e146fd
2014-05-09 22:47:28 +02:00
Jorim Jaggi
bff1f071f3 Remove expansion and clear button.
...

Change-Id: I965317ba221092f970dc9324dd538a7bde5c0642
2014-05-09 19:16:16 +02:00
Jorim Jaggi
6b5c8e207a Make header card look clickable.
Change-Id: I8b131e8fa1a6b8e83201c23a6dc74008dc73b2c7
2014-05-09 18:42:23 +02:00
Alan Viverette
55e41ea6df am 316e533a: Merge "Update brightness icons to use color attribute"
* commit '316e533ab0ac9888af9e6c3db44e886dd50312e1':
  Update brightness icons to use color attribute
2014-04-10 23:17:50 +00:00
Alan Viverette
515a48a018 Update brightness icons to use color attribute
BUG: 13961573
Change-Id: I6c7f85c8cda739cb1e5e14c39c7e4a9fe20a8650
2014-04-10 16:14:40 -07:00
Adrian Roos
9a0a4c9d7e Enable quick settings from lockscreen and merge into one shade.
Change-Id: Ic5b5f54bcfe3816549287f707715e29340522d9b
2014-04-08 18:25:34 +02:00
Jorim Jaggi
5c2d84675b Move legacy notification processing to Notification.Builder
Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
2014-03-27 12:08:55 +01:00
Jorim Jaggi
39fa59fc49 Change appearance of notifications to light theme.
Change-Id: Ic15e96582d6b46b4dc195b1c7c0cef38f25f0d38
2014-03-07 14:34:17 +01:00
Alan Viverette
858a0405ec Add icons for display adjustment quick settings
BUG: 13028934
Change-Id: I437abc48ad34364995b37c504019f7a4871c8031
2014-03-06 18:36:43 -08:00
Chris Wren
9924e13037 improvements to heads up interface
remove shadow
quick hack to open shade from HUN
over status bar instead of under and below it
dismiss by pushing up
tablets: shadow remains on left, right, and bottom

Bug: 13208692
Change-Id: Ie3abb762fb1388be68353c7e3111fe4708ab8110
2014-02-27 11:38:21 -05:00
John Spurlock
74d2480845 Move moveable non-public framework resources up to SystemUI
Specifically, non-public resources only referenced by SystemUI
and nowhere else in frameworks or system apps (via @*android:)

Remove orphan resources found during the process.

Change-Id: I005514ff1ce52e1622849bc01cd825b09fa55842
2013-12-02 17:37:40 -05:00
Jeff Brown
e7ae644522 Finalize assets for screen casting.
Extend wifi display connection timeout.

Show a notification while connecting to wifi display.

Ensure that remote display providers are really trusted before
connecting to them.

Bug: 11257292
Change-Id: Iad0caaa30d7946df818bc75ade071f2e377f8a53
2013-11-13 02:17:53 -08:00
Chris Craik
641ac6429a Clean up unused resources
bug:10641374

Additionally, fixes incorrect getColor use

Change-Id: Ie56ad5baa099cc421629a5dcc8ef9de14e44079a
2013-10-07 11:00:33 -07:00
John Spurlock
8f1f0109d3 Remove unused status bar help and obsolete resources.
Bug:10502089
Change-Id: I813244c4d5535256a56b242b92e6373edbbaba93
2013-08-29 21:02:15 -04:00
John Spurlock
4bf5c0e242 Remove unreferenced assets from SystemUI.
Bug:10502089
Change-Id: I9c414ff88054a764ab56f70ae8a0c0c82c248be9
2013-08-27 17:53:08 -04:00
John Spurlock
9320645164 Remove more unused icons.
By also removing their obsolete layout referents.

Bug:10344949
Change-Id: Iff8bf686507c63239f058de82ebc776d27480b4f
2013-08-23 08:07:11 -04:00
John Spurlock
83208e34f6 Remove obsolete sysbar icons and layouts.
Remove icons no longer referenced in source or layout files.
Some icons are referenced in obsolete layouts, remove those
as well.

Bug:10344949
Change-Id: Ifc2e4c01534499b687cebd3e32db61e9c7a92e4a
2013-08-22 09:41:39 -04:00
Chris Wren
0f2aa68e3c proper geometry for heads up on tablets.
also some code cleanup since things are getting complicated.

Bug: 10074485
Change-Id: I900a60f0fdda8d2ef1bcfe01035d6f716e14aa56
2013-08-07 11:07:21 -04:00
Chris Wren
51c7510e49 allow rich notifications in the heads up.
new shouldInterrupt logic: screen on, not locked, not dreaming, and
  priority above HIGH and noisy, or has fullscreen intent
draft of API allowing devs to give hints about head up display

reuse inflateViews()
add an expand helper to the heads up space
move some things into Entry for reuse

don't allow touches in first second
delay decay if touched
make decay time a resource

add a custom viewgroup for notification rows to get view management
out of the NotificationData class.

Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
2013-07-23 11:38:56 -04:00
Chris Wren
157026f820 heads up notifications, v0.1
1. re-name intruder alerts to heads up notifications
2. use interrupt for the verb form, instead of intrude
3. new policy: no full screen, high priority, screen on, not locked or dreaming
4. controlled by global setting, with an observer
5. only content view for now, expandable is a todo

to turn it on:
  adb  shell settings put global heads_up_enabled 1
calendar notifications (not pop-up) work well.

Change-Id: I253418c217d0a5cf81dc2fa001f4bad90fafcce5
2013-07-09 11:12:49 -04:00
Daniel Sandler
b1df8bc62a Final icon for notifications panel
Bug: 7474127
Change-Id: I391ef8d607142ab9007439479aebb39e1bfb55f2
2012-11-06 14:37:22 -05:00
Michael Jurka
9ed2bebe09 Use lighter background for Recents
Also, re-enable gradient on tablets
(gradient will be disabled in device-specific
overlays on devices that don't render it well)

Bug: 7381275
2012-10-23 15:02:57 -07:00
Daniel Sandler
3679bf58fb Quickening.
+ Baseline align all header elements.
  + Make clock clickable.
  + Remove clock tile.
  + Reorder tiles.
  + Hide status bar behind panel on phones.
  + Make status bar peek animation show the whole header on phones.
  + Stop hiding status bar bits on phones.

Bug: 7350584 // baseline align header, make clock clickable,
Bug: 7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
2012-10-16 23:21:26 -04:00
Daniel Sandler
101784e560 Flipping quick settings!
Bug: 7348917 ╰(°□°╰)
Change-Id: I16923d6d920913a4bd0d78666587ac579ac18da5
2012-10-16 02:34:09 -04:00
Daniel Sandler
e111ad300d No, that's German for "The Quick Settings, The".
Bug: ???????
Change-Id: I24ffb21b1566d98c9df6db48c4062390757cd8bc
2012-10-13 17:23:47 -04:00
Daniel Sandler
b17a726f2f Notification & settings panel help.
Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").

Bug: 7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
2012-10-07 14:48:24 -04:00
Winson Chung
c86b23b9a6 Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)
Change-Id: If42308a0bbc4a31ffb7f5f0b66063c3b1418ca3e
2012-09-25 16:44:29 -07:00