Searched refs:mDownEvent (Results 1 – 2 of 2) 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 …]
184 private boolean mDownEvent; field in ConversationItemView1536 mDownEvent = true; in onTouchEventNoSwipe()1542 mDownEvent = false; in onTouchEventNoSwipe()1546 if (mDownEvent) { in onTouchEventNoSwipe()1590 mDownEvent = true; in onTouchEvent()1596 if (mDownEvent) { in onTouchEvent()1600 mDownEvent = false; in onTouchEvent()1606 mDownEvent = false; in onTouchEvent()1614 mDownEvent = false; in onTouchEvent()