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
Loading
Please register or sign in to comment