Package org.robolectric.shadows
Class ShadowGestureDetector
- java.lang.Object
-
- org.robolectric.shadows.ShadowGestureDetector
-
@Implements(android.view.GestureDetector.class) public class ShadowGestureDetector extends java.lang.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__(android.content.Context context, android.view.GestureDetector.OnGestureListener listener, android.os.Handler handler)static android.view.GestureDetectorgetLastActiveDetector()android.view.GestureDetector.OnGestureListenergetListener()android.view.GestureDetector.OnDoubleTapListenergetOnDoubleTapListener()android.view.MotionEventgetOnTouchEventMotionEvent()protected booleanonTouchEvent(android.view.MotionEvent ev)voidreset()protected voidsetOnDoubleTapListener(android.view.GestureDetector.OnDoubleTapListener onDoubleTapListener)
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(android.content.Context context, android.view.GestureDetector.OnGestureListener listener, android.os.Handler handler)
-
onTouchEvent
@Implementation protected boolean onTouchEvent(android.view.MotionEvent ev)
-
setOnDoubleTapListener
@Implementation protected void setOnDoubleTapListener(android.view.GestureDetector.OnDoubleTapListener onDoubleTapListener)
-
getOnTouchEventMotionEvent
public android.view.MotionEvent getOnTouchEventMotionEvent()
-
reset
public void reset()
-
getListener
public android.view.GestureDetector.OnGestureListener getListener()
-
getLastActiveDetector
public static android.view.GestureDetector getLastActiveDetector()
-
getOnDoubleTapListener
public android.view.GestureDetector.OnDoubleTapListener getOnDoubleTapListener()
-
-