Merge "Reduce handwritingSlop to 2dp" into udc-qpr-dev am: ac8018752c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24155267 Change-Id: I2c700ade0f4873c085161ea1ff985d3044b936cd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -181,7 +181,7 @@ public class ViewConfiguration {
|
||||
private static final int TOUCH_SLOP = 8;
|
||||
|
||||
/** Distance a stylus touch can wander before we think the user is handwriting in dips. */
|
||||
private static final int HANDWRITING_SLOP = 4;
|
||||
private static final int HANDWRITING_SLOP = 2;
|
||||
|
||||
/**
|
||||
* Defines the minimum size of the touch target for a scrollbar in dips
|
||||
|
||||
@@ -75,7 +75,7 @@ public class HandwritingInitiatorTest {
|
||||
private static final int HW_BOUNDS_OFFSETS_TOP_PX = 20;
|
||||
private static final int HW_BOUNDS_OFFSETS_RIGHT_PX = 30;
|
||||
private static final int HW_BOUNDS_OFFSETS_BOTTOM_PX = 40;
|
||||
private int mHandwritingSlop = 4;
|
||||
private int mHandwritingSlop = 2;
|
||||
|
||||
private static final Rect sHwArea1;
|
||||
private static final Rect sHwArea2;
|
||||
|
||||
Reference in New Issue
Block a user