public static interface RotateGestureDetector.OnRotateGestureListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onRotate(RotateGestureDetector detector,
float rotationDegreesSinceLast,
float rotationDegreesSinceFirst)
Called for every rotation change during the gesture.
|
boolean |
onRotateBegin(RotateGestureDetector detector)
Indicates that the rotation gesture started.
|
void |
onRotateEnd(RotateGestureDetector detector,
float velocityX,
float velocityY,
float angularVelocity)
Indicates that the rotation gesture ended.
|
boolean onRotateBegin(RotateGestureDetector detector)
detector - this detectoronRotate(RotateGestureDetector, float, float) callbacks,
false if you want to ignore this gesture.boolean onRotate(RotateGestureDetector detector, float rotationDegreesSinceLast, float rotationDegreesSinceFirst)
detector - this detectorrotationDegreesSinceLast - rotation change since the last callrotationDegreesSinceFirst - rotation change since the start of the gesturevoid onRotateEnd(RotateGestureDetector detector, float velocityX, float velocityY, float angularVelocity)
velocityX - velocityX of the gesture in the moment of lifting the fingersvelocityY - velocityY of the gesture in the moment of lifting the fingersangularVelocity - angularVelocity of the gesture in the moment of lifting the fingersdetector - this detector