Package 

Interface ScaleGestureDetector.OnScaleGestureListener

    • Method Summary

      Modifier and Type Method Description
      abstract boolean onScale(ScaleGestureDetector detector) Responds to scaling events for a gesture in progress.Reported by pointer motion.
      abstract boolean onScaleBegin(ScaleGestureDetector detector) Responds to the beginning of a scaling gesture.
      abstract void onScaleEnd(ScaleGestureDetector detector) Responds to the end of a scale gesture.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onScale

         abstract boolean onScale(ScaleGestureDetector detector)

        Responds to scaling events for a gesture in progress.Reported by pointer motion.

        Parameters:
        detector - The detector reporting the event - use this toretrieve extended info about event state.
      • onScaleBegin

         abstract boolean onScaleBegin(ScaleGestureDetector detector)

        Responds to the beginning of a scaling gesture. Reported bynew pointers going down.

        Parameters:
        detector - The detector reporting the event - use this toretrieve extended info about event state.
      • onScaleEnd

         abstract void onScaleEnd(ScaleGestureDetector detector)

        Responds to the end of a scale gesture. Reported by existingpointers going up.Once a scale has ended, getFocusX and getFocusY will return focal pointof the pointers remaining on the screen.

        Parameters:
        detector - The detector reporting the event - use this toretrieve extended info about event state.