4212 Commits

Author SHA1 Message Date
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
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
Geoff Mendal
d5b1958126 Import translations. DO NOT MERGE
Change-Id: I3b53dd3a54cc419adf24b7e4be9ec983197405fa
Auto-generated-cl: translation import
2016-01-20 06:05:18 -08:00
Jason Monk
3e189877ab SysUI Tuner: Status bar work
Improve general status bar goodness, more exactness, less breakage.

Extra extra icons, disabled by default.

Control all the status bar things!

Probably other stuff (10000).

Change-Id: I5d6282a4dcbcefea9f0880042cdf6293cb693712
2016-01-19 18:58:05 -05:00
Jason Monk
9e5341f4fe Tuner control over volume policy.
Change-Id: Ic96ad05a9aab6fc2a1669cfe5f1ba1f3779e1b5e
2016-01-19 18:22:33 +00:00
Jason Monk
6e580aef16 Merge "Add zen panel to volume dialog again in tuner" 2016-01-19 18:22:13 +00:00
Jason Monk
e138f55512 Add zen panel to volume dialog again in tuner
Change-Id: Ie74a6bd8ecd7f2d8b16e96cc0087e63796d5f9a2
2016-01-19 15:30:07 +00:00
Geoff Mendal
dc53d4f279 Import translations. DO NOT MERGE
Change-Id: I48b3ccb767e10aa277cf91c311998edf90f91b18
Auto-generated-cl: translation import
2016-01-18 06:08:46 -08:00
Thierry Strudel
e5480cc52a Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am: fc7e682f44 am: f4dd31755a
am: 3b6c965570

* commit '3b6c965570e5f4f54a78a6478bac40a355c6b372':
  Supply content description for QS disconnect buttons
2016-01-16 02:28:30 +00:00
Anthony Chen
83092c6cbb Separate notification area into own controller.
Extracts the notification area of the status bar into a layout file and
create a NotificationAreaController that controls what happens in this
area.

This is to allow this area to be configurable in Android Auto Embedded
cases where OEMs may want their own custom implementations here.

Change-Id: I8a52af676d16fd6f7d3878805970a5897d2db945
2016-01-15 15:48:27 -08:00
Youngsang Cho
f164792472 Initial check-in of picture-in-picture system-ui
Bug: 26549507
Change-Id: I6c69b5e2b5492858fc997657b5a06d3e50ca16e3
2016-01-15 15:27:13 -08:00
Victor Chan
59f1744ef4 Merge "Highlight car nav facet when recent task changes." 2016-01-15 20:03:31 +00:00
Victor Chan
1c6d0589f1 Highlight car nav facet when recent task changes.
CarStatusBar will now register a ITaskStackListener
to handle changes in task stack and highlight the
appropriate facet for the current task. Currently using resource
defined package names and category to the filter for a given
facet. OEMs are expected to use categories definied in Intent.java

Also refactored business logic from CarNavigationBarView
into CarNavigationBar controller.

Change-Id: I203917ea43f2f488a1167f27dab84f1c451b3e93
2016-01-15 12:02:11 -08:00
Xiyuan Xia
6a13e3be66 Merge "Refactoring for better extendability" 2016-01-15 17:31:32 +00:00
Winson
6ea2588a5d Fixing issue with action button not showing/animating.
- The system flags need to be reread when the task stack is reset.
- Since we check for alpha before doing the animation, we need to
  initialize the action button alpha back to zero when we reset the
  task view.

Change-Id: I97530a7bdd5e934ab1d5831ef30cf7774418ed95
2016-01-14 15:31:54 -08:00
Peter Schiller
b124d5607f Indicator for task auto-select
Change-Id: I081222b84a5f90e77890724977821ed481fe3924
2016-01-14 14:37:11 -08:00
Xiyuan Xia
1b30f79cff Refactoring for better extendability
- Exposing members of PhoneStatusBar, StatusBarKeyguardViewManager and
  KeyguardBouncer to sub class;
- Add a configuable SystemUIFactory as class factory for components;
- Add logoutCurrentUser and switchToByUserId to UserSwitcherController;

BUG:22407003
Change-Id: I3902baf3c721d89217b27a6310c4202a198cb209
2016-01-14 09:47:57 -08:00
Dan Sandler
b3f1109d99 Supply content description for QS disconnect buttons
Bug: 26555270
Change-Id: I3803c7ad78a64894eca5c36f5d9ecf7fc4a6ad92
2016-01-14 11:38:35 -05:00
Sudheer Shanka
f8f858e4ea Merge "Add restricted padlocks to tiles in quick settings." 2016-01-14 16:11:12 +00:00
Julia Reynolds
f890afad17 Merge "Mock compliance for notification guts." 2016-01-13 20:30:48 +00:00
Julia Reynolds
205053615c Mock compliance for notification guts.
Change-Id: I6fc63ad5b9c241d5e003a9810fde6f5aea48214e
2016-01-13 15:13:03 -05:00
Sudheer Shanka
1c7cda8bbf Add restricted padlocks to tiles in quick settings.
Change-Id: Ib11a38f8512b811e5713a33055a04a72f1b825f1
2016-01-13 20:06:35 +00:00