2153 Commits

Author SHA1 Message Date
John Spurlock
ae641c9ccd Implement new volume UI design.
- Add segmented zen-mode picker to the rocker UI.
- Add a new "no interruptions" value to the zen setting.
- Implement expandable condition subpanel on the rocker UI.
- Remove the old circle&slash icons.
- Suppress alarm sounds if in "no interruptions" mode.
- Add warning re: alarms to the condition UI.
- Allow rocker UI to display over the keyguard.
- Remove Notifications QS tile.
- Realign volume rocker to the top of the screen.
- Add support for new "days" sleepMode.
- New icon policy rules for "volume" slot.
- New important icon (star).

Associated Settings change:
  I6ed56791784968adfbd684f490dbbebed285a2dd

Bug:15831713
Change-Id: I35afe38646f04d2ba0dbac11c2c6356120a33694
2014-07-07 18:48:25 -04:00
Baligh Uddin
4a9aabb3c1 Import translations. DO NOT MERGE
Change-Id: I3f8ef62714d212d2f82fabf4573cb73ddaa6ce93
Auto-generated-cl: translation import
2014-07-05 15:37:52 -07:00
Selim Cinek
d83771ee46 Fixed a visual stack collapsing bug
When the stack is collapsed, the second card is padded slightly
to appear as if it was in the bottom stack.

Bug: 15169254
Change-Id: I9e9418dc057ffec01c7f56358ec60bac477497a4
2014-07-04 16:56:18 +02:00
Selim Cinek
ad3e5afdd2 Fixed some logic in the stack scroller algorithm
Also made the top stack slow down a little bit smaller, such that
the speedbump doesn't jump anymore when entering it.

Bug: 15022817
Change-Id: I66c3123a043c66fd9f8aaef50e5ffade4bc17989
2014-07-04 10:31:21 +00:00
Jorim Jaggi
ed2f4b77da Merge "Quick settings improvements" 2014-07-02 19:56:47 +00:00
Jorim Jaggi
540454259d Quick settings improvements
- Remove hole in landscape when no notifications are shown.
- Start intercepting touch events directly when already flinging.
- Fix jump in top panel when collapsing QS in landscape.

Change-Id: If2da5215ee20ea1b0d3a0f88f32c8f5b0dd147da
2014-07-03 22:50:20 +02:00
Jorim Jaggi
563062569c Reenable touches to notifications in expanded QS
Revert "Closing the QS when tapping on the notifications now."
This reverts commit 3bb0bb8817690728a40edd3f8f665b09907a451b.

Revert "Disabled touch interaction when in Quick settings."
This reverts commit 5cd19bc6a4fac0513bb285fdaf08b1d19c87f4ae.

Also, shuffle order of notifications and quick settings such that
scrolling still works and delegate touches from stack scroller to
the scroll view for expanded QS panel.

In addition, make the panel close transition work when QS is expanded
and scrolled.

Last but not least, decrease scrim amount so the notifications still
look 100% interactive.

Change-Id: I17710e078cff84bcdf303c22986a31135dae2aee
2014-07-03 17:24:50 +02:00
Jorim Jaggi
30c305ce62 Implement nice motion for collapsing panel while QS open
Also remove the delay for actions which close the panel. Delaying is
no longer necessary as you still see the touch feedback when the
panel is closed.

Change-Id: I0dffae6998fc41b1590cb182667323f40be3a7d5
2014-07-03 17:24:24 +02:00
Selim Cinek
3d2b94bf8e Made notifications below speedbump grey.
Also fixed a small scrimming bug where headsup where
scrimmed.

Bug: 15408642
Change-Id: I8319ccb001a1d654af055276de3c64ae388a7e47
2014-07-03 11:40:54 +00:00
Selim Cinek
697178b124 Refactored the notification backgrounds
The background now only uses one specific drawable and emulating
the legacy behaviour by tinting. Notification backrounds are now
also a ripple drawable, giving feedback on click.

Bug: 15837646
Change-Id: Ia3b7dafebe2439cc56ed258264ef33b5b07faa69
2014-07-03 11:40:21 +00:00
John Spurlock
7f8f22a530 QS: Wifi control panel.
Create first example of an inline detail view with line
items, bind to new access-point controller.

Move the common bits of all control panels into a
common abstraction.  Share common parts of layout
(More settings / done button).

Change-Id: I14a1bf548f3291dc628f97bf09dd4e38ac2fb2dc
2014-07-03 12:28:46 -04:00
Adrian Roos
e59bd9af26 Update QS flashlight icon
Bug: 15934851
Change-Id: Id1d08fce8916c29c6cb53eee7cb069b250c0b805
2014-07-02 20:03:26 +00:00
Adrian Roos
7028946402 Fix keyguard user switcher layering
Bug: 15822308
Change-Id: I4253a5f9ccb395b291696825923b251c4069c617
2014-07-02 15:22:36 +00:00
Adrian Roos
b83777ba5c Add flashlight to quick settings
Bug: 15934851

Change-Id: I86f61fa11fe64e76adb032391ce7e7170f59549d
2014-07-02 12:33:36 +00:00
John Spurlock
39076ed379 QS: Improve dual tile labels.
Use the solid dropdown caret and improve vertical spacing.

Change-Id: I839fb3130a0fc621a2217e5211fb7b4f053a5685
2014-07-01 10:19:24 -04:00
Jorim Jaggi
931f518863 Merge "Fix rounded corners in QS panel." 2014-06-26 21:33:38 +00:00
Jorim Jaggi
fbbe811bd8 Fix rounded corners in QS panel.
Bug: 15949122
Change-Id: I6cd306c5dbfef6aad456bd6c82faf53cac0c040c
2014-07-01 02:09:19 +02:00
Baligh Uddin
adf66ee9b2 Import translations. DO NOT MERGE
Change-Id: I601a71dfde97de710cee9074e1e06d92ef5cc3b9
Auto-generated-cl: translation import
2014-06-30 14:36:24 +00:00
John Spurlock
92d9b19e1b QS: Add a caret to the dual tile labels.
Also tweak some of the vertical spacing between the tiles
to get closer to the redlines.

Bug:15852139
Change-Id: I251fde261a74335c16b37ba07ab554f6db05d367
2014-06-29 17:45:24 -04:00
John Spurlock
6612727c18 Doze: allow devices to opt-out of sigmotion trigger.
For devices with unreliable significant motion sensors, allow
the tease signal to be disabled via device config.

Also add doze state to dream service dumpsys.

Bug:15863249
Change-Id: I23eeec09c69cc3bd43b187e49555391ac0a99d9f
2014-06-28 11:31:44 -04:00
Jorim Jaggi
fb9bc0f85d Merge "Improve motion when expanding/collapsing status bar." 2014-06-26 18:34:16 +00:00
Jorim Jaggi
2580a976ec Improve motion when expanding/collapsing status bar.
- Don't fade the whole panel anymore.
- Parallax effect for QS header translation, fade on keyguard.
- Improve fling curve for dismissing the panel.
- Improve peeking behavior.

Bug: 14804452
Bug: 15407838
Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
2014-06-30 22:53:27 +02:00
Jorim Jaggi
605f190202 Keep a mirror of the system icons while expanding the panel
Because the icons are shown in two different places at the same time
(in the QS header and the status bar), we introduce a mirror view
which does nothing except draw the contents of the other view to
draw it at both locations during the animation.

Bug: 15407838
Change-Id: I82edc8b4fb7347fa8dadfb81762d22796d37fa3c
2014-06-30 21:12:34 +02:00
Jorim Jaggi
5d69958715 Merge "Keep a mirror of the system icons while expanding the panel" 2014-06-26 18:35:29 +00:00
Selim Cinek
4e8b9ed30b Implemented new PIN unlock design
The pin unlock design was changed according to the spec
and new animations where introduced for the password field.

Bug: 13735707
Change-Id: I76f5e873bd0ea4f34ca3d2cd971223f0a83e2f28
2014-06-30 18:48:41 +00:00
Baligh Uddin
755fc64c6d Merge "Import translations. DO NOT MERGE" 2014-06-26 18:07:29 +00:00
Baligh Uddin
2cbab6c907 Import translations. DO NOT MERGE
Change-Id: I69929680cab4ea18219ae4b6890812578c9dd8ca
Auto-generated-cl: translation import
2014-06-26 11:50:05 -07:00
John Spurlock
d42f495849 QS: Tile text to 70% white.
Change-Id: I4dcad126b1b2467b780192ae220493c301cdb5bb
2014-06-27 15:33:21 -04:00
John Spurlock
0557c3f0e0 SystemUI garbage collection.
Remove obsolete pieces from PhoneStatusBar + NotificationPanelView

Change-Id: Ib6b2d6f1a4e7c4aeaab775f928a74abdfe2b4168
2014-06-25 14:57:32 -04:00
Winson Chung
8e548f7025 Refactoring Recents layout into an xml.
- Hiding the search bar when entering filtering mode

Change-Id: Ifce8429d6f331406e9688c96cd978f6900879c96
2014-06-24 15:42:33 -07:00
Christoph Studer
6cb9e0f1f9 Remove suppression of ZEN'd notifications
Bug: 15286335
Change-Id: I3114d7bcd8f05ca3a58f3598b95fdb507f6c646c
2014-06-24 17:18:20 +02:00
Winson Chung
653b0d6a59 Ensuring that we unload all resources after a transition.
- Fixed case where we weren't deleting task data after it was removed via a package event
- Reducing time for dismiss button to appear
- Working around animation issue where we appear to see frames before the animation starts (perhaps it is posted now?)

Change-Id: I1dc0e203485f517e7384b0f7ee08979bfd286013
2014-06-20 19:03:16 -07:00
Selim Cinek
00a78899af Merge "Scrimming the notifications when QS is open." 2014-06-20 00:11:43 +00:00
Selim Cinek
f54090e9bb Scrimming the notifications when QS is open.
Bug: 15394230
Change-Id: I4234bde0259ef296db73a43f69a765dbde5ddacd
2014-06-19 17:20:44 -07:00
Adrian Roos
cdf74c2881 Merge "Implement keyguard user switcher" 2014-06-19 20:37:59 +00:00
Adrian Roos
8ddb2da875 Implement keyguard user switcher
Bug: 15545213
Change-Id: I2d18cc3c83d76991fe11fc4bff7e8eecc25df4b5
2014-06-19 15:47:46 -07:00
Baligh Uddin
e1f7f2a78a Merge "Import translations. DO NOT MERGE" 2014-06-18 18:28:24 +00:00
Baligh Uddin
16d24bf417 Import translations. DO NOT MERGE
Change-Id: Ib613546e110970b008f942f4291f6ccb8283847c
Auto-generated-cl: translation import
2014-06-18 10:25:37 -07:00
Winson Chung
7ab650cb43 Adding start delay to the task view transforms.
- Adding slight delay to task bar buttons to allow touch feedback to show

Change-Id: I9f31ca378541fc34c7b741840c7f038340684b13
2014-06-18 14:30:32 -07:00
Winson Chung
e0e45bc26d Re-enabling task based filtering in Recents using package name.
- Also front-loading creating the new thumbnail when animating up from Recents
2014-06-18 00:59:29 +00:00
Winson Chung
06795630f6 Adding status bar scrim, reducing extra work updating configuration values.
- Making the app icon larger for tapping
2014-06-17 16:37:56 -07:00
Jorim Jaggi
129e7ac809 Fix paddings for user switch and status bar icons.
Bug: 15540707
Change-Id: If7288d032b9625e0fbb5b657afcf680d178e63ee
(cherry picked from commit 5d545e7c89231ac80ab2b666bd83f63bcf54f78f)
2014-06-17 10:36:31 -07:00
Baligh Uddin
d31899bb76 Merge "Import translations. DO NOT MERGE" 2014-06-17 04:56:28 +00:00
Baligh Uddin
d5d8b88873 Import translations. DO NOT MERGE
Change-Id: I77aefc3b2ea919ca7e667fc55b43badb2c43ddbf
Auto-generated-cl: translation import
2014-06-16 10:12:38 -07:00
Winson Chung
969f586533 Tweaking enter/scrim animations/styles. Fixing issue with clipping not saving layers.
Change-Id: I476c68d7df4a8fc59ca3d9be3f99526089183ec2
2014-06-16 19:11:29 -07:00
Jorim Jaggi
d34804cfb3 am b6d02956: Merge "Bigger clock." into lmp-preview-dev
* commit 'b6d029569675a486dde2a7117fdc94658e1576fe':
  Bigger clock.
2014-06-16 16:28:35 +00:00
Jorim Jaggi
4dda93ffa3 am 261caa08: Change style of clock in status bar.
* commit '261caa08828d11ab827bc5da71b2e5a1a9581819':
  Change style of clock in status bar.
2014-06-16 16:28:10 +00:00
Geoff Mendal
803c5eb17d Merge commit 'fd7ef123c01718e44c13ed638b86a7483ae2d9c9'
Conflicts:
	packages/SystemUI/res/values/dimens.xml
2014-06-16 09:06:45 -07:00
Jorim Jaggi
ea384193d9 Change style of clock in status bar.
Bug: 15570452
Change-Id: I39ec2e2a18d382f378d5cccd94a6a8630b55a240
2014-06-14 06:22:34 +02:00
Jorim Jaggi
587e9e1831 Merge "Revert "Improve unlock motion."" into lmp-preview-dev 2014-06-13 21:09:46 +00:00