diff options
| author | 2024-05-28 16:29:06 +0900 | |
|---|---|---|
| committer | 2024-06-03 01:09:28 +0000 | |
| commit | 09b2388b8c1da1195675d91084a6215f2916d6be (patch) | |
| tree | e51e312ace4496a675d351429b2018530ade269d /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | df55f52e05eaac908ac93e09e7ae95148d9a0006 (diff) | |
Apply input resampling for motion events of ToolType::MOUSE and STYLUS
As the resampling is performed for better scrolling, even when a user
is dragging with a mouse or a stylus, we'd like to do the same as
touch inputs.
Also, when an event being resampled has any pointer with a tool type
that we don’t resample, the resampled event has an old coordinate but
a new timestamp. This event is confusing. With this change, when the
event has such a pointer, events won’t be resampled.
Bug: 337849873
Test: Enable debug and resampling happens for mouse events.
Test: TouchResamplingTest
Change-Id: I9344759e28685a08e233939761f93f0b3911413c
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions