/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiScrollable.java | 424 int downX = 0; in scrollForward() local 434 downX = rect.centerX(); in scrollForward() 442 downX = rect.right - swipeAreaAdjust; in scrollForward() 447 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollForward() 503 int downX = 0; in scrollBackward() local 514 downX = rect.centerX(); in scrollBackward() 523 downX = rect.left + swipeAreaAdjust; in scrollBackward() 528 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollBackward()
|
D | InteractionController.java | 346 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); 382 if (downX == upX) { 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) { 446 xStep = ((double)(upX - downX)) / 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/classifier/ |
D | SingleTapClassifier.java | 53 float downX = motionEvents.get(0).getX(); in isTap() local 58 if (Math.abs(event.getX() - downX) >= mTouchSlop) { in isTap() 60 + Math.abs(event.getX() - downX) in isTap()
|
/frameworks/base/core/java/android/view/ |
D | NotificationTopLineView.java | 350 private boolean onTouchUp(float upX, float upY, float downX, float downY) { in onTouchUp() argument 353 || mFeedbackRect.contains((int) downX, (int) downY))) { in onTouchUp() 393 public boolean onTouchUp(float upX, float upY, float downX, float downY) { in onTouchUp() argument 397 return mTouchListener.onTouchUp(upX, upY, downX, downY); in onTouchUp()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/ |
D | IOverviewProxy.aidl | 66 void onBackAction(boolean completed, int downX, int downY, boolean isButton, in onBackAction() argument
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 474 private void doTestDragDirection(float downX, float downY, float moveX, float moveY, in doTestDragDirection() argument 480 MotionEvent event1 = downEvent(event1Time, event1Time, downX, downY); in doTestDragDirection() 487 String msg = String.format("(%.0f,%.0f)=>(%.0f,%.0f)", downX, downY, moveX, moveY); in doTestDragDirection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuView.java | 518 private boolean isMovingTowardsScreenEdge(@Alignment int side, int currentRawX, int downX) { in isMovingTowardsScreenEdge() argument 519 return (side == Alignment.RIGHT && currentRawX > downX) in isMovingTowardsScreenEdge() 520 || (side == Alignment.LEFT && downX > currentRawX); in isMovingTowardsScreenEdge()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | OverviewProxyService.java | 691 public void notifyBackAction(boolean completed, int downX, int downY, boolean isButton, in notifyBackAction() argument 695 mOverviewProxy.onBackAction(completed, downX, downY, isButton, gestureSwipeLeft); in notifyBackAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationPanelViewController.java | 1746 private boolean canPanelCollapseOnQQS(float downX, float downY) { in canPanelCollapseOnQQS() argument 1751 return downX >= mQsFrame.getX() && downX <= mQsFrame.getX() + mQsFrame.getWidth() in canPanelCollapseOnQQS()
|