8584 Commits

Author SHA1 Message Date
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
Christoph Studer
37fe693225 SysUI: Reflect notification ranking
Respect the ranking received via NotificationListenerService.

Bug: 15131411
Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216
2014-05-28 15:53:34 +02:00
Christoph Studer
c288514cac SysUI: Switch to NotificationListenerService
Switch SysUI to receive notifications via a NotificationListenerService
instead, byapssing StatusBarManagerService callbacks.

Bug: 15131411
Change-Id: I907a1ff28123219db1c08889d723ad1b70b191ab
2014-05-28 15:40:31 +02:00
Christoph Studer
344f0099ab SysUI: Fix bug where ZEN notification icon was shown
Bug: 15303664
Change-Id: I295293e62ee878be9b4aa7b13e0c014f935072ca
2014-05-28 14:56:15 +02:00
Winson Chung
4f70dbbc65 Ensuring that the second card is maximally visible when you go into recents.
Change-Id: Ia13c56941bfc47de341dd57501d156e925a3b2fc
2014-05-27 18:02:52 -07:00
Jorim Jaggi
0d674623fa Add methods to coordinate unlock animation.
Introduce IWindowManager.keyguardGoingAway to notify that Keyguard
wants to dismiss it self. This method starts the state machine in
WindowAnimator which animates in the activity behind the keyguard.
Animating out the keyguard is done by the StatusBar/Keyguard
software when it receives the startKeyguardExitAnimation() callback.

Bug: 14118756

Change-Id: Id3b8f41189410bad808b4892fbec74245e59efce
2014-05-27 16:45:57 -07:00
Jorim Jaggi
2d6f780cc5 Merge "Remove charging text and carrier label on bouncer." into lmp-preview-dev 2014-05-27 20:30:28 +00: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
Jorim Jaggi
40a0b38160 Remove charging text and carrier label on bouncer.
But still show it for SIM PIN/PUK.

Bug: 15283575
Change-Id: Id343e5b2fb5c695f46cd23d8509109987fa2d290
2014-05-27 22:20:37 +02:00
John Spurlock
3d09bbd04f Better wifi-enabled signal from network controller.
The old "is wifi enabled" signal was geared toward the cluster
view.  Since the clients of the callbacks are now only QS tiles,
make sure to plumb through the actual enabled value all the way
up to the tile.

Bug:15161053
Change-Id: I8b69c599f06d5b36e3f44dc666e1621840ffd927
(cherry picked from commit fd0ea545d47b19c2ebff203a6e768a60698f3609)
2014-05-27 19:34:10 +00:00
Jorim Jaggi
fbd168331c Merge "Skeleton for Keyguard security method appear animations." into lmp-preview-dev 2014-05-27 18:31:57 +00:00
Jorim Jaggi
37d5c23998 Merge "Show bouncer immediately when MOTION_UP is received" into lmp-preview-dev 2014-05-27 18:31:10 +00:00
Adrian Roos
a33ea18dc6 Merge "Initialize background visibility of ActivatableNotificationView" into lmp-preview-dev 2014-05-27 15:37:38 +00:00
Adrian Roos
bcbb75ac9d Initialize background visibility of ActivatableNotificationView
Initializes the background visibilities that were previously
only set when adding the view to the scroller,
resulting in HUNs having two backgrounds.

Bug: 15106201
Change-Id: I21ef3b34c6feb0e852c9dc2c3289665cff40927e
2014-05-27 16:39:53 +02:00