Home
last modified time | relevance | path

Searched refs:downY (Results 1 – 6 of 6) 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/legacy/recents/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.java1007 public float getDeltaPForY(int downY, int y) { in getDeltaPForY() argument
1009 return mTaskStackLowRamLayoutAlgorithm.scrollToPercentage(downY - y); in getDeltaPForY()
1011 float deltaP = (float) (y - downY) / mStackRect.height() * in getDeltaPForY()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/
DIOverviewProxy.aidl130 void onBackAction(boolean completed, int downX, int downY, boolean isButton, in onBackAction() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyService.java497 public void notifyBackAction(boolean completed, int downX, int downY, boolean isButton, in notifyBackAction() argument
501 mOverviewProxy.onBackAction(completed, downX, downY, isButton, gestureSwipeLeft); in notifyBackAction()