Package org.robolectric.shadows
Class ShadowGestureDetector
- java.lang.Object
-
- org.robolectric.shadows.ShadowGestureDetector
-
@Implements(android.view.GestureDetector.class) public class ShadowGestureDetector extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowGestureDetector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
__constructor__(Context context, GestureDetector.OnGestureListener listener, Handler handler)
static GestureDetector
getLastActiveDetector()
GestureDetector.OnGestureListener
getListener()
GestureDetector.OnDoubleTapListener
getOnDoubleTapListener()
MotionEvent
getOnTouchEventMotionEvent()
protected boolean
onTouchEvent(MotionEvent ev)
void
reset()
protected void
setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener)
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(Context context, GestureDetector.OnGestureListener listener, Handler handler)
-
onTouchEvent
@Implementation protected boolean onTouchEvent(MotionEvent ev)
-
setOnDoubleTapListener
@Implementation protected void setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener)
-
getOnTouchEventMotionEvent
public MotionEvent getOnTouchEventMotionEvent()
-
reset
public void reset()
-
getListener
public GestureDetector.OnGestureListener getListener()
-
getLastActiveDetector
public static GestureDetector getLastActiveDetector()
-
getOnDoubleTapListener
public GestureDetector.OnDoubleTapListener getOnDoubleTapListener()
-
-