com.xtremelabs.robolectric.shadows
Class ShadowMotionEvent
java.lang.Object
com.xtremelabs.robolectric.shadows.ShadowMotionEvent
@Implements(value=android.view.MotionEvent.class)
public class ShadowMotionEvent
- extends java.lang.Object
Method Summary |
int |
getAction()
|
float |
getX()
|
float |
getY()
|
static android.view.MotionEvent |
obtain(long downTime,
long eventTime,
int action,
float x,
float y,
int metaState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShadowMotionEvent
public ShadowMotionEvent()
obtain
@Implementation
public static android.view.MotionEvent obtain(long downTime,
long eventTime,
int action,
float x,
float y,
int metaState)
getAction
@Implementation
public int getAction()
getX
@Implementation
public final float getX()
getY
@Implementation
public final float getY()