Commit Graph

27 Commits

Author SHA1 Message Date
Shan Huang
b2e08e976a Merge "Add the charging ripple effect, currently guarded by flag_charging_ripple." into sc-dev 2021-03-19 08:00:23 +00:00
Shan Huang
3a13219bac Add the charging ripple effect, currently guarded by flag_charging_ripple.
The effect is drawn in a full screen view in StatusBar, using a shader adapted from graphics/java/android/graphics/drawable/RippleShader.java. It plays whenever a phone is plugged in and wired charging begins.

Next steps:
- Add distortion effect to the first half of the animation.
- More API to support the UDFPS reveal effect.

Videos: https://drive.google.com/drive/folders/1c_QduSrELp4-Y4oJdHIllnypQkguDd-x?usp=sharing

Test: atest SystemUITests
Test: Manually
Bug: 182719493

Change-Id: If8885022a906f617332ca21132c3194ab26c09a4
2021-03-19 00:43:11 +08:00
Silin Huang
9461c9eb2c Add quick access wallet tile.
This tile is gated by a feature flag and the QAW Client service availability.
Also add a new icon for the wallet tile as a fallback option - if it fails fetching the icon from QAW Client, the fallback icon will be used.

Bug: 180959290
Test: atest

Change-Id: I56bdbef5b4d5d41abacb598422d8a2a4716a79fd
2021-03-18 05:43:58 +00:00
Fabian Kozynski
e803146815 Add new Next Alarm tile
Test: atest AlarmTileTest
Test: manual
Fixes: 182171767
Change-Id: If9cf7d01e90027c8db32b414b9b911e21d409d1a
2021-03-08 14:21:55 -05:00
Fabian Kozynski
680a5e1227 Add a button in QSFooter to trigger PM lite
Behind an overlay flag and global setting sysui_pm_lite. Needs restart
after changing the setting.

Test: manual
Fixes: 181151102
Change-Id: I86b55b7162c267607e1ecc358dc591aa9d258570
2021-02-24 15:43:10 -05:00
Peiyong Lin
5064d44799 Add flag_navigation_bar_overlay
Bug: b/174956354
Test: manual
Change-Id: I9045a6e02f53f39ce4e06e8e677657514f836715
2021-02-24 00:59:51 +00:00
Josh Tsuji
db4738b8ba Merge changes from topic "aod-lockscreen-gx" into sc-dev
* changes:
  Add additional tests for AOD/unlocked animations.
  Use new GX overlay for new AOD/lockscreen transitions.
2021-02-16 17:32:47 +00:00
Josh Tsuji
5a2b56975f Use new GX overlay for new AOD/lockscreen transitions.
Disabled by default due to b/179947580.

Bug: 169693662
Test: atest SystemUITests
Test: enable/disable overlay and wake/sleep device a lot
Change-Id: Ia93c9af7bfccdd56fe37038adde9dee0e59c66f9
2021-02-12 16:53:43 -05:00
Ned Burns
08c619d665 Merge "Re-enable new notif pipeline in background" into sc-dev 2021-02-12 16:14:42 +00:00
TreeHugger Robot
8443a371ca Merge "Revert "Use new GX overlay for new AOD/lockscreen transitions."" into sc-dev 2021-02-12 04:45:30 +00:00
Josh Tsuji
67a2a1c80d Revert "Use new GX overlay for new AOD/lockscreen transitions."
Revert "Use new GX overlay for new AOD/lockscreen transitions."

Revert submission 13519645-aod-lockscreen-animation-flag

Reason for revert: b/179947580
Reverted Changes:
I343400700:Use new GX overlay for new AOD/lockscreen transiti...
I326ad5294:Use new GX overlay for new AOD/lockscreen transiti...

Change-Id: I8705764f0a0505d1851cf3d9c988fff0f3ec3cdd
2021-02-12 02:46:22 +00:00
Ned Burns
73e2087b3d Re-enable new notif pipeline in background
This was accidentally disabled in ag/13357296

Bug: 173126564
Test: atest
Change-Id: Id8413ea472701893f7ce99e7f2422025a7ada549
2021-02-11 16:49:08 -05:00
Lucas Dupin
4222ef1439 User OverlayIdentifier instead of @ColorInt
Migrated the feature flag to the new FeatureFlags infrastructure and
replaced the @ColorInt interface by a more flexible OverlayIdentifier.

Test: atest ThemeOverlayApplierTest
Test: atest ThemeOverlayControllerTest
Bug: 171916625
Change-Id: I701fd5bda2aca67c069f25a22d397d56b077d450
2021-02-10 15:53:26 -08:00
Beverly
75a4033db8 Update Toast visuals + motion
Puts Toast style/animation changes behind a FeatureFlag

Toasts can be added via Toast APIs OR legacy apps can add the
window directly. Because toast windows can be added directly by legacy
apps, DisplayPolicy.java requires that toast windows are removed
after TOAST_WINDOW_TIMEOUT.  This also means Toast windows added via
the Toast APIs are subject to this timeout. Therefore, this CL also
increases the timeout by 600ms to account for SystemUI's in/out
toast animations.

Bug: 169587378
Test: atest ToastUITest
Test: manual, rotate device while toast is showing
Change-Id: Ib17655c253f4ec4f7018cc5f7939b88a50ea5014
Merged-In: Ib17655c253f4ec4f7018cc5f7939b88a50ea5014
2021-02-10 17:08:51 +00:00
Josh Tsuji
dd79a62ac0 Use new GX overlay for new AOD/lockscreen transitions.
This will enable the transitions in dogfood!

Bug: 169693662
Test: atest SystemUITests
Test: enable/disable overlay and wake/sleep device a lot
Change-Id: I343400700c5ba25f2575e81cc22994932b230023
2021-02-08 20:35:14 -05:00
Flavio Fiszman
c4f1d275e8 Create People Space FeatureFlag
Change-Id: I72acf62327626b62b19665b9ddd70cf766f5ebbd
Test: manual
Bug: 170396074 178572986
Merged-In: I2d8d9b22b8cff1404b24eb59b81863c6fb9e3964
2021-02-01 19:00:10 +00:00
Fabian Kozynski
ca884932ad Flags for brightness slider
Test: manual
Fixes: 178485354
Change-Id: If29f81a0089df6f0cc790fd140890eaba9359903
Merged-In: If29f81a0089df6f0cc790fd140890eaba9359903
2021-02-01 16:23:11 +00:00
Jeff DeCew
69ed0779b4 Merge "Move notification shade changes into GX Overlay." into sc-dev 2021-01-28 13:55:31 +00:00
Jeff DeCew
ed814087e8 Move notification shade changes into GX Overlay.
* Reduce horizontal margins and padding for shade
* Restore old dismiss rest behavior
* Restore notification background
* Hide the 'two radii' new feature (small radius now 0)
* Reduce notification divider height

Test: manual inspection w/ and w/o overlay
Test: atest NotificationRoundnessManagerTest
Test: atest NotificationMenuRowTest
Fixes: 175710408
Fixes: 178609228
Change-Id: I3e3e6359a8afb7d9f07a1922c3f884901e16e458
2021-01-27 20:15:39 -05:00
Ned Burns
0eb318039e Disable flag override on standard builds
Bug: 177954419
Test: manual
Change-Id: I3a7bb82fdf3facc5c273d4b7f52d55f94850a12d
2021-01-27 22:54:32 +00:00
TreeHugger Robot
3cb20493af Merge "Hide AOD/LS layout changes" 2021-01-26 21:02:24 +00:00
Matt Pietal
9bade6ba98 Hide AOD/LS layout changes
Add support for new sysui overlay in order to disable aod/ls layouts
from the preview builds.

Bug: 178471752
Test: atest KeyguardUpdateMonitorTest
Change-Id: Iaf1dd2ba73368a3c43efe81c10aa9df42df6fdbe
2021-01-26 13:14:24 -05:00
Lucas Dupin
16736be2c0 Merge "Make shade transparent by default" 2021-01-26 18:13:42 +00:00
Fabian Kozynski
d908739dc0 Flags for qs labels
Test: atest SystemUITests
Test: manual
Fixes: 178390389

Change-Id: If7c6371ccd58b49cec0e9fdedc2bbbb120e4788e
2021-01-26 10:51:01 -05:00
Lucas Dupin
43778ff5c8 Make shade transparent by default
Test: visual
Bug: 171916625
Change-Id: I21c55ba653bb94dc8c61f09609abacad20a77649
2021-01-25 12:20:52 -08:00
Lucas Dupin
dc1d4f1a3b Make shade transparent under a flag
Shade can now look like what we had on R, where QS has a solid
brackground and scrims are transparent.

Test: atest QSFragmentTest ScrimControllerTest
Test: manual
Bug: 171916625
Change-Id: If85b3993c1e11d4ad9555e8161d5e3fab4b91749
2021-01-21 18:59:33 -08:00
Ned Burns
6b240f30c2 Converts FeatureFlags to use overlayable resource flags
Updates the FeatureFlags wrapper to be backed by resource booleans.
These flags can be modified via RRO to create different build
configurations.

These flags can be locally overridden on all configurations where
are_flags_overrideable is true. It's intended that this value is
true for development builds but not production ones.

Test: atest SystemUITests:FeatureFlagReaderTest
Bug: 177954419
Change-Id: I847fa2659c0ca000431681f24f460269efbd49af
2021-01-20 05:25:20 +00:00