Searched refs:downY (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiScrollable.java | 422 int downY = 0; in scrollForward() local 432 downY = rect.bottom - swipeAreaAdjust; in scrollForward() 440 downY = rect.centerY(); in scrollForward() 444 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollForward() 501 int downY = 0; in scrollBackward() local 512 downY = rect.top + swipeAreaAdjust; in scrollBackward() 521 downY = rect.centerY(); in scrollBackward() 525 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollBackward()
|
D | InteractionController.java | 348 public boolean scrollSwipe(final int downX, final int downY, final int upX, final int upY, 350 Log.d(LOG_TAG, "scrollSwipe (" + downX + ", " + downY + ", " + upX + ", " 356 swipe(downX, downY, upX, upY, steps); 389 } else if (downY == upY) { 424 public boolean swipe(int downX, int downY, int upX, int upY, int steps) { 425 return swipe(downX, downY, upX, upY, steps, false /*drag*/); 438 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) { 449 yStep = ((double)(upY - downY)) / swipeSteps; 452 ret = touchDown(downX, downY); 456 ret &= touchMove(downX + (int)(xStep * i), downY + (int)(yStep * i));
|