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
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)
-
Constructor Details
-
ShadowGestureDetector
public ShadowGestureDetector()
-
-
Method Details
-
__constructor__
@Implementation protected void __constructor__(Context context, GestureDetector.OnGestureListener listener, Handler handler) -
onTouchEvent
-
setOnDoubleTapListener
@Implementation protected void setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener) -
getOnTouchEventMotionEvent
-
reset
public void reset() -
getListener
-
getLastActiveDetector
-
getOnDoubleTapListener
-