5465 Commits

Author SHA1 Message Date
John Spurlock
0557c3f0e0 SystemUI garbage collection.
Remove obsolete pieces from PhoneStatusBar + NotificationPanelView

Change-Id: Ib6b2d6f1a4e7c4aeaab775f928a74abdfe2b4168
2014-06-25 14:57:32 -04:00
John Spurlock
25b3b8e537 Merge "Create a basic doze dream in SystemUI." 2014-06-24 08:05:46 +00:00
John Spurlock
bf37099250 Create a basic doze dream in SystemUI.
The doze dream is not configured by default.

When configured, the doze dream does not show anything by default.
It teases a dark version of the keyguard (showing only the time
and notifications) when a notification arrives or significant motion
is detected.

Bug:15863249
Change-Id: Icfceb054d35d6fd4d9178eda7480e2464873ca4b
2014-06-25 13:33:09 -04:00
Jorim Jaggi
dbbf45e79a Attempt to fix infinite recursion.
When collapsing a panel without animating, it might be that an
overscroll animating was still running, and thus expandedHeight != 0
even if we set expandedFraction manually to 0, which sets the state
to STATE_OPEN again and tries to close it in an infinite loop.

Bug: 15721600
Change-Id: I14e0ee43fb4a47286d618cc97581d4e4a98fb2a2
2014-06-25 22:00:07 +02:00
Christoph Studer
775a159e80 Merge "Remove suppression of ZEN'd notifications" 2014-06-23 21:44:43 +00:00
Christoph Studer
6cb9e0f1f9 Remove suppression of ZEN'd notifications
Bug: 15286335
Change-Id: I3114d7bcd8f05ca3a58f3598b95fdb507f6c646c
2014-06-24 17:18:20 +02:00
Christoph Studer
e71fefcc8b Remove notification APIs from StatusBar service
Bug: 15324972
Bug: 15436573
Change-Id: I838370a23fb07cb876e08c41ef11653f2658719e
2014-06-24 16:47:56 +02:00
Christoph Studer
9e58b3c61c Merge "Remove notification APIs from StatusBar service" 2014-06-24 06:38:28 +00:00
Winson Chung
d543c1bea4 Ensuring that we fire the right intent when going home from Recents.
- Refactoring RecentsAppWidgetHost
- Removing some references to the RecentsActivity from the RecentsPackageMonitor
- Fixing the memory leak related to long references to activities
- Working around blank screen when going home from Recents

Change-Id: I7b0ad219b8da197795864a3b90fd02f3a3c1a4ef
2014-06-24 01:59:55 +00:00
Jorim Jaggi
1129883011 Fade notification contents when expanding/contracting
Bug: 15284460
Change-Id: If0f18e0b8fc9e7410cc6ef2a7976bcec49a6eb6e
2014-06-23 17:36:07 +00:00
Winson Chung
653b0d6a59 Ensuring that we unload all resources after a transition.
- Fixed case where we weren't deleting task data after it was removed via a package event
- Reducing time for dismiss button to appear
- Working around animation issue where we appear to see frames before the animation starts (perhaps it is posted now?)

Change-Id: I1dc0e203485f517e7384b0f7ee08979bfd286013
2014-06-20 19:03:16 -07:00
Jason Monk
858aef2942 Merge "Add lock-to-app mode" 2014-06-20 00:24:32 +00:00
Jason Monk
62515beee6 Add lock-to-app mode
Added a dialog that shows when app has not been authorized by
DevicePolicyManager.isLockTaskAuthorized.  This allows any app
to trigger lock-to-app mode.  This same dialog is used when
startLockTaskOnCurrent is triggered by the recents long-press.

Can exit the mode by long-pressing recents again.

Keyguard is disabled when lock-to-app is active.

This CL also prevents apps from finishing when they are the root
task in a lock task TaskRecord.

Change-Id: Ib54d858e570cccf6bfd986958868e15f49bcef75
2014-06-20 16:17:38 -04:00
Andreas Gampe
b325ce8203 Add a null check to UserAvatarView.setBitmap
Adds a null check for the bitmap to set. Resets the paint's shader
in case of a null bitmap to release any previous image.

Change-Id: I1adf3c8ef44522a593fe3f25726b6c83120d7556
2014-06-19 23:51:12 -07:00
Selim Cinek
f99d000764 Improve unlock motion further.
Bug: 15244051
Change-Id: I6f567ff327695ec6ece56748cd300b8103715811
2014-06-20 01:19:40 +00:00
Jorim Jaggi
a800167e57 Merge "Hide status bar in bouncer" 2014-06-20 00:06:01 +00:00
Jorim Jaggi
44cf91960d Hide status bar in bouncer
Also, it gets faded in synchronously with the other unlock
animations.

Bug: 15407838
Change-Id: Ie161dfe970a2b4035a2d4cc7bb847285160cf691
2014-06-20 00:47:56 +00:00
Selim Cinek
89faff1dac Closing the QS when tapping on the notifications now.
Bug: 15394230
Change-Id: Ib9f750db69529afc0d56685fb88a13d183b0d3d5
2014-06-20 00:27:37 +00:00
Selim Cinek
00a78899af Merge "Scrimming the notifications when QS is open." 2014-06-20 00:11:43 +00:00
Selim Cinek
f54090e9bb Scrimming the notifications when QS is open.
Bug: 15394230
Change-Id: I4234bde0259ef296db73a43f69a765dbde5ddacd
2014-06-19 17:20:44 -07:00
Adrian Roos
cdf74c2881 Merge "Implement keyguard user switcher" 2014-06-19 20:37:59 +00:00
Adrian Roos
8ddb2da875 Implement keyguard user switcher
Bug: 15545213
Change-Id: I2d18cc3c83d76991fe11fc4bff7e8eecc25df4b5
2014-06-19 15:47:46 -07:00
Winson Chung
1f76132d4d Toggling Recents from home should actually toggle Recents instead of launching the first task.
Change-Id: Id60c54839c9f13299ec8d514e73e37c10735f30c
2014-06-18 18:21:42 -07:00
Winson Chung
7ab650cb43 Adding start delay to the task view transforms.
- Adding slight delay to task bar buttons to allow touch feedback to show

Change-Id: I9f31ca378541fc34c7b741840c7f038340684b13
2014-06-18 14:30:32 -07:00
Baligh Uddin
e1f7f2a78a Merge "Import translations. DO NOT MERGE" 2014-06-18 18:28:24 +00:00
Baligh Uddin
16d24bf417 Import translations. DO NOT MERGE
Change-Id: Ib613546e110970b008f942f4291f6ccb8283847c
Auto-generated-cl: translation import
2014-06-18 10:25:37 -07:00
John Spurlock
a0388bb6ff Battery saver notifications should be public.
Bug:15713445
Change-Id: I2ed0e47bcc3120baf85c8529b7ef15756e215ea7
2014-06-18 09:40:00 -04:00
Winson Chung
1275842377 Merge "Re-enabling task based filtering in Recents using package name." 2014-06-17 20:49:29 +00:00
Winson Chung
e0e45bc26d Re-enabling task based filtering in Recents using package name.
- Also front-loading creating the new thumbnail when animating up from Recents
2014-06-18 00:59:29 +00:00
Winson Chung
06795630f6 Adding status bar scrim, reducing extra work updating configuration values.
- Making the app icon larger for tapping
2014-06-17 16:37:56 -07:00
Winson Chung
90dcb62575 Merge "Adding status bar scrim, reducing extra work updating configuration values." 2014-06-17 20:55:27 +00:00
Winson Chung
95483fd2d3 Merge "Ensuring that null thumbnails have an opaque background." 2014-06-17 22:59:52 +00:00
Jorim Jaggi
16b414f46f Merge "Fix bug when Keyguard gets hidden." 2014-06-17 22:59:52 +00:00
Jorim Jaggi
53c68a44ac Fix bug when Keyguard gets hidden.
We make sure in Keyguard that we only hide ourselves in
startKeyguardExitAnimation ourselves when we requested a hide.

In addition, this change also fixes a bug in WindowAnimator that
it should only call startKeyguardExitAnimation when Keyguard actually
requested a hide.

Bug: 15676717
Change-Id: I2279cccb9916985b7e9a2f41137878be5782cb9c
2014-06-17 15:28:05 -07:00
Christoph Studer
5ced68ba2f am cf24e6de: SysUI: Hide grouped notifications
* commit 'cf24e6de68cff14970e57069febd5d6c41c264f4':
  SysUI: Hide grouped notifications
2014-06-17 23:20:54 +00:00
Christoph Studer
c08cd7cc65 SysUI: Hide grouped notifications
Drop grouped notification received from NoMan.

Bug: 15188947
Change-Id: I8bdb99abd216d771d435d18b2018c843e7750d18
2014-06-17 23:14:12 +00:00
Selim Cinek
aebc0cd596 Merge "Fixed a bug with overscrolling on the bottom." 2014-06-17 20:42:58 +00:00
Selim Cinek
fed1ab6222 Fixed a bug with overscrolling on the bottom.
When overscrolling on the buttom, we now take the normal rubberband
factor again.

Change-Id: I615c84ee925b69d1ee995a56ffb2e4291c18c43d
2014-06-17 14:10:33 -07:00
Winson Chung
c9567c07dd Ensuring that null thumbnails have an opaque background.
- Preventing multiple object allocations when updating the stack/clip state.
- Removing double animation of nav bar when launching task

Change-Id: Id12009717135db67bc0ce0e05940dd1c8d6fb5b3
2014-06-17 10:39:33 -07:00
Baligh Uddin
22669d0024 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-17 05:00:50 +00:00
Jorim Jaggi
129e7ac809 Fix paddings for user switch and status bar icons.
Bug: 15540707
Change-Id: If7288d032b9625e0fbb5b657afcf680d178e63ee
(cherry picked from commit 5d545e7c89231ac80ab2b666bd83f63bcf54f78f)
2014-06-17 10:36:31 -07:00
John Spurlock
64d1fbfa06 Merge "QS: Update embedded vol panel when re-attached to window." 2014-06-17 03:54:31 +00:00
John Spurlock
5de966790f QS: Update embedded vol panel when re-attached to window.
We intentionally drop interim updates when the panel is not
visible, but we should catch up when it becomes visible again.

Not a problem for the dialog panel, since it is torn down / recreated
each time.

Bug:15573750
Change-Id: I717b5d459acb25f9610222e9913d7b8eb71cdd00
2014-06-17 11:25:21 -04:00
Baligh Uddin
d31899bb76 Merge "Import translations. DO NOT MERGE" 2014-06-17 04:56:28 +00:00
Winson Chung
969f586533 Tweaking enter/scrim animations/styles. Fixing issue with clipping not saving layers.
Change-Id: I476c68d7df4a8fc59ca3d9be3f99526089183ec2
2014-06-16 19:11:29 -07:00
Selim Cinek
4e456bee15 Fixed that the top card casts a shadow on the second
Bug: 15531609
Bug: 15381356
Change-Id: I0a85e43ac9c4330349fa46b3f00f7c0cf231520f
2014-06-17 00:46:16 +00:00
Selim Cinek
b688bf7ceb Fixed a bug where the device could not be unlocked.
When the Notifications could be scrolled, the shade could not
be closed.

Bug: 15643474
Change-Id: I59b9f55c0290da7683ce7fd40effc4b5413e4267
2014-06-16 16:36:51 -07:00
Baligh Uddin
d5d8b88873 Import translations. DO NOT MERGE
Change-Id: I77aefc3b2ea919ca7e667fc55b43badb2c43ddbf
Auto-generated-cl: translation import
2014-06-16 10:12:38 -07:00
Baligh Uddin
35c18d9fc9 Import translations. DO NOT MERGE
Change-Id: Ic6b3eb6f14875072b5fbce1db22aacbf3027044e
Auto-generated-cl: translation import
2014-06-16 10:10:26 -07:00
Selim Cinek
ea8a3d2510 Merge "Fixed a bug in the scrolling logic" 2014-06-16 22:12:26 +00:00