diff options
author | ryanlwlin <ryanlwlin@google.com> | 2020-06-20 13:52:44 +0800 |
---|---|---|
committer | ryanlwlin <ryanlwlin@google.com> | 2020-06-22 11:24:17 +0800 |
commit | 1f913ea0dca7b13c32d6776c262d225aa5c8eada (patch) | |
tree | 38a27fd865ec998485fd364df37f1ad18ca21538 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7144459282730dc65837c74531d15a0d585bd065 (diff) |
Fix Hard to detect multi-finger multi-tap
The double-tap/touch slope is from system's double-tap detector.
This threshold is too narrow for multi-finger multi-tap. It ends up
canceling the detection when the movement exceed the slope.
We adjust the slopes by multiplying the target finger count.
The maxium slope in 4 fingers is around 4.48 mm is smaller than
the swipe threshold (1 cm)
Bug: 158725482
Test: atest GestureManifoldTest
atest TouchExplorerTest
atest AccessibilityGestureDetectorTest
Change-Id: If0927d15d61a9682da67721d0bf0bbbc1045078b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions