public static class StandardScaleGestureDetector.SimpleStandardOnScaleGestureListener extends java.lang.Object implements StandardScaleGestureDetector.StandardOnScaleGestureListener
| Constructor and Description |
|---|
SimpleStandardOnScaleGestureListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onScale(StandardScaleGestureDetector detector)
Called for every scale change during the gesture.
|
boolean |
onScaleBegin(StandardScaleGestureDetector detector)
Indicates that the scale gesture started.
|
void |
onScaleEnd(StandardScaleGestureDetector detector,
float velocityX,
float velocityY)
Indicates that the scale gesture ended.
|
public SimpleStandardOnScaleGestureListener()
public boolean onScaleBegin(StandardScaleGestureDetector detector)
StandardScaleGestureDetector.StandardOnScaleGestureListeneronScaleBegin in interface StandardScaleGestureDetector.StandardOnScaleGestureListenerdetector - this detectorStandardScaleGestureDetector.StandardOnScaleGestureListener.onScale(StandardScaleGestureDetector) callbacks,
false if you want to ignore this gesture.public boolean onScale(StandardScaleGestureDetector detector)
StandardScaleGestureDetector.StandardOnScaleGestureListeneronScale in interface StandardScaleGestureDetector.StandardOnScaleGestureListenerdetector - this detectorpublic void onScaleEnd(StandardScaleGestureDetector detector, float velocityX, float velocityY)
StandardScaleGestureDetector.StandardOnScaleGestureListeneronScaleEnd in interface StandardScaleGestureDetector.StandardOnScaleGestureListenerdetector - this detectorvelocityX - velocityX of the gesture in the moment of lifting the fingersvelocityY - velocityY of the gesture in the moment of lifting the fingers