Searched refs:downX (Results 1 - 2 of 2) sorted by relevance

/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiScrollable.java316 int downX = 0;
326 downX = rect.centerX();
334 downX = rect.right - swipeAreaAdjust;
339 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps);
379 int downX = 0;
390 downX = rect.centerX();
399 downX = rect.left + swipeAreaAdjust;
404 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps);
H A DInteractionController.java375 * @param downX
382 public boolean scrollSwipe(final int downX, final int downY, final int upX, final int upY, argument
384 Log.d(LOG_TAG, "scrollSwipe (" + downX + ", " + downY + ", " + upX + ", "
390 swipe(downX, downY, upX, upY, steps);
400 * @param downX
407 public boolean swipe(int downX, int downY, int upX, int upY, int steps) { argument
417 xStep = ((double)(upX - downX)) / swipeSteps;
421 ret = touchDown(downX, downY);
423 ret &= touchMove(downX + (int)(xStep * i), downY + (int)(yStep * i));

Completed in 51 milliseconds