Home
last modified time | relevance | path

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

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiScrollable.java425 int downY = 0; in scrollForward() local
435 downY = rect.bottom - swipeAreaAdjust; in scrollForward()
443 downY = rect.centerY(); in scrollForward()
447 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollForward()
504 int downY = 0; in scrollBackward() local
515 downY = rect.top + swipeAreaAdjust; in scrollBackward()
524 downY = rect.centerY(); in scrollBackward()
528 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollBackward()
DInteractionController.java346 public boolean scrollSwipe(final int downX, final int downY, final int upX, final int upY,
348 Log.d(LOG_TAG, "scrollSwipe (" + downX + ", " + downY + ", " + upX + ", "
354 swipe(downX, downY, upX, upY, steps);
387 } else if (downY == upY) {
422 public boolean swipe(int downX, int downY, int upX, int upY, int steps) {
423 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
436 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {
447 yStep = ((double)(upY - downY)) / swipeSteps;
450 ret = touchDown(downX, downY);
454 ret &= touchMove(downX + (int)(xStep * i), downY + (int)(yStep * i));
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java159 public void fling(float downScrollP, int downY, int y, int velY, int minY, int maxY, in fling() argument
162 Log.d(TAG, "fling: " + downScrollP + ", downY: " + downY + ", y: " + y + in fling()
166 mFlingDownY = downY; in fling()
DTaskStackLayoutAlgorithm.java1005 public float getDeltaPForY(int downY, int y) { in getDeltaPForY() argument
1007 return mTaskStackLowRamLayoutAlgorithm.scrollToPercentage(downY - y); in getDeltaPForY()
1009 float deltaP = (float) (y - downY) / mStackRect.height() * in getDeltaPForY()