public static interface MoveGestureDetector.OnMoveGestureListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onMove(MoveGestureDetector detector,
float distanceX,
float distanceY)
Called for every move change during the gesture.
|
boolean |
onMoveBegin(MoveGestureDetector detector)
Indicates that the move gesture started.
|
void |
onMoveEnd(MoveGestureDetector detector,
float velocityX,
float velocityY)
Indicates that the move gesture ended.
|
boolean onMoveBegin(MoveGestureDetector detector)
detector - this detectoronMove(MoveGestureDetector, float, float) callbacks,
false if you want to ignore this gesture.boolean onMove(MoveGestureDetector detector, float distanceX, float distanceY)
detector - this detectordistanceX - X distance of the focal point in pixel since last calldistanceY - Y distance of the focal point in pixel since last callvoid onMoveEnd(MoveGestureDetector 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