Class ShadowScaleGestureDetector

java.lang.Object
org.robolectric.shadows.ShadowScaleGestureDetector

@Implements(android.view.ScaleGestureDetector.class) public class ShadowScaleGestureDetector extends Object
  • Constructor Details

    • ShadowScaleGestureDetector

      public ShadowScaleGestureDetector()
  • Method Details

    • __constructor__

      @Implementation protected void __constructor__(Context context, ScaleGestureDetector.OnScaleGestureListener listener)
    • onTouchEvent

      @Implementation protected boolean onTouchEvent(MotionEvent event)
    • getOnTouchEventMotionEvent

      public MotionEvent getOnTouchEventMotionEvent()
    • reset

      public void reset()
    • getListener

    • setScaleFactor

      public void setScaleFactor(float scaleFactor)
    • getScaleFactor

      @Implementation protected float getScaleFactor()
    • setFocusXY

      public void setFocusXY(float focusX, float focusY)
    • getFocusX

      @Implementation protected float getFocusX()
    • getFocusY

      @Implementation protected float getFocusY()