android.view.ScaleGestureDetector.OnScaleGestureListener |
Known Indirect Subclasses |
The listener for receiving notifications when gestures occur.
If you want to listen for all the different gestures then implement
this interface. If you only want to listen for a subset it might
be easier to extend ScaleGestureDetector.SimpleOnScaleGestureListener
.
An application will receive events in the following order:
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Responds to scaling events for a gesture in progress.
| |||||||||||
Responds to the beginning of a scaling gesture.
| |||||||||||
Responds to the end of a scale gesture.
|
Responds to scaling events for a gesture in progress. Reported by pointer motion.
detector | The detector reporting the event - use this to retrieve extended info about event state. |
---|
Responds to the beginning of a scaling gesture. Reported by new pointers going down.
detector | The detector reporting the event - use this to retrieve extended info about event state. |
---|
Responds to the end of a scale gesture. Reported by existing
pointers going up.
Once a scale has ended, getFocusX()
and getFocusY()
will return the location
of the pointer remaining on the screen.
detector | The detector reporting the event - use this to retrieve extended info about event state. |
---|