4869 Commits

Author SHA1 Message Date
Selim Cinek
a02fe523cc Reduced overexpansion when expanding the panel
Bug: 14486987
Change-Id: Ic1546e1661e3afe842b044abf636421d2620bddd
2014-05-30 15:32:52 +00: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
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
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
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
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
Jorim Jaggi
c14f829506 Skeleton for Keyguard security method appear animations.
Bug: 15163546
Change-Id: Id1c6b4f21b8f182f9d00fb903370de5512eaba1b
2014-05-27 02:49:06 +02:00
Jorim Jaggi
2fbad7b6a7 Show bouncer immediately when MOTION_UP is received
Bug: 15163546
Change-Id: Ie50905b78352e54298cb7e0e3f13152e6c2becd0
2014-05-27 02:48:47 +02: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