366 Commits

Author SHA1 Message Date
Sid Soundararajan
be403e345e Add a dimmed dismiss icon below task card view
This should give a clear indication of moving down to dismiss.

BUG: 27968917

Change-Id: I49bbc2b071eb176b1af59ce9fd9e75a4b9bf2f56
2016-04-14 19:03:15 -07:00
Jaewan Kim
cac7b221ae Merge "PIP: Implement new onboarding spec" into nyc-dev 2016-04-14 17:21:39 +00:00
Jaewan Kim
9d712faa45 PIP: Implement new onboarding spec
Bug: 27954437
Change-Id: Ib939a4ca5f304821036a43971ae7f45b7802ed8a
2016-04-15 01:17:42 +09:00
Sid Soundararajan
ac5a240f05 Merge "Add a fall back for when the thumbnail is not generated for a task" into nyc-dev 2016-04-14 15:19:24 +00:00
Jaewan Kim
6309cabcda Merge "PIP: Implement focus change animation in PIP control buttons" into nyc-dev 2016-04-14 01:41:56 +00:00
Sid Soundararajan
bda1b17d45 Add a fall back for when the thumbnail is not generated for a task
Re-add scrim and shadows to cards.

This can happen on TV when an App is mid launch and the HOME button
is pressed. The Banner of the App is used as a fallback, with the
icon of the app as a final fallback. The icon should not be used
normally, since an App would fail review for not providing a banner.

BUG: 27349208
BUG: 27857124
BUG: 27953609
Change-Id: I50f6ee714eeddee1ea2b5ae31f23ea68d230bc59
2016-04-13 18:31:18 -07:00
Jaewan Kim
1cc1e339b1 PIP: Add PIP boundary
Bug: 28040141
Change-Id: Iebd1e2cce4b3103e322bb92113c61e644a35be72
2016-04-13 14:56:56 +09:00
Jaewan Kim
1e59f2412d PIP: Implement focus change animation in PIP control buttons
This includes following animation.
  - Fix focus change animation duration among the PIP control buttons
  - Apply ripple animation for PIP control buttons
  - PIP menu enter/exit animation.

Bug: 27677096
Change-Id: I2f992416efc8a0994eeb56d5dec00201fd08a7aa
2016-04-13 13:24:19 +09:00
Winson Chung
87c343cddc Merge "Updating visuals for incompatible apps." into nyc-dev 2016-04-12 01:51:06 +00:00
Winson
9b001396c2 Updating visuals for incompatible apps.
Bug: 26774190
Change-Id: I688d5dbab0305e794cad832ae92a8e5c9440737a
2016-04-11 18:48:49 -07:00
Andrei Stingaceanu
a02965e211 Keyboard shortcuts: UI polish 1
* title color for system groups is now: "material_deep_teal_500"

* background behind shortcut keys:
** Now has 2dp rounded corners
** changed color from "material_grey_200" to "material_grey_100"

* the text items now have a minimum width equal to their height.
This means that now the text items with one character are always
the same (square) size as the icon items. Makes the UI look much
cleaner thus easier to read

* the line item now has a minimum height of 48dp and the content
is vertically centered

* minor variable renaming for increased readability

Bug: 28075364
Change-Id: Id7090b607b9c604c55513e7c393ed1084a1c8df0
2016-04-11 13:21:17 +01:00
Andrei Stingaceanu
d15191076d Keyboard shortcuts: icons for shortcut items
Introduces the ability to display a shortcut item as
an image (if it has a resource attached). Also added
vector drawables for: up, down, left, right, enter, meta
and backspace.
Note that accessibilty wise the drawables dynamically scale
to the height of the text items (which have the text size
set in sp).

Bug: 27455410
Change-Id: I49739313d83cf661bea9378108a1fa3d6c51bd2e
2016-04-07 10:36:59 +00:00
Jaewan Kim
04cbe870ae PIP: Apply the latest Recents row animation when PIP control is focused
Bug: 27540465
Change-Id: Ib3b40fb64953a175593eab789552db3c231f0227
2016-04-06 15:20:58 +09:00
Winson
c71703e824 Updating screenshot icon.
Bug: 27616556	
Change-Id: I613f8914330e3ad86856fb2bbe60adb4df09973d
2016-04-02 00:02:23 +00:00
Jaewan Kim
2edfe0106a Merge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev 2016-04-01 06:19:53 +00:00
Jaewan Kim
a0d4d2588d PIP: Apply the animation spec for the PIP in Recents
Bug: 27540465
Change-Id: Ibdd4a4e3fd194978ccbc29235a1c620ebddff942
2016-04-01 15:03:51 +09:00
Jason Monk
be83cc0044 Update the wifi on but disconnected qs icon
Change-Id: Icb3ef57e7fa540868716107206d710dc4048aa90
Fixes: 27900385
2016-03-31 13:38:59 -04:00
Jason Monk
67477d9c1b Update the data saver assets
Bug: 27588223
Change-Id: Ic25a7a695fb2df019b861ef1547da3fca5cd96f9
2016-03-28 16:36:35 -04:00
Jason Monk
ace22ae26c Merge "Update the QS page indicator" into nyc-dev 2016-03-28 14:18:04 +00:00
Adrian Roos
918ea1c14c Merge "Mirror send in RTL" into nyc-dev 2016-03-18 22:33:44 +00:00
Adrian Roos
187a56b3cf Mirror send in RTL
Bug: 27597203
Change-Id: I24c21dad5b5c54b9cae8076ed5b16d40c3e061c6
2016-03-17 12:51:40 -07:00
Jason Monk
6113397545 Update the QS page indicator
Give it the new assets/animations and make sure it hides
when only one page.

Bug: 27064317
Change-Id: I6019d3435a6311b8d23691cbf742d66af480fcd8
2016-03-17 15:36:46 -04:00
Winson
952e8628ea Converting empty graphic to vector drawable.
Bug: 27154293
Change-Id: I2ee46bf5aa9ab7ad05c054363d53fdda0a3069dc
2016-03-16 11:40:45 -07:00
Jaewan Kim
236950e5b3 PIP: Apply the latest UI spec for overlay text
Bug: 27273290
Change-Id: Ie3ff425555c6629c8676f5071ea6ddc2a761b87c
2016-03-04 14:51:47 +09:00
Sid Soundararajan
d27dafeade Merge "Add Launch Task Animation, re-do values for red-lines." into nyc-dev 2016-03-03 23:37:15 +00:00
Sudheer Shanka
5f4defc61d Merge "Update restricted icon." into nyc-dev 2016-03-03 18:31:52 +00:00
Sudheer Shanka
40400a648f Update restricted icon.
Bug: 25603665
Bug: 27263775
Change-Id: Ib66866cf536f15130f936d03d9328ee5b0b508c7
2016-03-02 19:08:51 -08:00
Jason Monk
30014c4a57 Shrink button ripple on QS btns to 36dp
Bug: 27388390
Change-Id: I1efbedfdf720edf4cf5d43797da59904d91cb543
2016-03-02 14:52:27 -05:00
Sid Soundararajan
1008cc2586 Add Launch Task Animation, re-do values for red-lines.
This is a cherry-pick of https://googleplex-android-review.git.corp.google.com/#/c/859952/
Adjusted to fix merge conflicts.

Change-Id: I8395a4172bd34faff88094913ee4afd97f71076a
2016-03-02 10:43:10 -08:00
Jason Monk
ee70388723 Merge "Fix QS edit BGs" into nyc-dev 2016-03-01 19:14:33 +00:00
Jason Monk
57af5e3318 Fix QS edit BGs
Bug: 27396825
Change-Id: I40bb49ced95d0cd58975bab8e2df4fac2466d07a
2016-02-29 15:42:15 -05:00
Jaewan Kim
623381921c PIP: Implement play/pause button in menu
Bug: 26685243
Change-Id: Id3138cc35dbef90d91767797e7f26f3c60191b1a
2016-02-29 10:53:10 -08:00
Jaewan Kim
91b440aaea Merge "PIP: Apply the latest UI spec for onboarding activity" into nyc-dev 2016-02-25 23:11:51 +00:00
Jaewan Kim
edd02dc159 PIP: Apply the latest UI spec for onboarding activity
Bug: 27273286
Change-Id: I57b3050e1f07ffbcee66e30404578937f65c3189
2016-02-25 15:06:40 -08:00
Jaewan Kim
1a9dc566be PIP: Apply the latest UI spec for PIP menu
Bug: 27190196
Change-Id: I71b5f2eb46ee90af8601f4ec02e20e2792ebc4de
2016-02-25 10:03:14 -08:00
Jaewan Kim
c92a7d12e3 PIP: Make PIPed activity to be focused from Recents
This makes PIPed activity to look like part of the Recents.

Bug: 26946155
Change-Id: Ic0ac441e57af5594c06701fa9d30400f0f7cc5a5
2016-02-24 23:59:27 -08:00
Jason Monk
f23aa99270 Move background data notif to data saver status icon
Bug: 26796370
Change-Id: Ibf53c3affa63100b603e362b58ca6d2958791321
2016-02-22 14:56:05 +00:00
Jason Monk
5dbd4aad80 SysUI Tuner: Night mode v3
TwilightService:
 - Add support for locking on/off twilight globally
 - Change twilight state to have float amount rather than
   having clients calculate it using the sunrise/set values
 - State controlled through secure setting
 - Override mode which locks to a state for a couple hours then
   resets
 - Add broadcast for SysUI to listen to

Brightness/Power:
 - Updates to handle TwilightService changes
 - Added secure setting to control whether or not to use
   twilight when calculating brightness.

Tuner:
 - UI Overhall
 - NightModeController will set the values of the custom color matrix
   taking into account the current twilight service state and any
   custom calibration set by the user.
 - Probably other stuff.

Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
2016-02-18 14:06:51 -05:00
Winson Chung
bbb3d3de3c Re-enabling fade-in of header bar icons.
This reverts commit 133ad44269e4b45e056793b579a7628aa4d91ccb.

Change-Id: I45095211aaa63b133ad5a4076df25823fa91efa3
2016-01-29 18:02:13 -08:00
Winson Chung
133ad44269 Revert "Re-enabling fade-in of header bar icons."
This reverts commit 9b5c847a19bf7dbfe3fe00f11cbbdf581794fccc.

Change-Id: Ie9e6ba685654622a9a1e76a405cc4d47477d9e13
2016-01-30 01:07:34 +00:00
Winson
9b5c847a19 Re-enabling fade-in of header bar icons.
- Removing extra syscall when rebinding tasks
- Only bind the click listeners on the header bar after they are visible

Change-Id: I6879b30a985ca8274ee77126b152daa985054371
2016-01-29 15:08:08 -08:00
Jason Monk
3b58714344 Add clipboard to tuner
Allow button to be added to nav bar that acts as a drag target/source
for the clipboard.

Change-Id: I94ca3c7decd1a1b178ceb9a4b4ab9e275c90acbb
2016-01-27 23:05:06 -05:00
Jason Monk
3ebd23943b Nav bar tuner
Allows reorginization of the navigation bar.  First pass.

Change-Id: If546ca5835412d15c05c41ffd5c5aa0857b9417f
2016-01-27 23:03:36 -05:00
Jason Monk
f0c6f64e5b SysUI Tuner: Color mod v2
Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
2016-01-27 23:03:36 -05:00
Winson
214f0f0dc8 Part 2: Adding clear-all to history
Change-Id: I9cd51f2a97ebe0f306e4934cdcac1a522526cf50
2016-01-27 17:25:02 -08:00
Winson
49df4209cf Part 1: Tweaking history transition to match design.
- Adding background scrim that can be controlled across transitions 
  within recents.  As a result, we can remove the status bar scrim.
- Moving the history view into the RecentsView now that it animates in
  parallel with the task stack
- Transition home from history no longer goes back to stack view first
- Removing some extra allocations when going into history and loading 
  tasks

Change-Id: I665baefcdd619de5e9366923eaaf4c558261141a
2016-01-27 15:15:44 -08:00
Jason Monk
1a95c86281 Add data disabled icon
Change-Id: Ic6d7c367e99a9460a42d9eaab062c73a75c292fd
2016-01-27 15:32:22 -05:00
Selim Cinek
ca85ef8537 Removed round rect clipping for notifications and qs
Change-Id: I82459dabb2b41e414d46b624eeb6dae5773acc66
2016-01-26 15:30:28 -08:00
Jason Monk
9a4ce137eb Add data saver tile
Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
2016-01-25 17:16:22 -05: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