Searched refs:mDown (Results 1 – 7 of 7) sorted by relevance
52 private MotionEvent mDown; field in PreviewGestures69 cancelActivityTouchHandling(mDown);131 mDown = MotionEvent.obtain(m); in dispatchTouch()169 if (mDown == null) { in dispatchTouch()200 if (m.getEventTime() - mDown.getEventTime() < mTapTimeout) { in dispatchTouch()202 (int) mDown.getX() - mOverlay.getWindowPositionX(), in dispatchTouch()203 (int) mDown.getY() - mOverlay.getWindowPositionY()); in dispatchTouch()209 if ((Math.abs(m.getX() - mDown.getX()) > mSlop) in dispatchTouch()210 || Math.abs(m.getY() - mDown.getY()) > mSlop) { in dispatchTouch()249 dx = m.getX() - mDown.getX(); in isSwipe()[all …]
53 private MotionEvent mDown; field in CameraActivity326 if (mDown != null) { in cancelActivityTouchHandling()327 MotionEvent cancel = MotionEvent.obtain(mDown); in cancelActivityTouchHandling()336 mDown = m; in dispatchTouchEvent()
46 private MotionEvent mDown; field in MainActivityLayout82 mDown = MotionEvent.obtain(ev); in onInterceptTouchEvent()88 onTouchEvent(mDown); in onInterceptTouchEvent()105 int deltaX = (int) (ev.getX() - mDown.getX()); in onInterceptTouchEvent()106 int deltaY = (int) (ev.getY() - mDown.getY()); in onInterceptTouchEvent()112 onTouchEvent(mDown); in onInterceptTouchEvent()118 onTouchEvent(mDown); in onInterceptTouchEvent()
116 private Point mDown; field in PieRenderer186 mDown = new Point(); in init()425 mDown.x = (int) evt.getX(); in onTouchEvent()426 mDown.y = (int) evt.getY(); in onTouchEvent()491 return mTouchSlopSquared < (e.getX() - mDown.x) * (e.getX() - mDown.x) in hasMoved()492 + (e.getY() - mDown.y) * (e.getY() - mDown.y); in hasMoved()
36 private static boolean mDown = false; field in MediaButtonIntentReceiver107 if (mDown) { in onReceive()137 mDown = true; in onReceive()141 mDown = false; in onReceive()
712 private MotionEvent mDown; field in CameraAppUI.MyGestureListener723 int deltaX = (int) (ev.getX() - mDown.getX()); in onScroll()724 int deltaY = (int) (ev.getY() - mDown.getY()); in onScroll()748 mDown = MotionEvent.obtain(ev); in onDown()
136 private MotionEvent mDown; field in FilmstripView1635 mDown = MotionEvent.obtain(ev); in onInterceptTouchEvent()1653 int deltaX = (int) (ev.getX() - mDown.getX()); in onInterceptTouchEvent()1654 int deltaY = (int) (ev.getY() - mDown.getY()); in onInterceptTouchEvent()