Home
last modified time | relevance | path

Searched refs:isAtPoint (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java32 import static android.accessibilityservice.cts.utils.GestureUtils.isAtPoint;
191 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp()
192 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp()
226 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming()
227 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming()
253 assertThat(downEvent, both(IS_ACTION_DOWN).and(isAtPoint(startPoint, in testSwipe_shouldContainPointsInALine()
255 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint, pointTolerance))); in testSwipe_shouldContainPointsInALine()
267 isAtPoint(intermediatePoint, pointTolerance))); in testSwipe_shouldContainPointsInALine()
294 assertThat(mMotionEvents.get(0), both(IS_ACTION_DOWN).and(isAtPoint(startPoint))); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
295 assertThat(mMotionEvents.get(1), both(IS_ACTION_MOVE).and(isAtPoint(intermediatePoint1))); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java241 public static Matcher<MotionEvent> isAtPoint(final PointF point) { in isAtPoint() method in GestureUtils
242 return isAtPoint(point, 0.01f); in isAtPoint()
245 public static Matcher<MotionEvent> isAtPoint(final PointF point, final float tol) { in isAtPoint() method in GestureUtils