commit | c36d21edf61e4d3430b3f6b99feca30e13fcfc87 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Tue Jan 17 09:59:38 2023 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Jan 17 10:11:48 2023 -0800 |
tree | 2d6c460bd5ff8bfd4728249735ff75873b526544 | |
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