Searched refs:secondDown (Results 1 – 2 of 2) sorted by relevance
443 MotionEvent secondDown) { in isConsideredDoubleTap() argument448 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()
757 MotionEvent secondDown) { in isConsideredDoubleTap() argument762 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()