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.java22 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_DOWN;
191 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp()
226 assertThat(clickDown, both(IS_ACTION_DOWN).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming()
253 assertThat(downEvent, both(IS_ACTION_DOWN).and(isAtPoint(startPoint, in testSwipe_shouldContainPointsInALine()
294 assertThat(mMotionEvents.get(0), both(IS_ACTION_DOWN).and(isAtPoint(startPoint))); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
319 assertThat(mMotionEvents.get(0), IS_ACTION_DOWN); in testAngledPinch_looksReasonable()
424 both(IS_ACTION_DOWN).and(isAtPoint(magRegionCenterPoint, POINT_TOL))); in testClickWhenMagnified_matchesActualTouch()
430 both(IS_ACTION_DOWN).and(isAtPoint(magRegionOffsetPoint, POINT_TOL))); in testClickWhenMagnified_matchesActualTouch()
462 assertThat(mMotionEvents.get(0), allOf(IS_ACTION_DOWN, isAtPoint(start))); in testContinuedGestures_motionEventsContinue()
526 both(IS_ACTION_DOWN).and(isAtPoint(midPoint))); in testContinuedGesture_nextGestureDoesntContinue_isCancelled()
DTouchExplorerTest.java20 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_DOWN;
228 assertThat(motionEvents.get(0), both(IS_ACTION_DOWN).and(isRawAtPoint(mTapLocation, 1.0f))); in testFastSwipe_doesNotInitiateTouchExploration()
335 assertThat(motionEvents.get(0), both(IS_ACTION_DOWN).and(isRawAtPoint(mTapLocation, 1.0f))); in testDoubleTapNoFocus_doesNotPerformClick()
337 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.java40 public static final Matcher<MotionEvent> IS_ACTION_DOWN = field in GestureUtils