commit | 29ee27c5a4d793c6d46f272c7704c1839334f71f | [log] [tgz] |
---|---|---|
author | Paul Ramirez <peramirez@google.com> | Wed Oct 02 08:18:53 2024 +0000 |
committer | Paul Ramirez <peramirez@google.com> | Tue Oct 22 20:15:43 2024 +0000 |
tree | ab99bff24661303782aaae1aa47b3bc8724bade7 | |
parent | 7128079c2ac9721ca123d0b5b8f974e0da6f8126 [diff] |
Add map like pointer lookup to LegacyResampler Added map lookup operations to find pointers by ID when resampling them inside LegacyResampler. The CL fixes the assumption that pointers should appear in the same order between motion events. Moreover, tests from LegacyResampler are updated to the new behavior. Bug: 297226446 Flag: EXEMPT refactor Test: TEST=libinput_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Change-Id: I59c83d2e55bf4ab3cb7958cab333428499f6fee8