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
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)
-
Constructor Details
-
ShadowScaleGestureDetector
public ShadowScaleGestureDetector()
-
-
Method Details
-
__constructor__
@Implementation protected void __constructor__(Context context, ScaleGestureDetector.OnScaleGestureListener listener) -
onTouchEvent
-
getOnTouchEventMotionEvent
-
reset
public void reset() -
getListener
-
setScaleFactor
public void setScaleFactor(float scaleFactor) -
getScaleFactor
-
setFocusXY
public void setFocusXY(float focusX, float focusY) -
getFocusX
-
getFocusY
-