summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2022-09-10 23:09:15 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2022-09-13 10:57:36 -0700
commit47ff7080aef55395f038e4bdae59c95505dde51a (patch)
treef71c3ee3541f0b145efced7df13bdb736a9c9e95 /libs/gui/LayerDebugInfo.cpp
parent0d169d903b2ad1892a06df4c232e006689d5e05d (diff)
Improve VelocityTracker Strategy Handling
The native VelocityTracker class has been made 1-dimensional to allow support for axes beyond the historically-supported X/Y axes. This means that a given VelocityTracker instance does not necessarily handle data for all supported axes. As such, this CL sets up tracking strategy for an axis only on the first occassion a data arrives for the axis. Furthermore, to support use cases where different strategies may suit different axes better, we have introduced per-axis default strategies. Bug: 32830165 Test: atest libinput_tests; manual on-device fling tests Change-Id: I3f7115fdcec78d1577e90e9a55175e8868bf2dfb
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions