Home
last modified time | relevance | path

Searched refs:mDown (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
DPreviewGestures.java52 private MotionEvent mDown; field in PreviewGestures
69 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 …]
DCameraActivity.java53 private MotionEvent mDown; field in CameraActivity
326 if (mDown != null) { in cancelActivityTouchHandling()
327 MotionEvent cancel = MotionEvent.obtain(mDown); in cancelActivityTouchHandling()
336 mDown = m; in dispatchTouchEvent()
/packages/apps/Camera2/src/com/android/camera/ui/
DMainActivityLayout.java46 private MotionEvent mDown; field in MainActivityLayout
82 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()
/packages/apps/Camera/src/com/android/camera/ui/
DPieRenderer.java116 private Point mDown; field in PieRenderer
186 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()
/packages/apps/Music/src/com/android/music/
DMediaButtonIntentReceiver.java36 private static boolean mDown = false; field in MediaButtonIntentReceiver
107 if (mDown) { in onReceive()
137 mDown = true; in onReceive()
141 mDown = false; in onReceive()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java712 private MotionEvent mDown; field in CameraAppUI.MyGestureListener
723 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()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java136 private MotionEvent mDown; field in FilmstripView
1635 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()