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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(Context context, ScaleGestureDetector.OnScaleGestureListener listener) protected float
protected float
protected float
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
-