summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author omarmt <omarmt@google.com> 2023-02-15 12:50:26 +0000
committer omarmt <omarmt@google.com> 2023-04-05 12:16:30 +0000
commit4ad57489bf595178d342001d6d2e1af697657409 (patch)
treed584c4e66749faedd63981abac9775b3387540d4 /libs/hwui/AutoBackendTextureRelease.cpp
parent48720843300ce529887a18e6415ef459bbde192e (diff)
BackMotionEvent: add velocity (in pixels/second)
The velocity of the `BackMotionEvent` will be used to fire additional events when the user lifts their finger. Note: Velocity is calculated for the last event only, for performance reasons (see `VelocityTracker.computeCurrentVelocity`). `Float.NaN` will indicate that the value has not been calculated. Test: atest BackAnimationControllerTest Bug: 263402927 Change-Id: I301636f572eb4e59abc69f6fee11d8dba5647a16
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions