Searched refs:firstUp (Results 1 – 2 of 2) sorted by relevance
15 public static boolean isMultiTap(MotionEvent firstUp, MotionEvent secondUp, in isMultiTap() argument17 if (firstUp == null || secondUp == null) return false; in isMultiTap()18 return eventsWithinTimeAndDistanceSlop(firstUp, secondUp, multiTapTimeSlop, in isMultiTap()38 public static boolean isTimedOut(MotionEvent firstUp, MotionEvent secondUp, int timeout) { in isTimedOut() argument39 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut()
845 private boolean isConsideredDoubleTap(MotionEvent firstDown, MotionEvent firstUp, in isConsideredDoubleTap() argument851 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap()