Home
last modified time | relevance | path

Searched refs:endPoint1 (Results 1 – 2 of 2) sorted by relevance

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DUiObject.java882 Point endPoint1 = new Point(rect.centerX() - (int)((rect.width()/2) * percentage), in pinchOut() local
887 return performTwoPointerGesture(startPoint1, startPoint2, endPoint1, endPoint2, steps); in pinchOut()
920 Point endPoint1 = new Point(rect.centerX() - FINGER_TOUCH_HALF_WIDTH, rect.centerY()); in pinchIn() local
923 return performTwoPointerGesture(startPoint1, startPoint2, endPoint1, endPoint2, steps); in pinchIn()
939 @NonNull Point endPoint1, @NonNull Point endPoint2, int steps) { in performTwoPointerGesture() argument
945 final float stepX1 = (endPoint1.x - startPoint1.x) / steps; in performTwoPointerGesture()
946 final float stepY1 = (endPoint1.y - startPoint1.y) / steps; in performTwoPointerGesture()
984 p1.x = endPoint1.x; in performTwoPointerGesture()
985 p1.y = endPoint1.y; in performTwoPointerGesture()
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiObjectTest.java700 Point endPoint1 = new Point(visibleBounds.left + 50, visibleBounds.bottom - 50); in testPerformTwoPointerGesture_withZeroSteps() local
703 assertTrue(touchRegion.performTwoPointerGesture(startPoint1, startPoint2, endPoint1, in testPerformTwoPointerGesture_withZeroSteps()