We already illuminate the background, but a small scale animation
when tapping makes it feel a bit more polished.
Bug: 155796337
Test: manual
Change-Id: I5ec186af10cb6651a6c23addecae02845b6e18ac
Allow apps to specify whether to show full screen or within detail
panels. Default camers and thermostats to use the panel by default
when the following flag is enabled.
Enable by:
adb shell settings put secure systemui.controls_use_panel 1
Change offset from the top in Px:
adb shell settings put secure systemui.controls_panel_top_offset XXX
Bug: 152528130
Test: manual, use camera, thermostat devices
Change-Id: Ia1b12afcf4de2a0bcf7957e6425b282b1e220f46
Gather state inisitally, then consolidate it on a pre-draw listener.
Before we were deciding when to change the icon based on various
variables, now I'm centralizing the decision on getState(), to avoid
cancelling animations.
Test: At AOD2, lock animates in
Test: When locked, press power button: lock icon animates in
Test: Press power button: lock icon animates in scanning and unlocks
Test: Unlock without bypassing, let device sleep, go to AOD2
Test: Long press padlock when it's open
Test: Look at padlock from SIM PIN screen
Test: Look at padlock when lock screen is not secure (no pin/pwd)
Fixes: 135587352
Fixes: 135960400
Change-Id: I85260b6c373d675bd6076046e33519816221157f
Resource overlays cannot reference resources that only exist within the
overlay package, so using resources with aapt tags is not possible.
Breaking up these resources to not use appt tags is fairly error prone,
so instead we're including lockscreen animations for all themes in
SystemUI and selecting them at runtime.
Fixes: 118757654
Test: make; change themes and view animations
Change-Id: I4b489bbe94dbb4b351470e7d00bf4be6a5da5280
- Update wifi, bluetooth and hotspot transient animations for pixel and
3 themes
- Move animations from SystemUI to framework so they can be overlayed
(resources cannot reference other resources that only exist in the
target package)
- Remove unused animations
- Holding off on themed lockscreen animations until they are all
complete
- Note that expand/collapse animations are not overlayed since they are
not used in production code (only tuner)
Fixes: 118757654
Test: visual
Change-Id: Id66a2f76ff1f46b2e32f61b709b648aa0fa49672
- Move all legacy recents code out of the core sysui code
- Add separate target for products which still depend on it
- Move overview proxy implementation into another implementation of the
recents interface
Test: atest SystemUITests
Test: Push SystemUiWithLegacyRecents to the system image
adb shell pm disable com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
and ensure that the old recents implementation still works (and split
screen)
Change-Id: Iad67218ec37c13c79b6393d87f6bdc4f3996e2c6
Signed-off-by: Winson Chung <winsonc@google.com>
1. No need to use a FrameLayout for PagedListView.
2. Support arrow drop down animation.
BUG: 78474304,73134851
Test: manual
Change-Id: Iec4e046f1abca40d76bd76ab3d5dc2a02e4dfcc2
Instead of showing the type in the top left corner of the signal.
- Add new status bar mobile data indicator assets
- Remove unused qs/status bar mobile data indicator assets
Bug: 72540392
Test: visual using demo mode
Change-Id: Ic63ad3307daabf2e0f023308b7e0682dbd29f1ca
Adds the arrow to the left of the user name.
Animates the arrow in a sweet 180 degree rotation.
Bug: 65423882
Change-Id: I13a40dbd65c1335fdb579223d7c7cbd8623b3d6b
(cherry picked from commit f4d69c2b575940eca4620db5aec6d42b98b53071)
- Adds animations of user pods, page indicator, and username in user switcher.
- Adds delay between user pods to add cascading effect.
Bug: 36812644
Bug: 65423882
Change-Id: I369719d1d692c5b7414d33801007854d522882d8
(cherry picked from commit ca567d817f75da0bcfd5de29a33ded00bc737985)
- Adds pagination dots to user switcher dropdown.
- Adds device name text view for when devices are associated with users.
- Fixes the layout of the user grid to handle changing height for
proper animation.
Bug: 65423882
Tested on Mojave with longer animation times to ensure correctness.
Change-Id: I54ae5cc93f9caa9d6c4a5c2c7e9e2488a6257001
(cherry picked from commit 0de35b5386ad7e00f13a7611fce36ca990b201e0)
Use "wallpaperTextColor" for the main colors and "colorError" for the
error colors. Remove the tint override in
keyguard_bottom_area that messes with the intended drawables' colors.
When fixing the size of the transition back to the lock (trusted state),
I had to also make the error icon smaller. So this may need new anim
assets to fix that.
Test: visual
Bug: 63991143
Change-Id: I6212a7ac532134c8fdc48889630c7d10cfab6b85
These will be done in code via the SlashDrawable later. This is just
cleanup to pre-empt that.
Test: make; runtest systemui
Change-Id: Iaa4177f757a226e2154236d4be288440cb83e7e7
Remove both activities until the new OC UX spec is finalized.
Bug: 36370535
Test: Manual test (Checked that onboarding nor overlay activities aren't
shown after the FDR)
Change-Id: I97c4b2038aabf4f00cac957af6b79dcd874000ae
This patch will remove the Recents TV Code from SystemUI.
Test: To test this removes the Recents Feature and has no
side effects, try to launch recents with long-press HOME. This
should result in launching the phone version of recents.
BUG: 36035359
Change-Id: I9026b480968575ce08e1ce344512f168fdc5fe87
This includes following changes for performance
1. Passes the key events directly between the windows instead of using
dummy Views and OnFocusChangeListener to prevent main thread from
handling unnecessary focus changes.
2. Limits the window size for PIP controls to reduce unnecessary draw.
Here's the test result. Test is performed with paused PIP video
1. 5 visible recents task
Focus down: 48.14 fps -> 85.396 fps (+77.39%)
Focus up: 24.67 fps -> 45.33 fps (+83.77%)
2. 3 visible recents task
Focus down: 51.98 fps -> 132.72 fps (+155.34%)
Focus up: 30.91 fps -> 53.38 fps (+72.69%)
Bug: 28042495
Change-Id: I363232176975b160e122748c9997ef4b46b73a28
Scrim will fade in after the PIP control's focus losing animation,
and will be gone immediately when PIP control gets focus.
Bug: 28041690
Change-Id: Ibb7fa0ce15ba1af13781a1bd5e87609fefa95cc0
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
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
- Fixing issue where the animation props was not applied to the progress
and callback animations correctly
- Ensuring that all tasks animate the same distance on enter/exit, and
not just to the edge of the screen
- Removing unused styles and animation resources
Change-Id: I88bd0f79f386304373fe63b49e92f02eeb882e55
Status bar will also show a different badge icon when managed profile
is in quiet mode i.e. work mode is off. The tile is invisible for now
until the full feature lands.
Bug: 22541941
Change-Id: I53f33ea346cd9215ecee2ca42de137af61e4c8a2