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
Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable
Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
Query the package manager and if the user has default
applications for categories (email, browser, etc.) then
show the default app icon else do not show an entry in
the group.
PS: tested with 10x apps and did not notice any visible
jank or delay.
Bug: 27453985
Change-Id: Ic8b73419518c81e3b19278341f83e91bb547c5f7
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
- Now that you just long press back, we should not indicate to the user
that you need to long press both to exit screen pinning.
Bug: 28024008
Change-Id: I1bad66e2b975f1f5943989d56348bc8e8b27fbbe
Add a divider between where system tiles and custom tiles are and
add their app label to them as well.
Change-Id: I8890a7fee54e4c5340bbe95c6e100c58f81ee5c3
Fixes: 27874624
Also ditch the header BG so the panel can feel like one surface, as
a result need to set some clip bounds on the QSPanel to avoid some
collisions between the header and QS.
Bug: 27881430
Change-Id: Ia78c5b8a7a90bd02b97fa448efa06fc056f624ef
Introduced RTL support for the KeyboardShortcutKeysLayout and
with another minor change to the dialog layout achived full
RTL support for the keyboard shortcuts UI.
Bug: 22776761
Bug: 27674152
Change-Id: I14e38dc4533208f6fd982a53a1d0305e003d926b
Add a callback to TaskStackChangeListener which gets fired when the system
might need to inform the user that a specific app might not work in
multi-window.
Use that callback in SysUI to show a translucent activity which scrims the
activity behind to inform that it might not be resizable.
Debounce the information to once per multi-window session, to not make it
annoying.
Introduce launchTaskId to start an activity in an existing task, and protect
that with START_TASKS_FROM_RECENTS permission.
Bug: 27327287
Bug: 27431869
Change-Id: I89e8d653872ab01ba3c1e252b426e5481da0e6ca
- Changing task view thumbnail layout. In portrait, scale the thumbnail
to width for portrait screenshots, and apply the same scale to
landscape screenshots. In landscape, scale screenshots up to 1:1, and
tweak the app transition to clip the sides instead of scaling.
In both orientations, fill with the background color in the remaining
space.
- Moving some resources related to the title bar to be calculated
programmatically so that we can have different header bar sizes which
completely overlap the action bar in the screenshot in each
orientation.
- Constraining the task stack width in landscape to portrait
Bug: 27504677
Change-Id: Ic9b6fdde6dd728d9f2d20a8b89c05b3a350edfbf
- This CL repurposes the history button above the stack to a more
generic “stack action” button in preparation for a future change.
Bug: 27742174
Change-Id: I1da274bf88c77bdc09d91072683b2ea7ca022432
- Tweaking initial layout to show more of the next task
- Bounding the width of the stack to the smallest display edge length
- Fixing issue where the screen pinning button was not shown when
entering recents from home, and the task view clip state was not
restored correctly for tasks in front of the launch task.
- Fixing issue where there was no alpha during the transition to/from
home
- Refactoring and removing unused dimens, and moved remaining layout
calculation logic out of RecentsConfiguration.
- Fixing small regression in finding task anchor scroll points. This
caused tasks to be animated strangely when swiping to dismiss and
the task had an override task progress.
- Fixing several regressions in drag and drop due to override progresses
Change-Id: I1eac1dcea19e502bc7fe6362011b38977e3f3d6d
The default was true before, which lead to quite a few bugs.
Moved done the introduced attrs to support it on AnimatedImageView
Change-Id: I68714c22ceefff6bac7cd9496c83edd69256ee1b
Fixes: 27745673