8498 Commits

Author SHA1 Message Date
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
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
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
54ba638e13 Merge "Do not destroy the security method when pressing back." into lmp-preview-dev 2014-05-26 16:39:50 +00:00
Jorim Jaggi
a0be6d53a8 Do not destroy the security method when pressing back.
Fixes jank when the user wants to unlock it next time.

Bug: 15088101
Change-Id: If7bc3d92d0f17abb5077b4c06248f368acb2879f
2014-05-26 18:37:29 +02:00
Adrian Roos
279582689b Merge "Update open lock icon with actual assets from UX" into lmp-preview-dev 2014-05-26 14:43:16 +00:00
Jorim Jaggi
37e6562421 Merge "Visual refinements for lockscreen." into lmp-preview-dev 2014-05-26 14:23:38 +00:00
Jorim Jaggi
2a87343a8e Merge "Replace default user picture." into lmp-preview-dev 2014-05-26 14:21:49 +00:00
Jorim Jaggi
125bd990e7 Replace default user picture.
Bug: 14842969
Change-Id: I4a46a2499ccf47e1bc13a179561d6ab271502ddb
2014-05-26 16:20:25 +02:00
Jorim Jaggi
5d6957ea79 Disable time and user switcher click targets when collapsed
Bug: 15125632
Change-Id: Ibdeeb47a696a574204b02b90ce6881cd78047738
2014-05-26 16:17:51 +02:00
Jorim Jaggi
5b5cbd13d8 Merge "Make QS panel peek below the header." into lmp-preview-dev 2014-05-26 14:14:06 +00:00
Selim Cinek
161920fabb Merge "Introduced overscrolling for the panel expansion" into lmp-preview-dev 2014-05-26 14:14:06 +00:00
Selim Cinek
0b176bbc10 Merge "Fixed the gap which could occur after the speedbumpview." into lmp-preview-dev 2014-05-26 14:13:05 +00:00
Jorim Jaggi
f62f2bbcf2 Make QS panel peek below the header.
Bug: 15210059

Change-Id: I84e45092b3c9c397da8b458dbaa136fd52e665a6
2014-05-26 16:11:14 +02:00
Adrian Roos
b13d754898 Merge "Remove unnecessary layout request from Keyguard" into lmp-preview-dev 2014-05-26 13:03:09 +00:00
Selim Cinek
24120a5ccf Introduced overscrolling for the panel expansion
Notifications now overscroll in a rubberbandy motion when expanding.

Bug: 14486987
Change-Id: I5ad47027adab10d6996e70f489e8c2550220e224
2014-05-26 10:09:14 +02:00
Selim Cinek
0045cc1bbd Fixed the gap which could occur after the speedbumpview.
Bug: 15126099
Change-Id: Ia1724c123296313a706790d3a25ffc1857968b63
2014-05-26 07:49:03 +02:00
Jorim Jaggi
cc12a9daf6 Visual refinements for lockscreen.
Bug: 15244051
Bug: 14999913
Change-Id: I48896cfa3d88a25ae9c244968ae8e457b6d4e82d
2014-05-26 02:06:20 +02:00
Adrian Roos
7d7090d666 DO NOT MERGE Only send notification activity intents after dismissing Keyguard
Defers delivery of contentIntent and activity actions until
the lockscreen has been dismissed, so that activities don't
launch beneath it.

Bug: 14491010
Change-Id: Ic8c61c18a75d4f0da2d82a0a8a038a5d98ebb71f
(cherry picked from commit 79f640dd0d02c1cc199937b160d8f7abd3c1eaeb)
2014-05-25 21:50:15 +00:00
John Spurlock
33a7306cbd Merge "QuickSettings: Remove default edge effect on scroller." into lmp-preview-dev 2014-05-24 22:56:50 +00:00
John Spurlock
17aba4e2ec QuickSettings: Remove default edge effect on scroller.
Bug:15186962
Change-Id: Ibc6aa8169fedf7b9e145955d652f3af8703cbe54
2014-05-24 18:53:16 -04:00
Jorim Jaggi
5bfee4986a Merge "Fix intercept logic in NotificationPanelView." into lmp-preview-dev 2014-05-24 16:04:18 +00:00
Selim Cinek
a08334e506 Merge "Notifications where clipped incorrectly in the unlocked shade." into lmp-preview-dev 2014-05-24 14:53:36 +00:00
Jorim Jaggi
ce50b8199c Fix intercept logic in NotificationPanelView.
We need to make sure that we only block the disallow intercept
request when interacting with the ScrollView. In the past, we also
blocked the disallow intercept request for the brightness slider, for
example.

Bug: 15169261
Change-Id: I02dd1e399a527509d631fdde54249d57748b20f2
2014-05-24 16:48:49 +02:00
Selim Cinek
f653dba7cb Notifications where clipped incorrectly in the unlocked shade.
Previously the notification clipping did not account for the corners
of their rounded rects.

Bug: 15188616
Change-Id: If8ee1ceda0a5a43b4ab9e754804279834f93baa4
2014-05-24 16:47:06 +02:00
John Spurlock
244252af8b Merge "QuickSettings: Use connectivity manager for airplane mode." into lmp-preview-dev 2014-05-23 18:04:03 +00:00