public static interface ChartScaleGestureDetector.OnScaleGestureListener
ChartScaleGestureDetector.SimpleOnScaleGestureListener
.
An application will receive events in the following order:
Modifier and Type | Method and Description |
---|---|
boolean |
onScale(ChartScaleGestureDetector detector)
Responds to scaling events for a gesture in progress.
|
boolean |
onScaleBegin(ChartScaleGestureDetector detector)
Responds to the beginning of a scaling gesture.
|
void |
onScaleEnd(ChartScaleGestureDetector detector)
Responds to the end of a scale gesture.
|
boolean onScale(ChartScaleGestureDetector detector)
detector
- The detector reporting the event - use this to
retrieve extended info about event state.boolean onScaleBegin(ChartScaleGestureDetector detector)
detector
- The detector reporting the event - use this to
retrieve extended info about event state.void onScaleEnd(ChartScaleGestureDetector detector)
ChartScaleGestureDetector.getFocusX()
and ChartScaleGestureDetector.getFocusY()
will return focal point
of the pointers remaining on the screen.detector
- The detector reporting the event - use this to
retrieve extended info about event state.