Home
last modified time | relevance | path

Searched refs:startPoint (Results 1 – 5 of 5) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java247 PointF startPoint = new PointF(mStartPoint.x, mStartPoint.y); in testSwipe_shouldContainPointsInALine() local
251 dispatch(swipeWithinView(startPoint, endPoint, gestureTime), in testSwipe_shouldContainPointsInALine()
259 assertThat(downEvent, both(IS_ACTION_DOWN).and(isAtPoint(startPoint, in testSwipe_shouldContainPointsInALine()
270 PointF intermediatePoint = add(startPoint, in testSwipe_shouldContainPointsInALine()
271 times(fractionOfSwipe, diff(endPoint, startPoint))); in testSwipe_shouldContainPointsInALine()
288 PointF startPoint = new PointF(mStartPoint.x, mStartPoint.y); in testSlowSwipe_shouldNotContainMovesForTinyMovement() local
295 dispatch(swipeWithinView(startPoint, endPoint, gestureTime), in testSlowSwipe_shouldNotContainMovesForTinyMovement()
300 assertThat(mMotionEvents.get(0), both(IS_ACTION_DOWN).and(isAtPoint(startPoint))); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
504 PointF startPoint = new PointF(mStartPoint.x, mStartPoint.y); in testContinuedGesture_withLineDisconnect_isCancelled() local
510 new StrokeDescription(lineWithinView(startPoint, midPoint), 0, gestureTime, true); in testContinuedGesture_withLineDisconnect_isCancelled()
[all …]
DAccessibilityGestureDetectorTest.java412 Path linePath(Point startPoint, Point delta1, Point delta2) { in linePath() argument
414 path.moveTo(startPoint.x, startPoint.y); in linePath()
415 path.lineTo(startPoint.x + delta1.x, startPoint.y + delta1.y); in linePath()
417 path.lineTo(startPoint.x + delta2.x, startPoint.y + delta2.y); in linePath()
DFullScreenMagnificationGestureHandlerTest.java300 for (final PointF startPoint : new PointF[]{mTapLocation, mTapLocation2}) { in testPanning()
301 final PointF midPoint = add(startPoint, -minSwipeDistance, 0); in testPanning()
302 final PointF endPoint = add(startPoint, -mPan, 0); in testPanning()
303 final StrokeDescription firstStroke = new StrokeDescription(path(startPoint, midPoint), in testPanning()
DTouchInteractionControllerTest.java260 PointF startPoint = add(mTapLocation, -mSwipeDistance, 0); in testInterruptedSwipe_generatesConsistentEventStream() local
262 dispatch(interruptedSwipe(startPoint, endPoint, mSwipeTimeMillis)); in testInterruptedSwipe_generatesConsistentEventStream()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewHandwritingGestureTest.java1960 private void performRemoveSpaceGesture(PointF startPoint, PointF endPoint) { in performRemoveSpaceGesture() argument
1961 performRemoveSpaceGesture(startPoint, endPoint, /* setFallbackText= */ true); in performRemoveSpaceGesture()
1965 PointF startPoint, PointF endPoint, boolean setFallbackText) { in performRemoveSpaceGesture() argument
1966 startPoint.offset(mLocationOnScreen[0], mLocationOnScreen[1]); in performRemoveSpaceGesture()
1969 .setPoints(startPoint, endPoint) in performRemoveSpaceGesture()