8498 Commits

Author SHA1 Message Date
John Spurlock
a11b4affca VolumeZen: Prevent raising ringer volume in silent mode.
Instead of breaking out of silent mode when raising the volume
using the keys, prevent the change and display a visual hint up
in the user interface.

Bug:15330217
Change-Id: I74aae44319aadcd6db9841c7799967607f5a1617
2014-06-01 11:52:23 -04:00
John Spurlock
d1c86e2cb2 QuickSettings: Icon updates + BT connecting state.
Bug:15186962
Change-Id: I56de6f3cabcb36b13617d4027323a078cceb9587
2014-06-01 00:04:53 -04:00
John Spurlock
84da84c894 VolumeZen: Update icon and fix handler bug.
Bug:15186962
Change-Id: Iaeae85e185b60c7afa573ebfda331eb41a6b8db8
2014-05-31 22:24:57 -04:00
John Spurlock
5f640e4a86 VolumeZen: Pulse silent mode icon on disabled slider touch.
Bug:15330217
Change-Id: Icb54e5ea0466bb5fbd7e08b99e8f0dac15ded447
2014-05-31 20:17:26 -04:00
John Spurlock
254310450a Merge "VolumeZen: Slider icon as ringer-mode toggle." into lmp-preview-dev 2014-05-31 23:18:13 +00:00
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
John Spurlock
9dcfe06154 QuickSettings: Guard against bad input to handleShowDetail.
Bug:15326440
Change-Id: I473cedb2c41dadf88596ea54a8f8a881ca4e27ba
2014-05-31 12:54:58 -04:00
Jorim Jaggi
290600a08d Overscroll header when expanding the panel.
Bug: 14486987
Change-Id: I563aabf273328d733d7452af7f54db28934df9d9
2014-05-31 14:19:25 +02: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
Jorim Jaggi
e29b2dbc76 Fade scrim in unlock animation.
This also introduces a startTime which gets sent from window manager
to SystemUI, which tells when the animation should start, to allow
for a more synchronized animation with fading out the scrim and
fading in the activity behind.

Bug: 15163546
Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937
2014-05-31 02:48:06 +02:00
Winson Chung
b2f4bc8727 Merge "Updating paddings to design spec." into lmp-preview-dev 2014-05-30 21:06:18 +00:00
John Spurlock
3a00419a13 Merge "QuickSettings: Fix flash when expanding panel." into lmp-preview-dev 2014-05-30 20:29:19 +00:00
John Spurlock
bc3a5e9469 QuickSettings: Fix flash when expanding panel.
Bug:15186962
Change-Id: Ib42776989d687f8873f7bd3c2567c31a23e0490f
2014-05-30 16:20:05 -04:00
Chris Wren
4f0e39a929 Merge "Track Zen Mode status in the NotificationRecord" into lmp-preview-dev 2014-05-30 20:15:38 +00:00
Chris Wren
333a61c3a5 Track Zen Mode status in the NotificationRecord
This requires the record to be present in makeRankingUpdateForListener,
however, if the ranking object is created before the post to the handler,
then no cloning is necessary.

Depends-On: I907a1ff28123219db1c08889d723ad1b70b191ab
Change-Id: I51fcf689ddbee7715e3387b865f18a715887c943
2014-05-30 16:09:51 -04:00
Winson Chung
cd23c849af Updating paddings to design spec.
Change-Id: I11286937216494304c38c87280bc69ef9522c596
2014-05-30 11:44:27 -07:00
John Spurlock
303170e5c2 Merge "QuickSettings: Maintain tile panel Y in detail mode." into lmp-preview-dev 2014-05-30 17:40:23 +00:00
John Spurlock
3e04cc8c9b QuickSettings: Maintain tile panel Y in detail mode.
Hide the brightness slider to reduce visual clutter.
Stabilize the tile panel further by preventing it from
shrinking to less than the tiles height.

Bug:15341870
Change-Id: I785ff9c13f8489e86e3bdc8dde45ebd39f9a1413
2014-05-30 13:14:16 -04:00
Selim Cinek
a02fe523cc Reduced overexpansion when expanding the panel
Bug: 14486987
Change-Id: Ic1546e1661e3afe842b044abf636421d2620bddd
2014-05-30 15:32:52 +00:00
Selim Cinek
79525b2f02 Merge "Implemented the appear animation for the pattern security." into lmp-preview-dev 2014-05-30 15:32:39 +00:00
Selim Cinek
3018197cf0 Implemented the appear animation for the pattern security.
Also refactored AppearAnimationUtils slightly to support this.

Bug: 15163546
Change-Id: I411fad20c410875dcf7bc465ea545ed90aac187e
2014-05-30 17:29:22 +02:00
Adrian Roos
4314f6d5fa Eagerly dismiss Keyguard when launching notifications and phone
Uses the new code path when launching phone that delays the launch
until the Keyguard is actually dismissed, which fixes another way
for 14622312 to pop up. Also adds a flag to prevent the Keyguard
from waiting for the launch animation to finish.

Bug: 15280103
Bug: 14622312

Change-Id: Id24e40785c9f760648140e5572b1d39889d3666b
2014-05-30 16:01:43 +02:00
John Spurlock
2078caf797 VolumeZen: shadow protection for volume dialog.
Bug:15186962
Change-Id: I8525e62348e2cc8b68b938d2f7d986f5cbe0273f
2014-05-29 22:20:14 -04: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
John Spurlock
414a486e4c Merge "QuickSettings: Hide the expanded header in detail mode." into lmp-preview-dev 2014-05-29 23:43:51 +00:00
John Spurlock
5729d090ab QuickSettings: Hide the expanded header in detail mode.
When a tile's detail panel is showing, hide the header
panel above - giving it more real estate.

Bug:15315490
Change-Id: I8aac0ec0eae5dad7393e334107b6aeac76f54545
2014-05-29 19:37:48 -04:00
Winson Chung
069707ed6f Merge "Ensuring that the second card is maximally visible when you go into recents." into lmp-preview-dev 2014-05-29 23:07:42 +00:00
Winson Chung
c87bfbd265 Merge "Enabling shadows again." into lmp-preview-dev 2014-05-29 23:07:28 +00:00
Winson Chung
602de03cf3 Enabling shadows again.
Change-Id: I4e4a771a7be3f696383059cb608e78dd6315a47a
2014-05-29 15:43:11 -07:00
John Spurlock
f68e9d834c Merge "Honor Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS." into lmp-preview-dev 2014-05-29 22:03:26 +00:00
Winson Chung
457fa27704 Merge "Fixing issue with configuration states not being reset on configuration change." into lmp-preview-dev 2014-05-29 21:50:02 +00:00
John Spurlock
4b3bda2225 Honor Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS.
Hide notifications on the lockscreen if the setting = 0.

Bug:15104826
Change-Id: I394f10a9958a3ee4d03198f21eb09b778e00903e
(cherry picked from commit ac639f28502a7e8a6c52a6585810c8d94e0e5388)
2014-05-29 21:48:03 +00:00
Winson Chung
b01ed681fe Fixing issue with configuration states not being reset on configuration change.
- Also updating some interpolators

Change-Id: Ia29fc6f10705c7d286246162f894a25de7b4be40
2014-05-29 14:44:27 -07: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
Craig Mautner
219d7a50fb Merge "Add methods to coordinate unlock animation." into lmp-preview-dev 2014-05-29 16:45:36 +00:00
John Spurlock
f71205c1ee VolumeZen: Don't clear stream type if embedded.
Clearing the stream type makes sense if the volume panel is
in dialog mode, but not when embedded.

Bug:15186070
Change-Id: Ice5f547ef987e28ef51050faef682c5dfa5f7604
2014-05-29 10:19:14 -04: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
fb816fc701 Merge "Fixed a bug where the user was unable to pull down statusbar." into lmp-preview-dev 2014-05-29 00:20:33 +00:00
Selim Cinek
3c4635c199 Fixed a bug where the user was unable to pull down statusbar.
When going to the phone or camera from the lockscreen, touches
where blocked and the statusbar could not be pulled down anymore.

Bug: 15308821
Bug: 15126905
Change-Id: Ic9563346f6a466cb5ada3f4af518fabcd650e9b9
2014-05-29 02:12:47 +02:00
Christoph Studer
3326a8782f Merge "SysUI: Fix bug where ZEN notification icon was shown" into lmp-preview-dev 2014-05-28 23:40:02 +00:00
John Spurlock
1fc422bd7d Merge "QuickSettings: Bind notifications tile to the ringer stream." into lmp-preview-dev 2014-05-28 23:11:59 +00:00
John Spurlock
420d33b797 QuickSettings: Bind notifications tile to the ringer stream.
So it has the same logic as the dialog version.  The streams
are bound together.

Bug:15314453
Change-Id: Icc8e5f359948b60c52616709cd34a48e108b96cd
2014-05-28 19:10:41 -04:00
Christoph Studer
9ce7e02fa7 Merge "SysUI: Switch to NotificationListenerService" into lmp-preview-dev 2014-05-28 22:22:17 +00:00
Jorim Jaggi
d5b71cbd7b Merge "Appear animation for PIN view." into lmp-preview-dev 2014-05-28 15:34:34 +00:00
Jorim Jaggi
15a77f7da8 Appear animation for PIN view.
Bug: 15163546
Change-Id: I05bc2920cc6e3d19ab64b8b43417b328552e9e2a
2014-05-28 17:31:33 +02:00
Christoph Studer
e35896885e SysUI: Fix bug where ZEN'd notification wasn't updated
Bug: 15131411
Change-Id: If6a149a04b34b63052797bbadb3a6fde18c675cd
2014-05-28 16:40:18 +02:00
Christoph Studer
67e83d5754 Merge "SysUI: Reflect notification ranking" into lmp-preview-dev 2014-05-28 14:33:06 +00:00
Selim Cinek
708a6c120d Introduced animations for the clipTopAmount of notifications.
Bug: 14081264
Change-Id: I09ca8161807d9dea7ca118601ddff9a28c373de5
2014-05-28 14:23:57 +00: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