Searched refs:mTapLocation (Results 1 – 4 of 4) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | TouchExplorerTest.java | 148 PointF mTapLocation; // Center of activity. Gestures all start from around this point. field in TouchExplorerTest 210 mTapLocation = new PointF(viewLocation[0] + midX, viewLocation[1] + midY); in setUp() 227 PointF endPoint = add(mTapLocation, mSwipeDistance, 0); in testSlowSwipe_initiatesTouchExploration() 228 dispatch(swipe(mTapLocation, add(mTapLocation, mSwipeDistance, 0), mSwipeTimeMillis)); in testSlowSwipe_initiatesTouchExploration() 242 PointF endPoint = add(mTapLocation, mSwipeDistance, 0); in testFastSwipe_doesNotInitiateTouchExploration() 243 dispatch(swipe(mTapLocation, endPoint)); in testFastSwipe_doesNotInitiateTouchExploration() 251 assertThat(motionEvents.get(0), both(IS_ACTION_DOWN).and(isRawAtPoint(mTapLocation, 1.0f))); in testFastSwipe_doesNotInitiateTouchExploration() 268 final PointF dragStart = mTapLocation; in testTwoFingerDrag_dispatchesEventsBetweenFingers() 284 dispatch(click(mTapLocation)); in testSingleTap_initiatesTouchExploration() 305 dispatch(multiTap(mTapLocation, 2, slop)); in testSloppyDoubleTapAccessibilityFocus_performsClick() [all …]
|
D | TouchInteractionControllerTest.java | 130 PointF mTapLocation; // Center of activity. Gestures all start from around this point. field in TouchInteractionControllerTest 192 mTapLocation = new PointF(viewLocation[0] + midX, viewLocation[1] + midY); in setUp() 236 dispatch(click(mTapLocation)); in testSingleTap_initiatesTouchExploration() 260 PointF startPoint = add(mTapLocation, -mSwipeDistance, 0); in testInterruptedSwipe_generatesConsistentEventStream() 261 PointF endPoint = add(mTapLocation, mSwipeDistance, 0); in testInterruptedSwipe_generatesConsistentEventStream() 294 final PointF dragStart = mTapLocation; in testTwoFingerDrag_sendsTouchEvents() 326 PointF finger1Start = add(mTapLocation, -mSwipeDistance, 0); in testTwoFingersMovingIndependently_shouldDelegate() 327 PointF finger1End = add(mTapLocation, -10, 0); in testTwoFingersMovingIndependently_shouldDelegate() 329 PointF finger2Start = add(mTapLocation, mSwipeDistance, 0); in testTwoFingersMovingIndependently_shouldDelegate() 330 PointF finger2End = add(mTapLocation, 10, 0); in testTwoFingersMovingIndependently_shouldDelegate() [all …]
|
D | FullScreenMagnificationGestureHandlerTest.java | 125 PointF mTapLocation; field in FullScreenMagnificationGestureHandlerTest 231 mTapLocation = new PointF(xy[0] + view.getWidth() / 2, xy[1] + view.getHeight() / 2); in setUp() 232 mTapLocation2 = add(mTapLocation, 31, 29); in setUp() 300 for (final PointF startPoint : new PointF[]{mTapLocation, mTapLocation2}) { in testPanning() 369 dispatch(swipe(mNavigationBarTapLocation, mTapLocation)); in testSwipeUpFromNavigationBar_zooming_zoomOut() 378 dispatch(tripleTap(mTapLocation)); in setZoomByTripleTapping() 407 StrokeDescription tap1 = click(mTapLocation); in tripleTapAndHold() 409 StrokeDescription down = startingAt(endTimeOf(tap2) + 20, pointerDown(mTapLocation)); in tripleTapAndHold() 416 dispatch(click(mTapLocation)); in assertGesturesPropagateToView() 419 dispatch(longClick(mTapLocation)); in assertGesturesPropagateToView() [all …]
|
D | AccessibilityGestureDetectorTest.java | 113 PointF mTapLocation; field in AccessibilityGestureDetectorTest 151 mTapLocation = new PointF(mCenter); in setUp() 545 StrokeDescription tap = click(mTapLocation); in tap() 550 return GestureUtils.doubleTap(mTapLocation, displayId); in doubleTap() 554 return GestureUtils.doubleTapAndHold(mTapLocation, displayId); in doubleTapAndHold() 621 final PointF base = diff(mTapLocation, FINGER_OFFSET_PX); in multiFingerMultiTap() 631 final PointF base = diff(mTapLocation, FINGER_OFFSET_PX); in multiFingerMultiTapAndHold() 653 final PointF tapLocation = new PointF(mTapLocation); in MultiFingerSwipe()
|