7001 Commits

Author SHA1 Message Date
John Spurlock
2d695813b4 QS: New rotation-lock tile icon, using AVDs.
Also:
 - Better icon change detection, unify tile.icon vs tile.iconId.
 - Fix regression in touch feedback by fixing a11y string calculation.

Bug: 17426910
Change-Id: I14772f4e9b3be127bc39106ae9146ed46488fa48
2014-11-03 19:08:39 -05:00
Jorim Jaggi
3c7efdc005 Merge "Only hide sensitive content when Keyguard is showing" into lmp-mr1-dev 2014-11-03 22:38:34 +00:00
Jorim Jaggi
ec705c2c58 Only hide sensitive content when Keyguard is showing
isOccluded is set delayed when unlocking the phone from a
notification, so updatePublicMode used a stale state. Now, only
the fact whether the Keyguard is showing (no matter if occluded or
not) is used to determine the public mode, which is set in a
synchronous manner.

Bug: 18026898
Change-Id: I3e4988f3e806cf15616ee5aa452f81f19d4aa716
2014-11-03 22:08:05 +01:00
Jim Miller
12b239e6d3 Merge "Fix SetupWizard black screen issue for EDU devices" into lmp-mr1-dev 2014-11-03 19:51:53 +00:00
Geoff Mendal
ef8c3cc4f6 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-11-03 17:52:11 +00:00
Geoff Mendal
d2c26c9d7f Import translations. DO NOT MERGE
Change-Id: I21e1890c7ff4490469fb0243df69b560db9b29b6
Auto-generated-cl: translation import
2014-11-03 09:06:30 -08:00
Jorim Jaggi
1ecd7cd58e Update QS tile states after unlocking
So the visibility state is up-to-date when we do a two-finger
expansion gesture, so the height is correct. Also fixes flickering
when overscrolling the initial panel expansion.

Also set thread priority of QS handler thread to background priority,
so it doesn't eat away precious cycles during animations.

Bug: 18183633
Change-Id: I0609509484582d82f0dc307eb2535bc3711b30e3
2014-11-03 16:19:27 +01:00
Adrian Roos
862d72e2f4 Merge "Improve dump of status bar service" into lmp-mr1-dev 2014-11-03 14:56:48 +00:00
Jorim Jaggi
0bc4917c19 Always update quick settings header translation in onLayout
Bug: 16887664
Change-Id: Ida110877d63c74d38d80a627621320cda26c97a7
2014-11-03 15:52:13 +01:00
Christoph Studer
f3aa1c8d79 Merge "SysUI: Use mScreenOnFromKeyguard for panel visibility" into lmp-mr1-dev 2014-11-03 14:49:17 +00:00
Jim Miller
b256e4e209 Fix SetupWizard black screen issue for EDU devices
This fixes a problem where EDU devices show a black screen if
the device is rebooted after setting a pin/pattern/password but
before completing SetupWizard.

The issue is that the system doesn't expect to see a state
where the device is not provisioned but has a pin/pattern/password
because it wasn't possible before. With the addition of the ability
for EDU devices to add a pin/pattern/password, we can now get
into this unforseen state.

The fix ignores provisioning if a password is set so that the
user can reach the security screen to unlock the device and
continue with SetupWizard.

Fixes bug 18022051

Change-Id: Ie88a75530d964c02458c25866f0629877214edf4
2014-10-31 18:06:40 -07:00
Chris Wren
b9144cea51 Merge "Clear the initialized flag when resetting the height." into lmp-mr1-dev 2014-10-31 19:10:53 +00:00
John Spurlock
404658eee9 Merge "Update 1-bar status bar / qs icons." into lmp-mr1-dev 2014-10-31 19:01:17 +00:00
Chris Wren
310df3127a Clear the initialized flag when resetting the height.
When the notification was updated within the heads up, touches were being
dropped due to an invalid actual height, after a height reset in the update code.

Bug: 18102199
Change-Id: I6c95d360452665464a868b2bc5ce4f6e104b6652
2014-10-31 18:55:39 +00:00
John Spurlock
fd9aa5ff03 Update 1-bar status bar / qs icons.
To make the difference from 2-bars more pronounced.

Also fix a tragic regression in status bar demo icon scale.

Bug: 18019421

Change-Id: I4f4e3fea3ed07de5705ea7a1420deb4ccaa398b0
2014-10-31 14:51:54 -04:00
Jorim Jaggi
06a0c3a445 Implement nice transition for unlocking while QS is open
Also allow to swipe from the very bottom on Keyguard to close both
QS and notifications, to have the same behavior like in the normal
shade.

Bug: 18167287
Change-Id: I2150ac5834efe1061ca8c8d32815a481c0796c97
2014-10-31 16:45:59 +01:00
Selim Cinek
aed002f85c Merge "Fixed a bug with the notification appear animation" into lmp-mr1-dev 2014-10-31 15:17:21 +00:00
Selim Cinek
69d7dfd450 Merge "Mirrored clear all animation for RTL" into lmp-mr1-dev 2014-10-31 15:13:02 +00:00
Selim Cinek
bb3d1cf11d Fixed a bug with the notification appear animation
This happened since the switch animation was running
even when invisible. This is fixed now and only
runs when the view is actually shown.

Bug: 18168562
Change-Id: I7fa2254411d249c23cd623cdff64524729f0817c
2014-10-31 16:11:53 +01:00
Selim Cinek
1d59af45f6 Mirrored clear all animation for RTL
Also automirrored the icon.

Bug: 18173905
Change-Id: I510efaf18b89a676959d72ad1b9e9a8edd417e60
2014-10-31 16:11:40 +01:00
Selim Cinek
af2442e9e5 Merge "Fixed a bug that the panel was not closable in the locked shade" into lmp-mr1-dev 2014-10-31 15:04:03 +00:00
Selim Cinek
ac457b1bae Merge "Fixed a crash in the Notification expandHelper" into lmp-mr1-dev 2014-10-31 15:03:43 +00:00
Selim Cinek
43d991ef8a Merge "Fixed a bug when tapping in the empty space of the notification panel" into lmp-mr1-dev 2014-10-31 15:03:10 +00:00
Christoph Studer
104078c8ba Merge "SysUI: Never log GONE notifications as visible" into lmp-mr1-dev 2014-10-31 14:55:31 +00:00
Selim Cinek
ab1dc954b2 Fixed a bug that the panel was not closable in the locked shade
This happened when draging on the active lock icon.

Bug: 18185875
Change-Id: I27917fad000bc89f37b82fc8be978d867356904e
2014-10-31 15:19:14 +01:00
Selim Cinek
1b7f51ebc6 Fixed a crash in the Notification expandHelper
Bug: 18004384
Change-Id: I3b8e60041c527689722591962f384ea91f4a954a
2014-10-31 12:37:43 +01:00
Selim Cinek
3a9c10a286 Fixed a bug when tapping in the empty space of the notification panel
This happens often when tapping in the dismissView area.
Also fixed a bug where the decor views and the speedbump where swipable.

Bug: 18031244
Change-Id: I2c9685e068420c21032affb3aa58f7d53183ff52
2014-10-31 12:37:43 +01:00
Selim Cinek
a68da93829 Merge "Fixed a bug with notification clipping" into lmp-mr1-dev 2014-10-30 18:33:14 +00:00
Selim Cinek
c5baa3eb08 Fixed a bug with notification clipping
The clip rect was not correctly set for a view which
was fading out leading to some overdraw.
It also fixes a bug where the alpha was not applied when
made invisible.

Bug: 16077953
Change-Id: I4c26aee88c5c87147df31ec7fb413bc63cd2625c
2014-10-30 19:19:26 +01:00
Jorim Jaggi
cdbdbe3a54 Merge "Make status bar expanding more tightly coupled to finger" into lmp-mr1-dev 2014-10-30 14:51:45 +00:00
Jorim Jaggi
0b1528aac4 Make status bar expanding more tightly coupled to finger
Improves the "direct modification" feeling a bit.

Bug: 17040206
Change-Id: Ide4bfb36aef584da36e0340bc2ed099e2e24c0ee
2014-10-30 15:35:38 +01:00
Jorim Jaggi
2905cafcb8 Merge "Follow up to I495ce480c25de24b6433adebdfe923b637d98f66" into lmp-mr1-dev 2014-10-30 14:25:51 +00:00
Chris Wren
755f4021ae fix build break from mis-named DEBUG flag in SystemUI
Change-Id: I55459fe090ae4c159ebdad8b60658b25db29271e
2014-10-29 16:43:51 -04:00
Chris Wren
79ac09e439 Add logging to diagnose notification click issue.
Bug: 18102199
Change-Id: Id022faa7b75f28f446155f15ab4a8373869c163c
2014-10-29 14:38:01 -04:00
Christoph Studer
e8e2865b9f SysUI: Use mScreenOnFromKeyguard for panel visibility
We currently depend on mScreenOn when determining whether the panel
is visible to the user. However, this variable is updated via a
broadcast and might hence be slightly out-of-date with other keyguard
state.

Bug: 18067294
Change-Id: I51078b4a470db9a5a1f639e84ac65f6066c5669c
2014-10-29 17:57:50 +01:00
Christoph Studer
12cf9e5159 SysUI: Never log GONE notifications as visible
Bug: 18170453
Change-Id: I58a3990b481889fe4a1370e1eaa88058df53079d
2014-10-29 17:35:30 +01:00
Adrian Roos
53f28eccc5 Improve dump of status bar service
Tracks which window caused the disable flags
instead of just blaming PhoneWindowManager.

Bug: 17830264
Change-Id: If6c957120bb2ee8e0083f80e35c71eb21b8672b6
2014-10-29 17:26:12 +01:00
Geoff Mendal
ba9836d972 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-10-29 16:19:47 +00:00
John Spurlock
f9824b91f3 Merge "PowerUI: Suppress warning on incremental drops." into lmp-mr1-dev 2014-10-29 15:40:56 +00:00
Jason Monk
5d80f19c14 Merge "QS: Only hide grid if there is detail to show" into lmp-mr1-dev 2014-10-29 15:38:58 +00:00
Geoff Mendal
3c8b334d02 Import translations. DO NOT MERGE
Change-Id: I63c0b33a09334fbb50cd62d6eccb43edee751e45
Auto-generated-cl: translation import
2014-10-29 08:37:57 -07:00
John Spurlock
42bfc9ab00 PowerUI: Suppress warning on incremental drops.
If the user explicitly dismisses the warning notification,
don't update the notification until the next threshold value.

Bug: 17691122
Change-Id: I840f33f787f1dd6f217de543a291bc9f65b1b046
2014-10-29 11:13:01 -04:00
Jason Monk
98fa70c98f QS: Only hide grid if there is detail to show
If the animation ends at the 'same' time as handleShowDetail is
running it is possible for the grid content to get cleared by the
animation callback just after it is shown in handleShowDetail.
This checks mDetailRecord to avoid that chance.

Bug: 18009138
Change-Id: Ia2951f44b5a1470321bf6580daf33917bbcb1ffd
2014-10-29 11:03:41 -04:00
Jorim Jaggi
cfaec4862e Follow up to I495ce480c25de24b6433adebdfe923b637d98f66
Bug: 18146441
Change-Id: Ifaa7ca6b4a1c6f084112b7420f999b80b173604c
2014-10-29 14:30:16 +01:00
Jorim Jaggi
81aef807d5 Merge "Improve doze transitions" into lmp-mr1-dev 2014-10-29 13:28:09 +00:00
Jorim Jaggi
16423aa0c6 Improve doze transitions
This change animates the status bar and the bottom area when exiting
doze mode from touch. We also prevent all animations when exiting
from other means, i.e. usually when the power button is pressed, so
we don't have a distracting animation there. In addition, this also
optimizes the scrim animations a bit in terms of interpolation and
duration to make the experience smoother and cleans up some logic.

Bug: 18146441
Bug: 17717584
Change-Id: I495ce480c25de24b6433adebdfe923b637d98f66
2014-10-29 14:24:00 +01:00
Jorim Jaggi
6533c544cf Merge "Tune spacing in navigation bar for small and big devices" into lmp-mr1-dev 2014-10-29 13:22:24 +00:00
Jorim Jaggi
ca8c626feb Tune spacing in navigation bar for small and big devices
Bug: 18032228
Change-Id: Ia187fa3c108b93f4ca74e109d3fa76e625b711e3
2014-10-29 14:14:17 +01:00
Jorim Jaggi
b9e290c713 Cancel ripple animations when window is hidden
Bug: 17737340
Change-Id: I0acb4bb20365634875489269bc84ade5161ea3ac
2014-10-29 13:39:21 +01:00
Adrian Roos
579a7f9940 Merge "Close keyguard user switcher on tap outside" into lmp-mr1-dev 2014-10-28 20:27:41 +00:00