Searched refs:slop (Results 1 – 3 of 3) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | GestureUtils.java | 179 public static GestureDescription multiTap(PointF point, int taps, int slop) { in multiTap() argument 190 stroke = click(getPointWithinSlop(point, slop)); in multiTap() 289 public static PointF getPointWithinSlop(PointF point, int slop) { 290 return add(point, slop / 2, 0); 329 int fingerCount, int tapCount, int slop, int displayId) { 347 pointers[i] = getPointWithinSlop(pointers[i], slop); 373 int slop, 396 pointers[i] = getPointWithinSlop(pointers[i], slop);
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | TouchExplorerTest.java | 285 int slop = ViewConfiguration.get(mInstrumentation.getContext()).getScaledDoubleTapSlop(); in testSloppyDoubleTapAccessibilityFocus_performsClick() local 286 dispatch(multiTap(mTapLocation, 2, slop)); in testSloppyDoubleTapAccessibilityFocus_performsClick()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3668 final int slop = ViewConfiguration.get(mActivity).getScaledTouchSlop(); in testOnTouchEventScroll() local 3669 x = xy[0] + viewWidth + slop; in testOnTouchEventScroll() 3670 y = xy[1] + viewHeight + slop; in testOnTouchEventScroll()
|