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()
904 @NonNull MotionEvent firstUp, @NonNull MotionEvent secondDown) { in isConsideredDoubleTap() argument909 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap()