8569 Commits

Author SHA1 Message Date
ztenghui
2050d39e08 Merge "API Review: move the CreateRevealAnimator to ViewAnimationUtils" into lmp-preview-dev 2014-06-05 22:32:41 +00:00
ztenghui
62f30e0bb1 API Review: move the CreateRevealAnimator to ViewAnimationUtils
b/15451650

Change-Id: If270bbf757047ce7847cab457d3836d756830124
2014-06-05 13:45:15 -07:00
Winson Chung
1494f8671e Merge "Fixing issue with broadcast being sent before boot completed." into lmp-preview-dev 2014-06-05 20:04:40 +00:00
Winson Chung
5abdceb64b Fixing issue with broadcast being sent before boot completed.
Bug: 15444478
Bug: 15109101
Change-Id: I0fd5d32761c84ff237bce8328f23907bbf12ee6a
2014-06-05 20:01:25 +00:00
Dan Sandler
71f507bbe9 Merge "Don't show private notifications if a secure lockscreen is merely occluded." into lmp-preview-dev 2014-06-05 18:35:49 +00:00
Jorim Jaggi
47c85a3525 Fix PanelView over expanding behavior.
Fixes a bug that the panel height was wrongly calculated and lagging
one frame behind. Also fixes the animation when overscrolling and
then flinging the panel to collapse. In addition, the logic to handle
the over expanding is much cleaner and calculated in an absolut
manner (before, it was relative an really complicated to understand).

Bug: 14487435
Change-Id: If8dbb3e063ef63f51f6dac0ae5bf276480514103
2014-06-05 19:54:42 +02:00
Dan Sandler
4b22bdfa84 Don't show private notifications if a secure lockscreen is merely occluded.
Bug: 15430088
Change-Id: I27187216462b5bb7d52c3f85b9444348138fd9ea
2014-06-05 03:04:34 -04:00
Selim Cinek
aa402d513a Simplified maxPanelHeight logic.
Bug: 14487435
Change-Id: If171758a3143b24d7a1443c4761890670d03e49a
2014-06-04 22:41:04 +02:00
Selim Cinek
159ffdbf00 Fixed an animation bug
Reposition animations were generated even if the shade is closed
or animations are disabled.

Bug: 15181880
Change-Id: I278278862f4b4837fe164ce2b769d9d50fa50ced
2014-06-04 22:35:43 +02:00
Jorim Jaggi
d63d298047 Merge "Fix not being able to dismiss notifications with tap." into lmp-preview-dev 2014-06-04 17:10:31 +00:00
Jorim Jaggi
787a0af8eb Fix not being able to dismiss notifications with tap.
Also fixes that the go-to-shade gesture sometimes triggers the unlock
hint animation.

Bug: 14487435
Bug: 15421928
Change-Id: Ie7e01c81a397b9b1a03baed82c1270ba4e7eb799
2014-06-04 18:57:14 +02:00
Selim Cinek
ab860fb419 Merge "Fixed panel top padding animation regression" into lmp-preview-dev 2014-06-04 16:49:04 +00:00
Selim Cinek
758afb1497 Fixed panel top padding animation regression
Bug: 14487435
Change-Id: I50a56d2a3bdbcbce078e96bdb9b9d9f4249b937e
2014-06-04 18:46:12 +02:00
Selim Cinek
d2ff16c657 Merge "Fixed flickering in panel overscroll" into lmp-preview-dev 2014-06-04 16:40:48 +00:00
Selim Cinek
151037c5b8 Fixed flickering in panel overscroll
Bug: 14487435
Change-Id: Id4fe18231397a1bbce42c5baba0b2c4cad955c56
2014-06-04 18:38:21 +02:00
Jorim Jaggi
bc07ebb9b8 Merge "Fix Keyguard crash when in landscape." into lmp-preview-dev 2014-06-04 16:07:02 +00:00
Jorim Jaggi
6a247199ba Fix Keyguard crash when in landscape.
Bug: 15391673
Change-Id: Icb50af358a8478672265a420dd7d500a87fb3fa0
2014-06-04 17:59:37 +02:00
Jorim Jaggi
53f391c4eb Merge "Fix padding in more card." into lmp-preview-dev 2014-06-04 15:45:43 +00:00
Jorim Jaggi
ac80c44a42 Fix padding in more card.
Bug: 15392952
Change-Id: Ibcb8b3b5be161e31855f058a22566a6f7a7f326b
2014-06-04 17:42:12 +02:00
Selim Cinek
dd13c51ff3 Merge "In the speedbump view, use hasOverlappingRenderings instead of layers" into lmp-preview-dev 2014-06-04 15:34:46 +00:00
Selim Cinek
9c80964d3f In the speedbump view, use hasOverlappingRenderings instead of layers
Bug: 15181880
Change-Id: I49b0dbe1cd0ff9f7804dc68502b73fcfd87c7389
2014-06-04 17:30:07 +02:00
Selim Cinek
5b8ca9f611 Merge "Disabled touch interaction when in Quick settings." into lmp-preview-dev 2014-06-04 15:23:59 +00:00
Selim Cinek
5158d82340 Disabled touch interaction when in Quick settings.
Bug: 15308429
Change-Id: I7379b7e3d7145033ff733cef9a336e41793ab103
2014-06-04 17:22:53 +02:00
Adrian Roos
3b60d3fe9d Merge "Display time to charge on lock screen" into lmp-preview-dev 2014-06-04 15:18:19 +00:00
Adrian Roos
12c1ef57d0 Display time to charge on lock screen
Bug: 14410848
Change-Id: I7ffad4dcc83ceeaeb29342439de11c91b4d63ce8
2014-06-04 17:15:40 +02:00
Selim Cinek
eba93365d1 Merge "Fixed that app-info longpress was lost on configuration changes." into lmp-preview-dev 2014-06-04 15:05:05 +00:00
Selim Cinek
dffb3e7ed0 Merge "Changed the overscroll and expanding behaviour." into lmp-preview-dev 2014-06-04 15:02:55 +00:00
Jorim Jaggi
e37bd648e6 Merge "Fix more card appearance to spec from design." into lmp-preview-dev 2014-06-04 14:59:45 +00:00
Jorim Jaggi
b741f05339 Fix more card appearance to spec from design.
Bug: 15392952
Change-Id: I4539b48af33dc6838ef0c59dac7ca08fc1a2bd03
2014-06-04 16:58:33 +02:00
Selim Cinek
56109b0c9b Fixed that app-info longpress was lost on configuration changes.
Bug:14189139
Change-Id: I14d73085ac8fe79ffa97a72c675b4b7df6324719
2014-06-04 16:47:54 +02:00
Selim Cinek
1408eb5a58 Changed the overscroll and expanding behaviour.
Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
2014-06-04 16:43:07 +02:00
Jorim Jaggi
8988dbb6df Merge "Go back to keyguard when in SHADE_LOCKED with single tap." into lmp-preview-dev 2014-06-04 13:23:24 +00:00
Adrian Roos
1e9021aef8 Merge "Ensure trust agents are only provided by platform packages" into lmp-preview-dev 2014-06-04 13:18:40 +00:00
John Spurlock
d55c56b86e Merge "QuickSettings: Filter signal assets with color filter." into lmp-preview-dev 2014-06-04 05:44:16 +00:00
John Spurlock
faa3262c1d QuickSettings: Filter signal assets with color filter.
Apply static color filter to signal assets to match other
tiles.

Bug:15186962
Bug:15414911
Change-Id: I0732460a5c337ced35be43418f3deda9395fa215
2014-06-04 01:38:34 -04:00
John Spurlock
d47f3856bd QuickSettings: Remove outlined version of location icon.
Bug:15186962
Change-Id: I6a7d04abcc4b5593d436b0ec46ecf77f207c6b54
2014-06-04 01:00:37 -04:00
Baligh Uddin
4854456738 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-04 04:50:43 +00:00
John Spurlock
012d4a229c QuickSettings: Tile label string updates.
Bug:15186962
Change-Id: I4a1167e094de81ffbcb498815bb1c7c03fc2be7b
2014-06-04 00:42:29 -04:00
Baligh Uddin
ba7c75284a Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-04 04:40:30 +00:00
John Spurlock
775f7d85d9 Merge "QuickSettings: System accent color for seekbars." into lmp-preview-dev 2014-06-04 04:20:48 +00:00
John Spurlock
ed33da1734 QuickSettings: System accent color for seekbars.
Decouple system ui's seekbar's color from the platform
default.

Bug:15186962
Change-Id: I8e4f5605bf5f8be32b290e588d2d854e908f2387
2014-06-04 00:18:27 -04:00
Winson Chung
aef51c63d7 Merge "Fixing back regression in Recents." into lmp-preview-dev 2014-06-04 01:09:58 +00:00
Winson Chung
56f4692a89 Fixing back regression in Recents.
Change-Id: I57f4fce3f2b455085b066dd7daa91cc68844b259
2014-06-03 16:49:00 -07:00
John Spurlock
856edebad7 Zen: Stateful condition panel.
When DND is on, expanded panel shows the current time
condition, or time remaining.  The last time bucket
selected is remembered as the default option for the
next time.

Move the server-side countdown helper into a proper
condition provider, but register it in-process as a
system provider.

Move common countdown condition parsing into ZenModeConfig
to reuse from system components.

Keep the manual exit condition around in zen mode config
and add plumbing for getting / listening to the
controller.

Keep the last QS detail panel around instead of
recreating it every time.

Fix the time condition's plus and minus button
enabling logic, and enhance the click handler to
deal properly with the next or previous bucket.

Bug:15344758
Change-Id: Ie7018a1c20e20f6d7e5f9e7874188374e6f8e2ab
2014-06-03 19:05:55 -04:00
Jorim Jaggi
6539a83f77 Go back to keyguard when in SHADE_LOCKED with single tap.
Bug: 15188946
Change-Id: Iee9f1572bd25a5fc9f1ad7e182746a6f09a49f6d
2014-06-03 23:33:09 +02:00
Jorim Jaggi
e42c72e1b2 Merge "Move owner info to main lockscreen." into lmp-preview-dev 2014-06-03 20:46:39 +00:00
Jorim Jaggi
959ab56ba2 Merge "Fix invalid Keyguard state with encrypted devices." into lmp-preview-dev 2014-06-03 20:42:19 +00:00
Jorim Jaggi
b9d6079120 Fix invalid Keyguard state with encrypted devices.
Bug: 15389720
Change-Id: I0a18e78043e5c08f40cf3288abc07f75ea6261a0
2014-06-03 22:35:57 +02:00
Chris Wren
aaa58d1c4a Handle Zen Mode computations correctly for updated notifications.
Updates to intercepted notifications come in through addNotificatiom
instead of updateNotification, because the intercepted notifications
are not in mNotificationData.

If an update causes a notification to surface, we need to notice and
remove it from the synthetic notification.  However, addNotification
is called from within InterceptedNotifications inside loops over
mIntercepted, and we cannot remove items from mIntercepted while
looping, so we split addNotification into two parts, one part is only
used by InterceptedNotifications to unconditionally surface previously
intercepted notifications.

Bug: 15389069
Change-Id: I7b0952a337f15d4009e3e61360344012345eac95
2014-06-03 15:56:28 -04:00
Jorim Jaggi
a52c68772d Merge "Animate unlock icon while unlocking." into lmp-preview-dev 2014-06-03 19:25:56 +00:00