HomeSort by relevance Sort by last modified time
    Searched refs:ShadowMotionEvent (Results 1 - 3 of 3) sorted by null

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMotionEvent.java 17 public class ShadowMotionEvent {
35 ShadowMotionEvent shadowMotionEvent = (ShadowMotionEvent) Robolectric.shadowOf_(motionEvent);
36 shadowMotionEvent.x[0] = x;
37 shadowMotionEvent.y[0] = y;
38 shadowMotionEvent.action = action;
39 shadowMotionEvent.downTime = downTime;
40 shadowMotionEvent.eventTime = eventTime;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MotionEventTest.java 17 private ShadowMotionEvent shadowMotionEvent;
22 shadowMotionEvent = shadowOf(event);
40 shadowMotionEvent.setPointer2(20.0f, 30.0f);
41 shadowMotionEvent.setPointerIds(2, 5);
48 shadowMotionEvent.setPointerIndex(1);
55 shadowMotionEvent.setPointerIndex(1);
62 shadowMotionEvent.setPointerIndex(1);
68 shadowMotionEvent.setPointer2(20.0f, 30.0f);
69 shadowMotionEvent.setPointerIds(2, 1)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/
Robolectric.java 252 ShadowMotionEvent.class,
751 public static ShadowMotionEvent shadowOf(MotionEvent other) {
752 return (ShadowMotionEvent) Robolectric.shadowOf_(other);
    [all...]

Completed in 273 milliseconds