public static interface TouchInput.TapResponder
Modifier and Type | Method and Description |
---|---|
boolean |
onSingleTapConfirmed(float x,
float y)
Called after a touch is lifted and determined to not be part of a double tap
|
boolean |
onSingleTapUp(float x,
float y)
Called immediately after a touch is lifted in a tap gesture; may be part of a double tap
|
boolean onSingleTapUp(float x, float y)
x
- The x screen coordinate of the tapped pointy
- The y screen coordinate of the tapped pointboolean onSingleTapConfirmed(float x, float y)
The timeout duration for a double tap is determined by ViewConfiguration
x
- The x screen coordinate of the tapped pointy
- The y screen coordinate of the tapped point