Home
last modified time | relevance | path

Searched refs:slop (Results 1 – 3 of 3) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java179 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/
DTouchExplorerTest.java285 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/
DViewTest.java3664 final int slop = ViewConfiguration.get(mActivity).getScaledTouchSlop(); in testOnTouchEventScroll() local
3665 x = xy[0] + viewWidth + slop; in testOnTouchEventScroll()
3666 y = xy[1] + viewHeight + slop; in testOnTouchEventScroll()