commit | e0b7038114f6fd207fd0da5f700cc2f1044fd41d | [log] [tgz] |
---|---|---|
author | Johannes Gallmann <gallmann@google.com> | Fri Oct 11 15:58:38 2024 +0000 |
committer | Johannes Gallmann <gallmann@google.com> | Thu Oct 17 13:08:26 2024 +0000 |
tree | 565718c4c389b1a8459eaf9bcbb15db745647f70 | |
parent | a28b2a713465af4a024d34240c0ca378a4783e0c [diff] |
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