4232 Commits

Author SHA1 Message Date
Jason Monk
13548550a3 Merge "Add data disabled icon" 2016-01-27 20:34:28 +00:00
Jason Monk
1a95c86281 Add data disabled icon
Change-Id: Ic6d7c367e99a9460a42d9eaab062c73a75c292fd
2016-01-27 15:32:22 -05:00
Anthony Chen
2f60d111eb Allow volume dialog dimensions to be customized.
The volume dialog originally had the same dimensions as the regular
notification panel. However, Android Auto wants a larger dialog. As a
result, separate out the icon size and dialog size so that they can be
customized.

Change-Id: Idcaf94d64bcd5ce7d8f6f0ad5da916cf7226a527
2016-01-27 11:11:53 -08:00
Geoff Mendal
aa14f7f5c6 Import translations. DO NOT MERGE
Change-Id: I8d49ae1bb88b9bbd14d68d59cfdc6052f71bfb00
Auto-generated-cl: translation import
2016-01-27 06:02:37 -08:00
Winson
4b9cded143 Enabling fast switching for all users.
- Consolidating notion of fast toggling and indicator in the tuner - if 
  it is enabled, the indicator will be enabled
- Upon entering recents, immediately enable the timer to jump to the 
  previous task
- Allowing for multiple durations in the first and subsequent toggles
- Disabling fast-toggle on freeform devices and when touch exploration 
  is enabled
- Simplifying UserInteractionEvent to a reusable event

Change-Id: Id1ca3cd035f4eded5141b2b333a2cab5434b79ee
2016-01-26 21:05:06 -08:00
Jorim Jaggi
f3e87908cd Merge changes I10224452,I7af4149f
* changes:
  Grow recents when in multi-window on phones
  Add animation when docking top task with long press
2016-01-27 01:21:00 +00:00
Selim Cinek
61633a8db8 Added bigger notification paddings above and below groups
Bug: 24866646
Change-Id: I0bca7a1abcbc0fa816aeed5729e650de24f523f0
2016-01-26 15:30:28 -08:00
Selim Cinek
277a8aa409 Replacing alpha with shadowAlpha
Change-Id: I1fc75e395321d77fb959dd3e8ce520bd8378cfeb
2016-01-26 15:30:28 -08:00
Selim Cinek
cacc604115 Fixed the divider height to be at least 1px high
Also adapted the children divider to be consistent

Change-Id: I158167f70e9e0bc9e251785078a4b271720919c5
2016-01-26 15:30:28 -08:00
Selim Cinek
d35c2793a3 Added transparency to the notification backgrounds on the lockscreen
To achieve a decent lockscreen animation we also need to account for alpha.

Change-Id: Iba75f9c304962da309e0e2d32a58d757b6607b5b
2016-01-26 15:30:28 -08:00
Selim Cinek
6811d728fb Drawing the background of the notifications as a grey color now
Some cases are still not working perfectly as the background is
never animating

Change-Id: I4b357161d53d62f4cf5c0fbf76e70e5f3465bd68
2016-01-26 15:30:28 -08:00
Selim Cinek
4fd5dfc1c3 Removed the visual speedbump
Change-Id: Iaacfc75ba691db07522e9d1d893aecd6b3be6338
2016-01-26 15:30:28 -08:00
Selim Cinek
587cbf30a7 Remove the scale animation from the lockscreen
With fullbleed notifications don't scale anymore when clicked.

Change-Id: I75fadb5e6ccb7f12ca8fc1cb9459c6d9576f4abd
2016-01-26 15:30:28 -08:00
Selim Cinek
33d4614dfe Removed notification top padding
Moving more to fullbleed

Change-Id: I28e52963315bbec37819a355dc3f198431e9daee
2016-01-26 15:30:28 -08:00
Selim Cinek
ca85ef8537 Removed round rect clipping for notifications and qs
Change-Id: I82459dabb2b41e414d46b624eeb6dae5773acc66
2016-01-26 15:30:28 -08:00
Selim Cinek
924c612b87 Removed notification side paddings
Removed all notification paddings on the side.
Bug: 24866646

Change-Id: I1a3e7b9ec5156cb953e06a83afa72c5ad36a2025
2016-01-26 15:30:28 -08:00
Victor Chan
a88abe084e Merge "Use vector drawables for icons on car navbar" 2016-01-26 23:16:20 +00:00
Rakesh Iyer
6d03819aa1 Merge "Fullscreen user switcher layout tweaks." 2016-01-26 22:25:29 +00:00
Victor Chan
4d8c66bd36 Use vector drawables for icons on car navbar
Adjusting CarNavigationButton layout so that vector
drawables are properly scaled/rendered in the car navigation bar.

Change-Id: I71fdfd0d863049a63abf11c41f46c950ed7e309e
2016-01-26 14:18:31 -08:00
Jorim Jaggi
cdb06caebb Grow recents when in multi-window on phones
- Make sure all methods in RecentsImpl are called from the main thread.
- On secondary users, call dockTopTask in correct process.
- When opening recents, split it differently when on phones.

Change-Id: I10224452b1a9c0ae691d64cceeae5bb93cc4f6d8
2016-01-26 12:21:29 -08:00
Rakesh Iyer
df727cb559 Fullscreen user switcher layout tweaks.
The hard coded padding between the disclaimer text and
the UserGridView was causing troubles with smaller screen
sizes so use layout weights instead to achieve the same
results.

Bug: 26749378
Change-Id: I8a3b0784696ad14ec8f9f99a2af649f43d187307
2016-01-26 11:40:51 -08:00
Xiaohui Chen
0691703467 sysui: remove shelf
Bug: 26742568
Change-Id: I10bbf55b4b93fb5d360a56dcc59c943d8806a27e
2016-01-26 11:32:20 -08:00
Jason Monk
69e76ccee7 Add user switcher back to QS
Change-Id: Ie3f8139782aee06ad932ded9145162de5e22a824
2016-01-26 11:03:16 -05:00
Jason Monk
9a4ce137eb Add data saver tile
Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
2016-01-25 17:16:22 -05:00
Rakesh Iyer
2790a37e0f Move FullscreenUserSwitcher into car/
Move the full screen user switcher into the car/ directory
because it is only used there.

Bug: 26559008
Change-Id: I4f24b2029ed11be49a165be35e225e726677d37e
2016-01-25 13:00:20 -08:00
Jason Monk
4f878ef5cc Re-add support for the app shelf
Accidentally broken as a part of tuner customization of the nav bar.
Now supported for inflation.

Change-Id: Id097fb48d1d77aa37518246cca8c7a9494de2af2
2016-01-25 15:15:24 -05:00
Geoff Mendal
70d815eb64 Import translations. DO NOT MERGE
Change-Id: I6198abea42fededfce4ee9be2c7a88523ace87ca
Auto-generated-cl: translation import
2016-01-25 06:04:23 -08:00
Julia Reynolds
5971d553b5 Merge "Inline settings color changes." 2016-01-22 19:47:37 +00:00
Julia Reynolds
7727ad23b2 Inline settings color changes.
Bug: 26486314
Change-Id: I8c842081e544b05c6d88e99361426052c216d8f7
2016-01-22 14:38:46 -05:00
Jason Monk
a20818257e Make nav bar customizable through Tunable
Change-Id: I18c6bc3db1555ca8ec94f1ce594eb01158f32736
2016-01-22 09:47:08 -05:00
Selim Cinek
c848c3a1b4 Changed the work profile appearance
Change-Id: I0545ee9b18572b93f73b4cf54126cf03085b61b5
2016-01-21 19:42:49 -08:00
Selim Cinek
da6f1d605b Updated notification colors
Change-Id: I23ffc7325ec4947bb0e2d767d1e2ddbaa9b3f369
2016-01-21 19:42:49 -08:00
Selim Cinek
646d2054dd Improved notification transformations
All views are now faded, even if they are not handled specially

Change-Id: I2970548667e0388984098293ac0dfcbdbed12df1
2016-01-21 19:42:49 -08:00
Selim Cinek
4ffd63611a Changed the transformation from when switching notification views
Change-Id: I2af3c2f36787d208be7745dabae96903df256156
2016-01-21 19:42:49 -08:00
Selim Cinek
5104a6db2e Fixed the animations on the notification scrims
When pulling down on a heads up notification the scrim would
fade in from 0 instead of fading to the new position.
The old behavior didn't work if the heads up notifications were
big, so we had to change it in order to always have a scrim.

Change-Id: I9ae387b75136c9240d863e06a8649c85b3c6c9dc
2016-01-21 19:42:49 -08:00
Winson Chung
88766a2bd7 Merge "Fixing some small issues with the overlay." 2016-01-22 02:26:22 +00:00
Winson
4c84a8c481 Fixing some small issues with the overlay.
- Should be updating the app text color to match the activity text color
- Fixing issue with indicator showing when fast toggle is disabled but
  the indicator flag is enabled
- Tweaking layout so that the buttons are flush with the borders so that
  we capture the full area for press/long press

Change-Id: Ia9b081883562ef4fd1c01fd42bc786a1feeb0854
2016-01-21 18:14:12 -08:00
Anthony Chen
0dc24bb718 Merge "Move hard-coded dimens to dimens.xml." 2016-01-22 01:49:15 +00:00
Winson
c5ef63f4e9 Adding reveal transition to show app-overlay.
- Instead of long-pressing the icon to launch into app info directly,
  this will mirror notifications and reveal a space that can show the
  app name and a link to app info.

Change-Id: I91c5839719b030a65744f5e677a436e9c719c578
2016-01-21 16:07:44 -08:00
Winson
65c851e6e9 Fixing several regressions with affiliated tasks.
- Now that we are sorting tasks for freeform and history, ensure that
  the affiliated tasks have a useful active time (based on the task
  they are affiliated with) for sorting
- Fix issue with the initial stack and focus state not taking the
  launch task into account due to the launchTask flag not being set
  until the activity was started (now set in RecentsTaskLoadPlan)
- Fixing issue with affiliated tasks not being launched from the stack
  due to the animation trigger not firing when the action button is
  already hidden/visible
- Fixing issue with title text being occasionally hidden (something we
  only need for freeform tasks)
- Tweaking the launch/enter animations for tasks occluded affiliated
  tasks

Bug: 26685208

Change-Id: I0f6e9dbf8deec2e4fc15364e686367cc0f57b41f
2016-01-21 16:07:31 -08:00
Winson
8aa9959413 Starting the dismiss animation in parallel with the gesture.
- Introduces notion of ignored tasks for the purposes of layout in 
  TaskStackView.  This can be used during drag and drop, and while 
  dismissing to calculate the state of the stack without the task that
  the user is currently interacting with.
- Fixing minor layout issue when the front/back task transforms are 
  improperly calculated when there is a single task
- Fixing minor issue when the anchor task is calculated incorrectly when
  dismissing task views

Change-Id: I1eb0864a52e53562e4d573a6ed4f8a5a1615aff9
2016-01-21 16:05:53 -08:00
Anthony Chen
55e8e1ee60 Move hard-coded dimens to dimens.xml.
This is an initial change to allow the values to be overridden by
Android Auto.

Change-Id: Iaa611b6ff2ce0aa00d93776e775905c786802ef2
2016-01-21 14:33:21 -08:00
Rakesh Iyer
03b42004da Merge "Commandeer full screen user switcher for auto." 2016-01-21 18:47:07 +00:00
Jason Monk
9d02a431b7 Work on QS layouts
Better layouts, less work, more columns... sometimes.

Also fix some bugs.

Bug: 26705136

Change-Id: Ia368791259a1a91522a3efb70729919da79e37ea
2016-01-21 10:44:07 -05:00
Rakesh Iyer
4d5343ea3a Commandeer full screen user switcher for auto.
The full screen user switcher wasn't needed by the original
author so adapt it for the auto use case because it fits
really well. This change adds in some legal text (TBR - legal)
and tweaks the layout a bit.

Bug: 26559008
Change-Id: Ib78d0ec8a8d4ec8411dbbffe5852c5307c2cf42f
2016-01-20 18:47:03 -08:00
Victor Chan
770e437d30 Merge "Add ripple to navigation bar button" 2016-01-20 20:13:25 +00:00
Victor Chan
1fb5a2f657 Add ripple to navigation bar button
Change-Id: I3af5bf8e49f244987737be1df286dc52b61ff0f8
2016-01-20 12:11:51 -08:00
Jason Monk
370153709e Merge "Fix QS to not be completely broken on landscape" 2016-01-20 16:36:51 +00:00
Jason Monk
e4e69305e4 Fix QS to not be completely broken on landscape
Change-Id: I56d44d114ab36ab552191b50a172d637f9eab6c5
2016-01-20 11:27:15 -05:00
Jason Monk
24bf3279f7 Merge "SysUI Tuner: Status bar work" 2016-01-20 14:16:09 +00:00