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)
You can retrieve the base
ScaleGestureDetector via StandardScaleGestureDetector.getUnderlyingScaleGestureDetector(). |
boolean |
onScaleBegin(StandardScaleGestureDetector detector)
You can retrieve the base
ScaleGestureDetector via StandardScaleGestureDetector.getUnderlyingScaleGestureDetector(). |
void |
onScaleEnd(StandardScaleGestureDetector detector,
float velocityX,
float velocityY)
You can retrieve the base
ScaleGestureDetector via StandardScaleGestureDetector.getUnderlyingScaleGestureDetector(). |
public SimpleStandardOnScaleGestureListener()
public boolean onScaleBegin(StandardScaleGestureDetector detector)
StandardScaleGestureDetector.StandardOnScaleGestureListenerScaleGestureDetector via StandardScaleGestureDetector.getUnderlyingScaleGestureDetector().onScaleBegin in interface StandardScaleGestureDetector.StandardOnScaleGestureListenerdetector - this detectorStandardScaleGestureDetector.StandardOnScaleGestureListener.onScale(StandardScaleGestureDetector) callbacks,
false if you want to ignore this gesture.ScaleGestureDetector.OnScaleGestureListener.onScaleBegin(ScaleGestureDetector)public boolean onScale(StandardScaleGestureDetector detector)
StandardScaleGestureDetector.StandardOnScaleGestureListenerScaleGestureDetector via StandardScaleGestureDetector.getUnderlyingScaleGestureDetector().onScale in interface StandardScaleGestureDetector.StandardOnScaleGestureListenerdetector - this detectorScaleGestureDetector.OnScaleGestureListener.onScale(ScaleGestureDetector)public void onScaleEnd(StandardScaleGestureDetector detector, float velocityX, float velocityY)
StandardScaleGestureDetector.StandardOnScaleGestureListenerScaleGestureDetector via StandardScaleGestureDetector.getUnderlyingScaleGestureDetector().onScaleEnd 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 fingersScaleGestureDetector.OnScaleGestureListener.onScaleEnd(ScaleGestureDetector)