Searched refs:mDownEvent (Results 1 – 1 of 1) sorted by relevance
374 private MotionEvent mDownEvent; field in MediaPickerPanel.TouchHandler467 if (mDownEvent == null || elapsedMs == 0 || elapsedMs > TOUCH_RECAPTURE_WINDOW_MS) { in shouldAllowRecaptureTouch()472 final float dx = ev.getRawX() - mDownEvent.getRawX(); in shouldAllowRecaptureTouch()473 final float dy = ev.getRawY() - mDownEvent.getRawY(); in shouldAllowRecaptureTouch()484 if (!mMoved || mDownEvent == null) { in onTouch()487 final float dx = motionEvent.getRawX() - mDownEvent.getRawX(); in onTouch()488 final float dy = motionEvent.getRawY() - mDownEvent.getRawY(); in onTouch()491 (motionEvent.getEventTime() - mDownEvent.getEventTime()) / 1000.0f; in onTouch()522 mDownEvent = MotionEvent.obtain(motionEvent); in onTouch()531 if (mDownEvent == null) { in onTouch()[all …]