Searched refs:isAtPoint (Results 1 – 2 of 2) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 32 import static android.accessibilityservice.cts.utils.GestureUtils.isAtPoint; 196 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp() 197 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp() 232 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming() 233 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming() 259 assertThat(downEvent, both(IS_ACTION_DOWN).and(isAtPoint(startPoint, in testSwipe_shouldContainPointsInALine() 261 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint, pointTolerance))); in testSwipe_shouldContainPointsInALine() 273 isAtPoint(intermediatePoint, pointTolerance))); in testSwipe_shouldContainPointsInALine() 300 assertThat(mMotionEvents.get(0), both(IS_ACTION_DOWN).and(isAtPoint(startPoint))); in testSlowSwipe_shouldNotContainMovesForTinyMovement() 301 assertThat(mMotionEvents.get(1), both(IS_ACTION_MOVE).and(isAtPoint(intermediatePoint1))); in testSlowSwipe_shouldNotContainMovesForTinyMovement() [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | GestureUtils.java | 310 public static Matcher<MotionEvent> isAtPoint(final PointF point) { in isAtPoint() method in GestureUtils 311 return isAtPoint(point, 0.01f); in isAtPoint() 314 public static Matcher<MotionEvent> isAtPoint(final PointF point, final float tol) { in isAtPoint() method in GestureUtils
|