363 Commits

Author SHA1 Message Date
John Spurlock
7f1df5e985 VolumeZen: Slider icon as ringer-mode toggle.
- When manipulating the ringer/notification stream, the volume
  slider icon on the left now serves as a toggle.  Single-press
  for vibrate, long-press for silent.
- Disable slider when silent.
- Add touch feedback to slider icon when clickable.
- Vibrate when toggling to vibrate.
- Play sound when toggling to audible.
- Adjust the slider icon padding so it appears to be square,
  and the same size as the icon on the right.

Bug:15330217
Change-Id: Id7262d9315e6e761e1d5750714c356c3ac735951
2014-05-31 19:11:40 -04:00
Adrian Roos
5d9cc668e1 Update HUN visuals to UX spec
Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
2014-05-31 13:43:44 +02:00
Winson Chung
b2f4bc8727 Merge "Updating paddings to design spec." into lmp-preview-dev 2014-05-30 21:06:18 +00:00
Winson Chung
cd23c849af Updating paddings to design spec.
Change-Id: I11286937216494304c38c87280bc69ef9522c596
2014-05-30 11:44:27 -07:00
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
Winson Chung
073c2e4ad1 Merge "Updating task view style, fixing performance on enter-recents animation." into lmp-preview-dev 2014-05-29 21:10:15 +00:00
Winson Chung
24cf152483 Updating task view style, fixing performance on enter-recents animation.
Change-Id: I42ca9296170a93a14184ae8963abbd3f0494e503
2014-05-29 12:30:26 -07:00
John Spurlock
2684d5e7d7 QuickSettings: Basic content-resizing for detail panel.
Also remove toggle from zen tile + fix bottom padding.

Bug:15315490
Change-Id: Ib839b9280ce60d2f51e4c0c46e41a7743e7ec8f6
2014-05-29 08:49:41 -04:00
Selim Cinek
4c6969a512 Implemented basic camera and phone affordance.
The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904
2014-05-28 15:56:22 +02:00
Jorim Jaggi
6ecbe3f2d6 Merge "Remove up pointing arrow in navbar." into lmp-preview-dev 2014-05-27 20:24:48 +00:00
Jorim Jaggi
7b0de297e1 Remove up pointing arrow in navbar.
We don't need it anymore. Yay!

Bug: 15283575
Change-Id: Iac5543a733c047711e5c37f290758456116469a5
2014-05-27 22:22:51 +02:00
John Spurlock
6940b361e5 Merge "VolumeZen: combine ringer/notification volume and zen." into lmp-preview-dev 2014-05-27 14:16:52 +00: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
3c64aba99c Make carrier label single line with marquee on overflow
Bug: 15261340
Change-Id: I3b22b018ba834da71129e2ece7107fee5807b1f7
2014-05-26 23:12:45 +02: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
Jorim Jaggi
7c1d454da1 Merge "Improve scrim handling" into lmp-preview-dev 2014-05-26 20:44:52 +00:00
Jorim Jaggi
ecc798e666 Improve scrim handling
Bug: 15163546
Change-Id: I0d2c05b035f832f4b4e6a2fc34113fe9d5677525
2014-05-26 22:41:16 +02: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
1dfc38058e Merge "Tapping in brightness row in QS should not close QS panel" into lmp-preview-dev 2014-05-26 17:33:17 +00:00
Adrian Roos
236da706b9 Tapping in brightness row in QS should not close QS panel
Bug: 15169301
Change-Id: I10ddaa2c5bd3f8cb6abaff89b03814dd8ec63f72
2014-05-26 19:27:40 +02:00
Adrian Roos
0948925a04 Merge "Implement HUN visuals: shadows and translucency" into lmp-preview-dev 2014-05-26 17:05:18 +00:00
Adrian Roos
de61fd7822 Implement HUN visuals: shadows and translucency
Bug: 15106201
Change-Id: I718e3d36355d0f58abc3daadb8c6a9d554f29bec
2014-05-26 19:03:00 +02:00
Jorim Jaggi
37e6562421 Merge "Visual refinements for lockscreen." into lmp-preview-dev 2014-05-26 14:23:38 +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
Jorim Jaggi
cc12a9daf6 Visual refinements for lockscreen.
Bug: 15244051
Bug: 14999913
Change-Id: I48896cfa3d88a25ae9c244968ae8e457b6d4e82d
2014-05-26 02:06:20 +02:00
John Spurlock
17aba4e2ec QuickSettings: Remove default edge effect on scroller.
Bug:15186962
Change-Id: Ibc6aa8169fedf7b9e145955d652f3af8703cbe54
2014-05-24 18:53:16 -04:00
Winson Chung
7220faeec6 Merge "Small perf tweaks." 2014-05-21 23:12:32 +00:00
John Spurlock
8a5feb7906 Merge "Zen mode condition selection updates." 2014-05-21 23:08:31 +00:00
John Spurlock
d62e0539db Zen mode condition selection updates.
Change-Id: Ic169066db9783581c5aad2bdf14efd4abe8bb6c1
2014-05-21 19:07:35 -04:00
Winson Chung
47a3e65acc Small perf tweaks. 2014-05-21 16:03:42 -07:00
John Spurlock
35453dd751 Merge "QuickSettings: fix text alignment." 2014-05-21 21:28:16 +00:00
John Spurlock
4bf31983d2 QuickSettings: fix text alignment.
- Abandon dynamic sizing, give each tile a fixed height.
- Align the baselines of the first line of each tile in a row.
- Clean up dimension resources.
- Center the touch feedback on the icon center, and dial it down.

Bug:15120277
Change-Id: If43986f80ef6d01722b60b6feedb278eed27e936
2014-05-21 17:24:44 -04:00
Adrian Roos
2fe592d49b Add trust indicator to keyguard
Changes the unlock icon to an open lock
when the keyguard will not ask for credentials.

Bug: 14295559
Change-Id: If34a5ec9e23b2d22813860faee125e6b2d700643
2014-05-21 15:51:14 +02:00
Winson Chung
863db8a4e7 Removing the info pane.
Change-Id: I5486291144cbcb1b31a7e5b8a234e5ef7cf85325
2014-05-20 14:33:04 -07:00
Selim Cinek
2f4a82af91 Merge "Fixed a big with the vetobutton, circumventing double tapping." 2014-05-20 02:27:17 +00:00
Selim Cinek
863834bd96 Fixed a big with the vetobutton, circumventing double tapping.
Change-Id: Ie31d06fe4e2454cf6a3223bef75eca2c76f47b59
2014-05-20 04:20:25 +02:00
Selim Cinek
e704324a01 Merge "Fixed several bugs introduced by the new background views." 2014-05-20 01:42:46 +00:00
Selim Cinek
c9c00ae2fa Fixed several bugs introduced by the new background views.
Also notifications are now limited to 4U again.
Bug: 14880580

Change-Id: I05d19981ad1bb06687bf6c994608e21ac925a759
2014-05-20 03:33:40 +02:00
John Spurlock
f3281e4a3c Merge "QuickSettings: cap touch feedback to panel." 2014-05-20 01:13:04 +00:00
John Spurlock
ee912bb8ed QuickSettings: cap touch feedback to panel.
Bug:15089348
Change-Id: I0d9cc21d9888e1cc67f61c61dfae5e6c519ace1b
2014-05-19 21:11:14 -04:00
Jorim Jaggi
e595504f09 Merge "Move background from notification into a view." 2014-05-19 21:13:36 +00:00
Jorim Jaggi
a8b48e166c Move background from notification into a view.
This allows to run a circular clip animation for the double-tap
interaction on the lockscreen.

Change-Id: I1c36f4d250c0255fc1fd89f97f078b3f5914ee47
2014-05-19 23:10:32 +02:00
Winson Chung
958e559b98 Merge "Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)" 2014-05-19 16:25:40 +00: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
Winson Chung
1e8d71b605 Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)
Change-Id: Icc5d2a784ed3c3c27143eb04cbb4305549ee223a
2014-05-17 00:31:50 +00:00
Jorim Jaggi
069cd03740 Position clock and notifications dynamically.
The positioning is dependant on how many notifications are currently
showing. This makes sure that the lockscreen always looks balanced
and harmonic.

Bug: 14592994
Change-Id: Ic647b887dd23e6cc5ecd07d70f279ff2f218f4ca
2014-05-17 02:01:41 +02:00
Selim Cinek
c27437b7fd Implemented visual speed-bump for notifications.
The separation between the important and the less important
notifications has now a visual representation.

Bug: 14607473
Change-Id: I8baa0a08924ec041be2884a2834139477313ab40
2014-05-16 23:19:28 +02:00
Adrian Roos
cd10d7c595 Merge "A better auto brightness" 2014-05-14 10:32:26 +00:00