Skip to content
Commit 3a13219b authored by Shan Huang's avatar Shan Huang
Browse files

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
parent 1dfe5cf4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment