diff options
author | Shan Huang <shanh@google.com> | 2021-03-13 14:40:01 +0800 |
---|---|---|
committer | Shan Huang <shanh@google.com> | 2021-03-19 00:43:11 +0800 |
commit | 3a13219bac1855461858b3ed83184fd1afc2bdb3 (patch) | |
tree | 0b10537e2d77e0f184cd0724213f96b03de93440 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1dfe5cf4622900a13615df362bb21f3e5993a86f (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions