diff options
author | 2023-01-17 09:59:38 -0800 | |
---|---|---|
committer | 2023-01-17 10:11:48 -0800 | |
commit | c36d21edf61e4d3430b3f6b99feca30e13fcfc87 (patch) | |
tree | 2d6c460bd5ff8bfd4728249735ff75873b526544 /libs/gui/LayerState.cpp | |
parent | 68950fb9e6d9a987bb0e849469a491d4242ac1b5 (diff) |
Ignore resampled values when computing velocity
VelocityTracker should only operate on the actual data produced by the
touchscreen. It should not use the fake, synthesized data during the
computation.
Using such data can cause unwanted artifacts such as backwards fling,
etc.
Bug: 167946721
Test: m libinput_tests && $ANDROID_HOST_OUT/nativetest64/libinput_tests/libinput_tests
Change-Id: I1ffdc1d38b0b335419f20c7bdd0d4473942bbf57
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions