Example usage for Java android.view ScaleGestureDetector fields, constructors, methods, implement or subclass
The text is from its open source code.
ScaleGestureDetector(Context context, OnScaleGestureListener listener) Creates a ScaleGestureDetector with the supplied listener. | |
ScaleGestureDetector(Context context, OnScaleGestureListener listener, Handler handler) Creates a ScaleGestureDetector with the supplied listener. |
float | getCurrentSpan() Return the average distance between each of the pointers forming the gesture in progress through the focal point. |
float | getFocusX() Get the X coordinate of the current gesture's focal point. |
float | getFocusY() Get the Y coordinate of the current gesture's focal point. |
float | getPreviousSpan() Return the previous average distance between each of the pointers forming the gesture in progress through the focal point. |
float | getScaleFactor() Return the scaling factor from the previous scale event to the current event. |
long | getTimeDelta() Return the time difference in milliseconds between the previous accepted scaling event and the current scaling event. |
boolean | isInProgress() Returns true if a scale gesture is in progress. |
boolean | onTouchEvent(MotionEvent event) Accepts MotionEvents and dispatches events to a OnScaleGestureListener when appropriate. |