Home
last modified time | relevance | path

Searched refs:secondDown (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/view/
DGestureDetectorCompat.java443 MotionEvent secondDown) { in isConsideredDoubleTap() argument
448 if (secondDown.getEventTime() - firstUp.getEventTime() > DOUBLE_TAP_TIMEOUT) { in isConsideredDoubleTap()
452 int deltaX = (int) firstDown.getX() - (int) secondDown.getX(); in isConsideredDoubleTap()
453 int deltaY = (int) firstDown.getY() - (int) secondDown.getY(); in isConsideredDoubleTap()
/frameworks/base/core/java/android/view/
DGestureDetector.java757 MotionEvent secondDown) { in isConsideredDoubleTap() argument
762 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap()
767 int deltaX = (int) firstDown.getX() - (int) secondDown.getX(); in isConsideredDoubleTap()
768 int deltaY = (int) firstDown.getY() - (int) secondDown.getY(); in isConsideredDoubleTap()