Package org.robolectric.shadows
Class ShadowScaleGestureDetector
- java.lang.Object
-
- org.robolectric.shadows.ShadowScaleGestureDetector
-
@Implements(android.view.ScaleGestureDetector.class) public class ShadowScaleGestureDetector extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowScaleGestureDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void__constructor__(Context context, ScaleGestureDetector.OnScaleGestureListener listener)protected floatgetFocusX()protected floatgetFocusY()ScaleGestureDetector.OnScaleGestureListenergetListener()MotionEventgetOnTouchEventMotionEvent()protected floatgetScaleFactor()protected booleanonTouchEvent(MotionEvent event)voidreset()voidsetFocusXY(float focusX, float focusY)voidsetScaleFactor(float scaleFactor)
-
-
-
Method Detail
-
__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
public ScaleGestureDetector.OnScaleGestureListener 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()
-
-