DescriptionProvide max gesture bounds and option to ignore touch size during pinch
Certain devices produce garbage |MotionEvent.getTouchMajor()| values, either
unreasonably small or unreasonable large, with extreme variance between touches.
This can cause a number of problems with the current gesture detection pipeline.
Add a maximum gesture bounds size as a sanity fallback for tap disambiguation.
Also disable by default the use of touch size when calculating the pinch scale
factor. Its use does not seem to add any measurable benefit, but can produce
severe scale artifacts on devices with unpredictable touch sizes. This
phenomenon appears to be more common on devices originally targetted for ICS.
BUG=376618
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281078
Patch Set 1 #Patch Set 2 : Fix comment #Patch Set 3 : Disable for pre-JBMR1 #Patch Set 4 : Fix test name #Patch Set 5 : Fix DCHECK #
Total comments: 6
Patch Set 6 : Code review #Messages
Total messages: 8 (0 generated)
|