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
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
* 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
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
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
- Removing extra syscall when rebinding tasks
- Only bind the click listeners on the header bar after they are visible
Change-Id: I6879b30a985ca8274ee77126b152daa985054371
- 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
- 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