/frameworks/support/wear/src/android/support/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 | 84 int mDownX, mDownY; field in TaskStackViewTouchHandler 235 mDownX = (int) ev.getX(); in handleTouchEvent() 240 mActiveTaskView = findViewAtPoint(mDownX, mDownY); in handleTouchEvent() 250 mDownX = (int) ev.getX(index); in handleTouchEvent() 264 int xDiff = Math.abs(x - mDownX); in handleTouchEvent() 319 mDownX = (int) ev.getX(pointerIndex); in handleTouchEvent() 375 int dx = Math.abs(mDownX - x); in maybeHideRecentsFromBackgroundTap()
|
/frameworks/base/core/java/android/view/ |
D | NotificationHeaderView.java | 301 private float mDownX; field in NotificationHeaderView.HeaderTouchListener 352 mDownX = x; in onTouch() 360 if (Math.abs(mDownX - x) > mTouchSlop in onTouch()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 89 private float mDownX; field in RadialPickerLayout 577 mDownX = eventX; in onTouch() 632 float dX = Math.abs(eventX - mDownX); in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 138 private int mDownX; field in NotificationStackScrollLayout 1406 mDownX = (int) ev.getX(); in onScrollTouch() 1420 final int xDiff = Math.abs(x - mDownX); in onScrollTouch() 1499 mDownX = (int) ev.getX(index); in onScrollTouch() 1506 mDownX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onScrollTouch() 3193 final int xDiff = Math.abs(x - mDownX); in onInterceptTouchEventScroll() 3197 mDownX = x; in onInterceptTouchEventScroll() 3218 mDownX = (int) ev.getX(); in onInterceptTouchEventScroll()
|