Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java23 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_DOWN;
196 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp()
232 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming()
259 assertThat(downEvent, both(IS_ACTION_DOWN).and(isAtPoint(startPoint, in testSwipe_shouldContainPointsInALine()
300 assertThat(mMotionEvents.get(0), both(IS_ACTION_DOWN).and(isAtPoint(startPoint))); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
325 assertThat(mMotionEvents.get(0), IS_ACTION_DOWN); in testAngledPinch_looksReasonable()
452 both(IS_ACTION_DOWN).and(isAtPoint(viewPortCenter, POINT_TOL))); in testClickWhenMagnified_matchesActualTouch()
458 both(IS_ACTION_DOWN).and(isAtPoint(viewPortCenterWithOffset, POINT_TOL))); in testClickWhenMagnified_matchesActualTouch()
490 assertThat(mMotionEvents.get(0), allOf(IS_ACTION_DOWN, isAtPoint(start))); in testContinuedGestures_motionEventsContinue()
554 both(IS_ACTION_DOWN).and(isAtPoint(midPoint))); in testContinuedGesture_nextGestureDoesntContinue_isCancelled()
DTouchExplorerTest.java20 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_DOWN;
251 assertThat(motionEvents.get(0), both(IS_ACTION_DOWN).and(isRawAtPoint(mTapLocation, 1.0f))); in testFastSwipe_doesNotInitiateTouchExploration()
347 assertThat(motionEvents.get(0), both(IS_ACTION_DOWN).and(isRawAtPoint(mTapLocation, 1.0f))); in testDoubleTapNoFocus_doesNotPerformClick()
349 assertThat(motionEvents.get(2), both(IS_ACTION_DOWN).and(isRawAtPoint(mTapLocation, 1.0f))); in testDoubleTapNoFocus_doesNotPerformClick()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java49 public static final Matcher<MotionEvent> IS_ACTION_DOWN = field in GestureUtils