Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java27 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_UP;
197 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp()
233 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming()
253 waitForMotionEvents(IS_ACTION_UP, 1); in testSwipe_shouldContainPointsInALine()
261 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint, pointTolerance))); in testSwipe_shouldContainPointsInALine()
297 waitForMotionEvents(IS_ACTION_UP, 1); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
304 assertThat(mMotionEvents.get(4), both(IS_ACTION_UP).and(isAtPoint(endPoint))); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
321 waitForMotionEvents(IS_ACTION_UP, 1); in testAngledPinch_looksReasonable()
328 assertThat(mMotionEvents.get(numEvents - 1), IS_ACTION_UP); in testAngledPinch_looksReasonable()
454 both(IS_ACTION_UP).and(isAtPoint(viewPortCenter, POINT_TOL))); in testClickWhenMagnified_matchesActualTouch()
[all …]
DTouchExplorerTest.java21 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_UP;
254 both(IS_ACTION_UP).and(isRawAtPoint(endPoint, 1.0f))); in testFastSwipe_doesNotInitiateTouchExploration()
348 assertThat(motionEvents.get(1), both(IS_ACTION_UP).and(isRawAtPoint(mTapLocation, 1.0f))); in testDoubleTapNoFocus_doesNotPerformClick()
350 assertThat(motionEvents.get(3), both(IS_ACTION_UP).and(isRawAtPoint(mTapLocation, 1.0f))); in testDoubleTapNoFocus_doesNotPerformClick()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java53 public static final Matcher<MotionEvent> IS_ACTION_UP = field in GestureUtils