commit | 3a13219bac1855461858b3ed83184fd1afc2bdb3 | [log] [tgz] |
---|---|---|
author | Shan Huang <shanh@google.com> | Sat Mar 13 14:40:01 2021 +0800 |
committer | Shan Huang <shanh@google.com> | Fri Mar 19 00:43:11 2021 +0800 |
tree | 0b10537e2d77e0f184cd0724213f96b03de93440 | |
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