public static interface GestureDetector.OnDoubleTapListener
Modifier and Type | Method and Description |
---|---|
boolean |
onDoubleTap(MotionEvent e)
Notified when a double-tap occurs.
|
boolean |
onDoubleTapEvent(MotionEvent e)
Notified when an event within a double-tap gesture occurs, including
the down, move, and up events.
|
boolean |
onSingleTapConfirmed(MotionEvent e)
Notified when a single-tap occurs.
|
boolean onSingleTapConfirmed(MotionEvent e)
Unlike GestureDetector.OnGestureListener.onSingleTapUp(MotionEvent)
, this
will only be called after the detector is confident that the user's
first tap is not followed by a second tap leading to a double-tap
gesture.
e
- The down motion event of the single-tap.boolean onDoubleTap(MotionEvent e)
e
- The down motion event of the first tap of the double-tap.boolean onDoubleTapEvent(MotionEvent e)
e
- The motion event that occurred during the double-tap gesture.