DescriptionAdopt "QuickScale" double-tap drag zoom code in the GestureProvider
QuickScale, aka double-tap drag zoom, was added in KitKat on Android. However,
the corresponding code in ScaleGestureDetector went unused by Chromium in the
old Java-based gesture detection pipeline. Remove the current custom code for
double-tap drag zoom, adopting the implementation in ScaleGestureDetector.
Note that we maintain one slight difference with the Android platform: instead
of diminishing the relative scale delta as the drag focus deiviates from the
anchor, continue using a distance-invariant scale delta computation.
BUG=332418, 359615
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261552
Patch Set 1 #Patch Set 2 : Rebase and fix #Patch Set 3 : Cleanup #Patch Set 4 : Coalesce pinches #Patch Set 5 : Comment #
Total comments: 10
Patch Set 6 : Comments #Patch Set 7 : Add pinch coalesce test #
Total comments: 1
Patch Set 8 : Yeah... #Messages
Total messages: 11 (0 generated)
|