diff options
author | Joshua Tsuji <tsuji@google.com> | 2020-01-30 18:03:09 -0500 |
---|---|---|
committer | Joshua Tsuji <tsuji@google.com> | 2020-02-06 16:14:23 -0500 |
commit | 5b139c32464b56c30cd8d7c2304acf044a65282a (patch) | |
tree | c2e547cd9af0c746d5b7e2edc32ef7528060f4e7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 65aa3388cccd51e00efca9f68c48c024dfa14c75 (diff) |
Adds estimateFlingEndValue to PhysicsAnimator.
Flings do not have a set end value, and decelerate via friction until coming to a halt. However, it's sometimes useful to have an estimate of where that might be - similar logic is used by flingMustReachMinOrMax.
Test: atest SystemUITests
Change-Id: I271a1587a321b97fbbdad1c00605a17342b6e694
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions