| /test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/ |
| D | UiObject.java | 193 public boolean dragTo(@NonNull UiObject destObj, int steps) throws UiObjectNotFoundException { in dragTo() argument 197 srcRect.centerX(), srcRect.centerY(), dstRect.centerX(), dstRect.centerY(), steps)); in dragTo() 199 dstRect.centerX(), dstRect.centerY(), steps, true); in dragTo() 214 public boolean dragTo(int destX, int destY, int steps) throws UiObjectNotFoundException { in dragTo() argument 217 srcRect.centerX(), srcRect.centerY(), destX, destY, steps)); in dragTo() 219 steps, true); in dragTo() 237 public boolean swipeUp(int steps) throws UiObjectNotFoundException { in swipeUp() argument 246 rect.top + SWIPE_MARGIN_LIMIT, steps)); in swipeUp() 249 steps); in swipeUp() 269 public boolean swipeDown(int steps) throws UiObjectNotFoundException { in swipeDown() argument [all …]
|
| D | UiScrollable.java | 341 public boolean scrollForward(int steps) throws UiObjectNotFoundException { in scrollForward() argument 373 downY, upX, upY, steps)); in scrollForward() 374 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollForward() 415 public boolean scrollBackward(int steps) throws UiObjectNotFoundException { in scrollBackward() argument 447 downY, upX, upY, steps)); in scrollBackward() 448 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollBackward() 461 public boolean scrollToBeginning(int maxSwipes, int steps) throws UiObjectNotFoundException { in scrollToBeginning() argument 464 if(!scrollBackward(steps)) { in scrollToBeginning() 507 public boolean scrollToEnd(int maxSwipes, int steps) throws UiObjectNotFoundException { in scrollToEnd() argument 510 if(!scrollForward(steps)) { in scrollToEnd()
|
| D | InteractionController.java | 295 final int steps) { in scrollSwipe() argument 296 Runnable command = () -> swipe(downX, downY, upX, upY, steps); in scrollSwipe() 324 public boolean swipe(int downX, int downY, int upX, int upY, int steps) { in swipe() argument 325 return swipe(downX, downY, upX, upY, steps, false /*drag*/); in swipe() 338 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) { in swipe() argument 340 int swipeSteps = steps; in swipe()
|
| D | UiDevice.java | 637 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument 639 endX, endY, steps)); in swipe() 641 .swipe(startX, startY, endX, endY, steps); in swipe() 658 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() argument 660 endX, endY, steps)); in drag() 662 .swipe(startX, startY, endX, endY, steps, true); in drag()
|