Package 

Class ScaleGestureDetector.SimpleOnScaleGestureListener

    • Method Summary

      Modifier and Type Method Description
      boolean onScale(ScaleGestureDetector detector) Responds to scaling events for a gesture in progress.Reported by pointer motion.
      boolean onScaleBegin(ScaleGestureDetector detector) Responds to the beginning of a scaling gesture.
      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

         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

         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

         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.