/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
D | SwipeDismissLayout.java | 114 private float mDownX; field in SwipeDismissLayout 230 mDownX = ev.getRawX(); in onInterceptTouchEvent() 267 float dx = ev.getRawX() - mDownX; in onInterceptTouchEvent() 271 if (dx != 0 && mDownX >= mGestureThresholdPx && canScroll(this, false, dx, x, y)) { in onInterceptTouchEvent() 280 || mOnPreSwipeListener.onPreSwipe(this, mDownX, mDownY)) { in onInterceptTouchEvent() 316 if (mOnPreSwipeListener != null && !mOnPreSwipeListener.onPreSwipe(this, mDownX, mDownY)) { in onTouchEvent() 343 setProgress(ev.getRawX() - mDownX); in onTouchEvent() 376 mDownX = 0; in resetMembers() 387 float deltaX = ev.getRawX() - mDownX; in updateSwiping() 401 float deltaX = ev.getRawX() - mDownX; in updateDismiss()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 76 private float mDownX; field in SwipeDismissLayout 184 mDownX = ev.getRawX(); in onInterceptTouchEvent() 221 float dx = ev.getRawX() - mDownX; in onInterceptTouchEvent() 254 mDismissAnimator.animateDismissal(ev.getRawX() - mDownX); in onTouchEvent() 259 mDismissAnimator.animateRecovery(ev.getRawX() - mDownX); in onTouchEvent() 274 setProgress(ev.getRawX() - mDownX); in onTouchEvent() 315 mDownX = 0; in resetMembers() 326 float deltaX = ev.getRawX() - mDownX; in updateSwiping() 347 float deltaX = ev.getRawX() - mDownX;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DoubleTapHelper.java | 43 private float mDownX; field in DoubleTapHelper 72 mDownX = event.getX(); in onTouchEvent() 141 return Math.abs(event.getX() - mDownX) < mTouchSlop in isWithinTouchSlop()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SystemGesturesPointerEventListener.java | 53 private final float[] mDownX = new float[MAX_TRACKED_POINTERS]; field in SystemGesturesPointerEventListener 169 mDownX[i] = event.getX(pointerIndex); in captureDown() 173 " down x=" + mDownX[i] + " y=" + mDownY[i]); in captureDown() 216 final float fromX = mDownX[i]; in detectSwipe()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButton.java | 59 private int mDownX; field in EmergencyButton 140 mDownX = x; in onTouchEvent() 144 final int xDiff = Math.abs(x - mDownX); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackViewTouchHandler.java | 83 int mDownX, mDownY; field in TaskStackViewTouchHandler 234 mDownX = (int) ev.getX(); in handleTouchEvent() 239 mActiveTaskView = findViewAtPoint(mDownX, mDownY); in handleTouchEvent() 249 mDownX = (int) ev.getX(index); in handleTouchEvent() 266 int xDiff = Math.abs(x - mDownX); in handleTouchEvent() 324 mDownX = (int) ev.getX(pointerIndex); in handleTouchEvent() 385 int dx = Math.abs(mDownX - x); in maybeHideRecentsFromBackgroundTap()
|
/frameworks/base/core/java/android/view/ |
D | NotificationHeaderView.java | 387 private float mDownX; field in NotificationHeaderView.HeaderTouchListener 442 mDownX = x; in onTouch() 450 if (Math.abs(mDownX - x) > mTouchSlop in onTouch() 459 || mAppOpsRect.contains((int) mDownX, (int) mDownY))) { in onTouch()
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
D | SliceView.java | 153 private int mDownX; field in SliceView 286 mDownX = (int) ev.getRawX(); in handleTouchForLongpress() 294 final int deltaX = (int) ev.getRawX() - mDownX; in handleTouchForLongpress()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 91 private float mDownX; field in RadialPickerLayout 579 mDownX = eventX; in onTouch() 634 float dX = Math.abs(eventX - mDownX); in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 160 private int mDownX; field in NotificationStackScrollLayout 1622 mDownX = (int) ev.getX(); 1636 final int xDiff = Math.abs(x - mDownX); 1715 mDownX = (int) ev.getX(index); 1722 mDownX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); field in NotificationStackScrollLayout 3466 final int xDiff = Math.abs(x - mDownX); 3470 mDownX = x; 3491 mDownX = (int) ev.getX();
|