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.java26 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_UP;
192 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testClickAt_producesDownThenUp()
227 assertThat(clickUp, both(IS_ACTION_UP).and(isAtPoint(clickPoint))); in testLongClickAt_producesEventsWithLongClickTiming()
247 waitForMotionEvents(IS_ACTION_UP, 1); in testSwipe_shouldContainPointsInALine()
255 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint, pointTolerance))); in testSwipe_shouldContainPointsInALine()
291 waitForMotionEvents(IS_ACTION_UP, 1); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
298 assertThat(mMotionEvents.get(4), both(IS_ACTION_UP).and(isAtPoint(endPoint))); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
315 waitForMotionEvents(IS_ACTION_UP, 1); in testAngledPinch_looksReasonable()
322 assertThat(mMotionEvents.get(numEvents - 1), IS_ACTION_UP); in testAngledPinch_looksReasonable()
426 both(IS_ACTION_UP).and(isAtPoint(magRegionCenterPoint, POINT_TOL))); in testClickWhenMagnified_matchesActualTouch()
[all …]
DTouchExplorerTest.java21 import static android.accessibilityservice.cts.utils.GestureUtils.IS_ACTION_UP;
231 both(IS_ACTION_UP).and(isRawAtPoint(endPoint, 1.0f))); in testFastSwipe_doesNotInitiateTouchExploration()
336 assertThat(motionEvents.get(1), both(IS_ACTION_UP).and(isRawAtPoint(mTapLocation, 1.0f))); in testDoubleTapNoFocus_doesNotPerformClick()
338 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.java44 public static final Matcher<MotionEvent> IS_ACTION_UP = field in GestureUtils