Searched refs:firstUp (Results 1 – 2 of 2) sorted by relevance
19 public static boolean isMultiTap(MotionEvent firstUp, MotionEvent secondUp, in isMultiTap() argument21 if (firstUp == null || secondUp == null) return false; in isMultiTap()22 return eventsWithinTimeAndDistanceSlop(firstUp, secondUp, multiTapTimeSlop, in isMultiTap()63 public static boolean isTimedOut(MotionEvent firstUp, MotionEvent secondUp, int timeout) { in isTimedOut() argument64 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut()
863 private boolean isConsideredDoubleTap(MotionEvent firstDown, MotionEvent firstUp, in isConsideredDoubleTap() argument869 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap()