diff options
author | 2023-03-10 15:17:43 +0000 | |
---|---|---|
committer | 2023-03-13 18:37:32 +0000 | |
commit | 24492e67d413f9f1330deab239cb30343f25aa3e (patch) | |
tree | 6813536cdb1a1b6aef57ed324ddba87a07949f16 /services/surfaceflinger/SurfaceFlinger.cpp | |
parent | 3fcbed1e8e42b9aa109a3b370f5ed13b68b336e1 (diff) |
Add IS_GENERATED_GESTURE flag to touchpad scrolling
The IS_GENERATED_GESTURE flag was added to improve scrolling in ARC++,
and tells GestureDetector that the finger going down and moving is
definitely for scrolling, meaning that it doesn't wait until ~20 pixels
of movement have happened before starting the scroll. Adding it here
should make scrolling a little more responsive, and also make the events
more consistent with those for scrolling on ChromeOS.
Bug: 251196347
Test: atest inputflinger_test
Test: check touchpad scrolling still works well
Change-Id: I17ac063fdea1f38413fd8060258c79bff3ccd5c0
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
0 files changed, 0 insertions, 0 deletions