Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e0b70381 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Introduce FlingOnBackAnimationCallback to make use of new timestamp API

With the new frameTime field in BackEvent, velocity can be calculated on the client side. Therefore this CL introduces a FlingOnBackAnimationCallback that automatically animates back gesture flings.

Bug: 362938401
Test: FlingOnBackAnimationCallbackTest
Flag: com.android.window.flags.predictive_back_timestamp_api
Change-Id: I3bcf0ef23ab0171cbd8326ad4e0d548dcf87b334
parent a28b2a71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment