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 float
getFocusX()
protected float
getFocusY()
ScaleGestureDetector.OnScaleGestureListener
getListener()
MotionEvent
getOnTouchEventMotionEvent()
protected float
getScaleFactor()
protected boolean
onTouchEvent(MotionEvent event)
void
reset()
void
setFocusXY(float focusX, float focusY)
void
setScaleFactor(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()
-
-