public static interface SidewaysShoveGestureDetector.OnSidewaysShoveGestureListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onSidewaysShove(SidewaysShoveGestureDetector detector,
float deltaPixelsSinceLast,
float deltaPixelsSinceStart)
Called for every sideways shove change during the gesture.
|
boolean |
onSidewaysShoveBegin(SidewaysShoveGestureDetector detector)
Indicates that the sideways shove gesture started.
|
void |
onSidewaysShoveEnd(SidewaysShoveGestureDetector detector,
float velocityX,
float velocityY)
Indicates that the sideways shove gesture ended.
|
boolean onSidewaysShoveBegin(SidewaysShoveGestureDetector detector)
detector - this detectoronSidewaysShove(SidewaysShoveGestureDetector, float, float) callbacks,
false if you want to ignore this gesture.boolean onSidewaysShove(SidewaysShoveGestureDetector detector, float deltaPixelsSinceLast, float deltaPixelsSinceStart)
detector - this detectordeltaPixelsSinceLast - pixels delta change since the last calldeltaPixelsSinceStart - pixels delta change since the start of the gesturevoid onSidewaysShoveEnd(SidewaysShoveGestureDetector detector, float velocityX, float velocityY)
velocityX - velocityX of the gesture in the moment of lifting the fingersvelocityY - velocityY of the gesture in the moment of lifting the fingersdetector - this detector