5919 Commits

Author SHA1 Message Date
Adrian Roos
8d2a4e2bf6 QS UserSwitcher: Update exit guest string
Bug: 16511180
Change-Id: I2289b25350a46f0bfe1e5495a3c52ddf2aeabb3c
2014-08-13 19:33:51 +00:00
Adrian Roos
959409b86f QS Brightness Mirror: Also mirror setMax
Follow-up to Ic1f934f9ddbb582453b4b52a4b4402c71ac79654

Bug: 15408618
Change-Id: I3ea82f011f366fe34be2ff07546a7f46c1c3dc55
2014-08-13 17:23:19 +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
Jorim Jaggi
72eb2ae21b Merge "Lockscreen launch animations" into lmp-dev 2014-08-12 23:14:48 +00:00
Selim Cinek
f7fc6f7582 Merge "Reuse existing TouchHelpers on rotation" into lmp-dev 2014-08-12 23:14:49 +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
Dan Sandler
539aad4570 Large text support for notifications.
Bug: 7216066
Bug: 15437369
Change-Id: I01a07f04c18d374fc1656f0b1f439a7c33c9d80c
2014-08-13 04:02:23 +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
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
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
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
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
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
1fbc124780 Merge "Hide panel while changing brightness" into lmp-dev 2014-08-11 18:40:10 +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
Adrian Roos
5fd872e8ea Hide panel while changing brightness
Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
2014-08-12 17:27:41 +00:00
Baligh Uddin
f8aaf710d9 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-12 04:17:55 +00:00
Baligh Uddin
170f785bbf Import translations. DO NOT MERGE
Change-Id: I70fade0a8a1cba8734874b955634c7296c9aaff7
Auto-generated-cl: translation import
2014-08-11 14:47:50 -07:00
Selim Cinek
f4a1635060 Merge "Fixed a bug where a notification had no background" into lmp-dev 2014-08-11 18:05:12 +00:00
Selim Cinek
23e6acbde2 Fixed a bug where a notification had no background
When tapping on a notification and then dragging down,
the notification had no background anymore

Bug: 16191184
Change-Id: I233a45744fc39ac3fcd9f533c8427354ab384709
2014-08-12 16:01:41 +02: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
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
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
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
Winson Chung
9e229d80e5 Merge "Updating accessibility message for Recents activity. (Bug 15570522)" into lmp-dev 2014-08-11 18:20:32 +00:00
Winson Chung
f25268b402 Updating accessibility message for Recents activity. (Bug 15570522)
Change-Id: Iaaedb9a66b2160015b304863a00fbefdfb0e10ea
2014-08-11 11:58:32 -07:00
Winson Chung
448bb42c78 Merge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev 2014-08-11 18:26:04 +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
Winson Chung
27b97fa098 Tweaking empty recents text. (Bug 16711522)
Change-Id: I338e2add6e4a46551ce7d52e873f332979b194e1
2014-08-11 19:17:34 +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
Selim Cinek
9063461752 Changed the color of low-priority notifications
Bug: 16010701
Change-Id: I7afc351a5a669bbb71b2620afe310b250da66b77
2014-08-11 17:53:18 +02:00
Selim Cinek
a5e211b1f2 Fixed an animation bug with inline view updates
The height is now updated in an animated fashion.

Bug: 16947659
Change-Id: I4e89e6ca78f8d3c0f1e6f7eb61134a394c6d7d73
2014-08-11 17:53:18 +02:00
John Spurlock
bceed060f0 QS: Fix some QS layout issues.
- Make the tile list configurable for testing.
- Support an external tile backed by a sticky broadcast intent.
- Ensure tiles clean up properly when no longer needed.

Bug:16818269
Bug:16822505
Change-Id: Ie24f878aae0d19c7f1feca4c519d10667023bef3
2014-08-11 10:19:21 -04:00
John Spurlock
16e767ab09 Merge "Doze: Pulse once when a pickup gesture is received." into lmp-dev 2014-08-08 18:15:47 +00:00
John Spurlock
559d959b99 Doze: Pulse once when a pickup gesture is received.
- If configured, wire up the default sensor of TYPE_PICK_UP_GESTURE
  as a signal to pulse (once) when dozing.
- Extend the duration that a pulse is visible.
- Skip the pre-pulse delay for the sensor signals.

Bug:15863249
Change-Id: I70e39fc5626fef5570ef74464c919427e0721c32
2014-08-09 12:04:36 -04:00
John Spurlock
f079fc52f3 SysUI: Null check around ranking map in isAmbient call.
Bug:16907252
Change-Id: Id21e089b99c1836ac0bbffd205ba89dc05f07b9a
2014-08-09 11:10:03 -04:00
Winson Chung
242bbb86e8 Fixing transition animation in landscape on tablets (Bug 16867731)
- Also fixing the scroller, initial scroll state, and scroll bounds on large tablets

Change-Id: I886153748156fb442e4dc2b7ec6cf052da43ab88
2014-08-08 16:36:16 -07:00
John Spurlock
f328227e82 Merge "Volume: Hide zen options during setup." into lmp-dev 2014-08-07 18:39:40 +00:00
Adrian Roos
0832b48221 QS: Make user switcher RTL aware
Bug: 16406694
Change-Id: I00efaf34281945635aa91bc3871ca6361c946ffe
2014-08-08 15:59:03 +02:00
Adrian Roos
1940892d89 QS: Make user switcher expand when users don't fit
Also updates the switcher to match the latest redlines.

Bug: 16406694
Change-Id: Ibf44ed9ea2ef4e3c467724eb4c79f1df5b3e49f4
2014-08-08 13:17:55 +00:00
John Spurlock
45601d6b64 Volume: Hide zen options during setup.
Only show the slider before provisioning and
user setup.

Bug:16825823

Change-Id: I856c736ed91ed20371176c2bba84b5d7e2ebc6cb
2014-08-07 18:22:35 -04:00
Kenny Guy
fb7d2c4cc4 Merge "Launch application details for correct profile from recents." into lmp-dev 2014-08-07 18:53:12 +00:00
Kenny Guy
94a07acba7 Launch application details for correct profile from recents.
Bug: 16681400
Change-Id: Ia80d9c83809b07b1cdc4be8a4fc8a406bdfcf55e
2014-08-07 16:30:51 +00:00
Dan Sandler
e2a8c53f3f Merge "Link to new app notification settings from the inspector." into lmp-dev 2014-08-07 09:28:12 +00:00
Dan Sandler
e9a4e90db6 Link to new app notification settings from the inspector.
Also hide the inspector whenever the keyguard changes state,
to make sure we don't leave any notification guts lying
around when you turn the screen on and off or unlock.

Bug: 16208321
Change-Id: I47cf6a0cb82e765eb6b50984972f57616b534ed3
2014-08-07 12:04:36 -04:00
Adrian Roos
95202de09d Merge "Fix pending dismiss action not cleared when leaving bouncer" into lmp-dev 2014-08-07 18:49:59 +00:00