diff options
| author | 2022-12-15 00:41:33 +0000 | |
|---|---|---|
| committer | 2022-12-28 22:53:35 +0000 | |
| commit | 1887b976699123fe433f7b1216e728aaf31866ef (patch) | |
| tree | d47c3150c41127e234968b07007f8a2f2ae1e815 /libs/androidfw/ApkParsing.cpp | |
| parent | 971c479068bd11170ec3618f6dbce87a9612e7e0 (diff) | |
Refactor Turbulence noise
1. introduced three states (ease-in, main, and ease-out) to better control each animation & support non-fixed duration animation
(such as loading).
2. move business logic to the controller.
Follow up tasks (ordered in priority):
- have media player send a signal to end the animation. (currently it
finishes after the max duration.)
- update animation curve (currently it's all linear)
- support force finish if needed (currently finish only works when the
state is MAIN)
Bug: 237282226
Test: TurbulenceNoiseViewTest, TurbulenceNoiseControllerTest
Change-Id: I711c87096c7c9af6e322104ad0138c4fd78c4953
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions