Searched refs:slop (Results 1 – 3 of 3) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | GestureUtils.java | 237 public static GestureDescription multiTap(PointF point, int taps, int slop) { in multiTap() argument 242 public static GestureDescription multiTap(PointF point, int taps, int slop, int displayId) { in multiTap() argument 254 stroke = click(getPointWithinSlop(point, slop)); in multiTap() 357 public static PointF getPointWithinSlop(PointF point, int slop) { 358 return add(point, slop / 2, 0); 403 int slop, 422 pointers[i] = getPointWithinSlop(pointers[i], slop); 448 int slop, 471 pointers[i] = getPointWithinSlop(pointers[i], slop);
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | TouchExplorerTest.java | 304 int slop = ViewConfiguration.get(sInstrumentation.getContext()).getScaledDoubleTapSlop(); in testSloppyDoubleTapAccessibilityFocus_performsClick() local 305 dispatch(multiTap(mTapLocation, 2, slop)); in testSloppyDoubleTapAccessibilityFocus_performsClick()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3798 final int slop = ViewConfiguration.get(mActivity).getScaledTouchSlop(); in testOnTouchEventScroll() local 3799 x = xy[0] + viewWidth + slop; in testOnTouchEventScroll() 3800 y = xy[1] + viewHeight + slop; in testOnTouchEventScroll()
|