Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 4 of 4) sorted by relevance

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DPointerGesture.java78 public PointerGesture move(Point dest, int speed) { in move() argument
79 mActions.addLast(new PointerLinearMoveAction(mActions.peekLast().end, dest, speed)); in move()
DUiObject2.java618 public void drag(@NonNull Point dest) { in drag() argument
619 drag(dest, (int) (DEFAULT_DRAG_SPEED * mDisplayDensity)); in drag()
628 public void drag(@NonNull Point dest, int speed) { in drag() argument
634 center.y, dest.x, dest.y, speed)); in drag()
635 mGestureController.performGesture(mGestureFactory.drag(center, dest, speed)); in drag()
DUiDevice.java1212 public void dumpWindowHierarchy(@NonNull File dest) throws IOException { in dumpWindowHierarchy() argument
1213 Log.d(TAG, String.format("Dumping window hierarchy to %s.", dest)); in dumpWindowHierarchy()
1214 try (OutputStream stream = new BufferedOutputStream(new FileOutputStream(dest))) { in dumpWindowHierarchy()
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiObject2Test.java178 Point dest = dragDestination.getVisibleCenter(); in testDrag_dest() local
180 dragButton.drag(dest); in testDrag_dest()
192 Point dest = dragDestination.getVisibleCenter(); in testDrag_destAndSpeed() local
194 dragButton.drag(dest, 1000); in testDrag_destAndSpeed()
206 Point dest = dragDestination.getVisibleCenter(); in testDrag_destAndSpeed_throwsIllegalArgumentException() local
209 () -> dragButton.drag(dest, -1000)); in testDrag_destAndSpeed_throwsIllegalArgumentException()