10209 Commits

Author SHA1 Message Date
Winson Chung
60a729c8e9 Adding scrim to task views. (Bug 15704955)
- Fixing issue with focus animations not happening for new views

Change-Id: I3134f25becf06db343aa30ea80cb33514cd99d06
2014-08-13 15:55:15 -07:00
Adrian Roos
9f2bcdb6e2 Merge "QS UserSwitcher: Update exit guest string" into lmp-dev 2014-08-12 23:14:48 +00:00
Adrian Roos
8d2a4e2bf6 QS UserSwitcher: Update exit guest string
Bug: 16511180
Change-Id: I2289b25350a46f0bfe1e5495a3c52ddf2aeabb3c
2014-08-13 19:33:51 +00:00
Adrian Roos
b88c884b97 Status bar header: Fix Settings shortcut content description
Bug: 15567494
Change-Id: Iff983d3590b6c84ded6cc32c6a611355678e24a1
2014-08-13 19:30:28 +00:00
Jorim Jaggi
72eb2ae21b Merge "Lockscreen launch animations" into lmp-dev 2014-08-12 23:14:48 +00:00
Selim Cinek
059a49f834 Merge "Reset the notification expanded states on screen off" into lmp-dev 2014-08-12 23:14:48 +00:00
Jean-Michel Trivi
ceb4d41846 Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev 2014-08-12 23:14:35 +00:00
Winson Chung
a0e88b5013 Implementing Recents focus states. (Bug 16950262)
- Fixed issue with focus going to send front most task when coming from Home
- Adding shortcut to dismiss a task
- Refactoring code to get secondary overlay and affiliation color
- Throttling alt-tab key presses
- Fixing issue with slivers of the task thumbnail being visible for affiliated tasks

Change-Id: Iaafe408318646a423fd58b51bbe93dbe0f2eed99
2014-08-12 23:18:34 +00:00
Jean-Michel Trivi
81f871e2b9 Add support for AudioAttributes in android.media.Ringtone
Deprecate use of stream types.
Map deprecated API to AudioAttributes.
Add new methods to specify AudioAttributes on a Ringtone instance.

Bug 16790748

Change-Id: Ifb3c2e838e1f119614459ad7d71d83a4d7c9ffdb
2014-08-12 15:53:15 -07:00
Jorim Jaggi
8de4311c51 Lockscreen launch animations
- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
  used for two different things: Dismiss keyguard from somewhere else
  (not really necessary anymore), wait to actually dismiss keyguard
  after the window behind is drawn. Instead, introduce
  keyguardWaitingForActivityDrawn(), and change the semantics where
  necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
  Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
  notification don't play the disappear animation immediately after
  having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
2014-08-12 22:47:52 +00:00
Jeff Sharkey
1530986414 am 473fc62e: am 840e9325: am 2013cb1f: Merge "Prevent system_server shutdown when trying to format external storage"
* commit '473fc62e98c2db44a10e2a8b96d27e6d0fa8d640':
  Prevent system_server shutdown when trying to format external storage
2014-08-12 22:27:14 +00:00
Jeff Sharkey
51886f3125 am 840e9325: am 2013cb1f: Merge "Prevent system_server shutdown when trying to format external storage"
* commit '840e932584b4d03f39ba17da57b92b1d1878b21d':
  Prevent system_server shutdown when trying to format external storage
2014-08-12 22:21:09 +00:00
Adrian Roos
a999d05968 am ac2f97ab: am 5e363bcb: am 92b5e337: Implement final lock now affordance
* commit 'ac2f97abe322c0be38900ff9a6acf6294602ec51':
  Implement final lock now affordance
2014-08-12 22:19:05 +00:00
Adrian Roos
31879fd440 am 92b5e337: Implement final lock now affordance
* commit '92b5e3373aa2a78d6db2770db3d37a5ddf9ba129':
  Implement final lock now affordance
2014-08-12 22:08:13 +00:00
Adrian Roos
4ebcdfdd42 Implement final lock now affordance
Also removes the GlobalAction. Also fixes the animation not
being applied to the background of the affordance.

Bug: 15344542
Bug: 16952834

Change-Id: Ie790b40a5d1ba10fa42a793c8cfeaf6687d17c61
2014-08-12 22:03:19 +00:00
Adrian Roos
efce334015 am 85b7f89b: am 795238fb: am 9d41117a: Update brightness slider thumb and spacing
* commit '85b7f89bab7547db55d8b63c9c17fb63e31e3192':
  Update brightness slider thumb and spacing
2014-08-12 21:18:25 +00:00
Adrian Roos
37b9d61368 am 9d41117a: Update brightness slider thumb and spacing
* commit '9d41117ad2679869fcdd94b0767a88b47d711c84':
  Update brightness slider thumb and spacing
2014-08-12 21:09:02 +00:00
Jorim Jaggi
7d9b18d8df am dd6809dd: am 4620b0b7: am f9205cbe: Preparations for lockscreen launch animations
* commit 'dd6809dd09886eabe45c7660958f5369af5a9367':
  Preparations for lockscreen launch animations
2014-08-12 21:08:11 +00:00
Adrian Roos
cd542b8a98 Update brightness slider thumb and spacing
Also fixes a few errors in the measuring logic.

Bug: 15170399
Change-Id: I7ce7edef0a08dc00ef747988cd64e40a9fbae192
2014-08-12 21:04:26 +00:00
Jorim Jaggi
7aed532636 am f9205cbe: Preparations for lockscreen launch animations
* commit 'f9205cbebc20a81a033e074f398099d7ec136728':
  Preparations for lockscreen launch animations
2014-08-12 20:58:06 +00:00
Jorim Jaggi
76a1623afc Preparations for lockscreen launch animations
- Update unlock animations to new spec to make the consistent with
  lockscreen launch animations.
- Introduce disappearing motion for security views which runs before
  we actually dismiss Keyguard.
- If a window is running the un-force-hide animation, treat as it
  would have the wallpaper flag set so the wallpaper stays until
  the animation is completely done.
- Run an animation on the wallpaper if the wallpaper is going away.

Bug: 15991916
Bug: 16234603
Bug: 15326120
Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
2014-08-12 20:52:26 +00:00
Jeff Sharkey
2013cb1f91 Merge "Prevent system_server shutdown when trying to format external storage" 2014-08-12 20:07:20 +00:00
Selim Cinek
1cf41c14aa Reuse existing TouchHelpers on rotation
Recreating them caused some bugs when touching during
the rotation. Currently there is no need to recreate them.

Bug: 15598792
Change-Id: I7255bd0102427e6847b63ce7f6346248aaa4054f
2014-08-12 20:06:19 +02:00
Adrian Roos
5615c8a9dc am 6f6ac3de: Merge "Hide panel while changing brightness" into lmp-dev
* commit '6f6ac3de3946a580122ea2e53a79d78813149446':
  Hide panel while changing brightness
2014-08-12 17:40:40 +00:00
Adrian Roos
27a0be9fde am 594bf0c8: Respect DPM flags for lockscreen notifications
* commit '594bf0c8ee1ad0464a04580186f4b1d28a5c5a3b':
  Respect DPM flags for lockscreen notifications
2014-08-12 17:40:35 +00:00
Adrian Roos
bd3409c137 Respect DPM flags for lockscreen notifications
Disables unredacted or all notifications based on device policy.

Bug: 15934116
Change-Id: Ia012e44da8fbf73c24e26950abb1df76af7001a9
2014-08-12 17:27:58 +00:00
Selim Cinek
ccd14fbcfe Reset the notification expanded states on screen off
To avoid having expanded notifications sticking around

Bug: 16005498
Change-Id: Ib5b184fa7eb67ada85305e7ca4afad68a1514327
2014-08-12 16:56:40 +00:00
Adrian Roos
3049f731bb am ce120a97: am 09ea6734: am 6f6ac3de: Merge "Hide panel while changing brightness" into lmp-dev
* commit 'ce120a970936ff575578650bb4b47d075e5935e2':
  Hide panel while changing brightness
2014-08-12 17:52:16 +00:00
Adrian Roos
c7c1e94c48 am fd7db430: am ddfe0bcd: am 594bf0c8: Respect DPM flags for lockscreen notifications
* commit 'fd7db430fe637d01100d9b4837370dadbb35bf04':
  Respect DPM flags for lockscreen notifications
2014-08-12 17:52:12 +00:00
Selim Cinek
3c14b49cf2 am 18cfb2a8: Merge "Fixed a bug where a notification had no background" into lmp-dev
* commit '18cfb2a861fd321d27ede37f8f2a53c967ab485d':
  Fixed a bug where a notification had no background
2014-08-12 16:04:12 +00:00
Selim Cinek
5748fcffce am df178596: Merge "Fixed a ordering bug with the notification shade" into lmp-dev
* commit 'df17859676ea70cbd0ab03c3dcdce28737661377':
  Fixed a ordering bug with the notification shade
2014-08-12 12:46:20 +00:00
Selim Cinek
93f6b7ef54 am c294cdf1: Fixed a jump in the stack scroller algorithm
* commit 'c294cdf1972f39375fa934a8ee2552a20c3b9258':
  Fixed a jump in the stack scroller algorithm
2014-08-12 12:11:15 +00:00
Selim Cinek
4581cf8206 Fixed a jump in the stack scroller algorithm
The bottom stack jumped slightly when scrolling in landscape.

Bug: 16954513
Change-Id: I11ed9074cf5286b01f4f57ce37b4476c2ee9cd7e
2014-08-12 10:50:55 +00:00
Selim Cinek
b6aabdc868 am 36eb886a: Fixed a bug in the notification stack algorithm
* commit '36eb886a78bca130a512163bc314c57f6cdeb574':
  Fixed a bug in the notification stack algorithm
2014-08-11 21:10:21 +00:00
Selim Cinek
3afd00e9f2 Fixed a bug in the notification stack algorithm
Bad holes could occur when a notification was at the same time in
the top and the bottom stack. This also improves the landscape /
smallscreen interaction with the shade.

Bug: 16715133
Change-Id: Icbb4d080e658f4ddbd39b7d08652ca5311a47978
2014-08-11 20:59:44 +00:00
Adrian Roos
b0bdd9c234 am ac4b3444: Merge "QS: Update user switcher details" into lmp-dev
* commit 'ac4b34448b70dfa4cc75fab7ade7b142de8fa608':
  QS: Update user switcher details
2014-08-11 19:33:46 +00:00
Winson Chung
db01bd5ab7 am c94a7e5e: Merge "Updating accessibility message for Recents activity. (Bug 15570522)" into lmp-dev
* commit 'c94a7e5e1d95e42952f2565d9c5e4c7f3809a06e':
  Updating accessibility message for Recents activity. (Bug 15570522)
2014-08-11 19:28:34 +00:00
Winson Chung
9f11558124 am 1e9648fb: Merge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev
* commit '1e9648fb4b4968713f8b07574244016cdd6abcaa':
  Tweaking empty recents text. (Bug 16711522)
2014-08-11 19:28:30 +00:00
Winson Chung
dfc8c8b225 am 2248444d: Initial changes to support swiping on the nav bar to switch affiliated tasks.
* commit '2248444d3fadc72c3768d84adb721e13a7dfe953':
  Initial changes to support swiping on the nav bar to switch affiliated tasks.
2014-08-11 19:28:26 +00:00
Winson Chung
b1f749906f Initial changes to support swiping on the nav bar to switch affiliated tasks.
- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a
2014-08-11 19:22:46 +00:00
Jason Monk
e6fee98782 am ce58bb7d: Merge "Make simple user switcher notice setting changes." into lmp-dev
* commit 'ce58bb7dc7eb4f5f253a46941fbc22d869138b99':
  Make simple user switcher notice setting changes.
2014-08-11 19:20:47 +00:00
Selim Cinek
bee465f9e1 Merge "Fixed a ordering bug with the notification shade" into lmp-dev 2014-08-11 18:41:55 +00:00
Selim Cinek
becf5e30ed Fixed a ordering bug with the notification shade
The dismiss view was not always guaranteed to be on the bottom,
which could lead to a weird hole.

Bug: 16900568
Change-Id: Ib46ec0011dcdd47a8f678b5e3f9756f6a128f286
2014-08-12 14:29:18 +02:00
Adrian Roos
c55dd2bc04 Merge "QS: Update user switcher details" into lmp-dev 2014-08-11 18:41:55 +00:00
Adrian Roos
bc0a9fecf6 QS: Update user switcher details
- Update icon colors to white
- Change label for adding a guest

Bug: 16897120
Bug: 16898990

Change-Id: I0541d35df8c03bfeb3ee931d8074a7fe1064b2db
2014-08-11 20:45:04 +02:00
Adrian Roos
1fbc124780 Merge "Hide panel while changing brightness" into lmp-dev 2014-08-11 18:40:10 +00:00
Adrian Roos
5fd872e8ea Hide panel while changing brightness
Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
2014-08-12 17:27:41 +00:00
Jason Monk
6becbe732a Make simple user switcher notice setting changes.
To do this just check the state from the controller (which listens
for changes), rather than holding state locally.

Bug: 16888009
Change-Id: Ifdbf0055c7aa100941c6504cf3f469031c9c6e43
2014-08-11 14:52:34 -04:00
Winson Chung
448bb42c78 Merge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev 2014-08-11 18:26:04 +00:00
Winson Chung
27b97fa098 Tweaking empty recents text. (Bug 16711522)
Change-Id: I338e2add6e4a46551ce7d52e873f332979b194e1
2014-08-11 19:17:34 +00:00