Home
last modified time | relevance | path

Searched refs:mDownX (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java76 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/
DDoubleTapHelper.java43 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/wm/
DSystemGesturesPointerEventListener.java59 private final float[] mDownX = new float[MAX_TRACKED_POINTERS]; field in SystemGesturesPointerEventListener
202 mDownX[i] = event.getX(pointerIndex); in captureDown()
206 + " down x=" + mDownX[i] + " y=" + mDownY[i]); in captureDown()
211 return r.contains((int) mDownX[0], (int) mDownY[0]); in currentGestureStartedInRegion()
253 final float fromX = mDownX[i]; in detectSwipe()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java62 private int mDownX; field in EmergencyButton
143 mDownX = x; in onTouchEvent()
147 final int xDiff = Math.abs(x - mDownX); in onTouchEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java83 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/
DNotificationHeaderView.java425 private float mDownX; field in NotificationHeaderView.HeaderTouchListener
480 mDownX = x; in onTouch()
488 if (Math.abs(mDownX - x) > mTouchSlop in onTouch()
497 || mAppOpsRect.contains((int) mDownX, (int) mDownY))) { in onTouch()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java91 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/notification/stack/
DNotificationStackScrollLayout.java216 private int mDownX; field in NotificationStackScrollLayout
3756 mDownX = (int) ev.getX();
3770 final int xDiff = Math.abs(x - mDownX);
3862 mDownX = (int) ev.getX(index);
3869 mDownX = (int) ev.getX(ev.findPointerIndex(mActivePointerId));
4048 final int xDiff = Math.abs(x - mDownX);
4052 mDownX = x;
4073 mDownX = (int) ev.getX();