Lines Matching refs:test
17 package android.test;
59 public static void dragQuarterScreenDown(ActivityInstrumentationTestCase test) { in dragQuarterScreenDown() argument
60 dragQuarterScreenDown(test, test.getActivity()); in dragQuarterScreenDown()
68 public static void dragQuarterScreenDown(InstrumentationTestCase test, Activity activity) { in dragQuarterScreenDown() argument
76 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown()
88 public static void dragQuarterScreenUp(ActivityInstrumentationTestCase test) { in dragQuarterScreenUp() argument
89 dragQuarterScreenUp(test, test.getActivity()); in dragQuarterScreenUp()
97 public static void dragQuarterScreenUp(InstrumentationTestCase test, Activity activity) { in dragQuarterScreenUp() argument
105 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp()
131 public static void scrollToBottom(ActivityInstrumentationTestCase test, ViewGroup v) { in scrollToBottom() argument
132 scrollToBottom(test, test.getActivity(), v); in scrollToBottom()
143 public static void scrollToBottom(InstrumentationTestCase test, Activity activity, in scrollToBottom() argument
149 TouchUtils.dragQuarterScreenUp(test, activity); in scrollToBottom()
166 public static void scrollToTop(ActivityInstrumentationTestCase test, ViewGroup v) { in scrollToTop() argument
167 scrollToTop(test, test.getActivity(), v); in scrollToTop()
178 public static void scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v) { in scrollToTop() argument
183 TouchUtils.dragQuarterScreenDown(test, activity); in scrollToTop()
199 public static void dragViewToBottom(ActivityInstrumentationTestCase test, View v) { in dragViewToBottom() argument
200 dragViewToBottom(test, test.getActivity(), v, 4); in dragViewToBottom()
210 public static void dragViewToBottom(InstrumentationTestCase test, Activity activity, View v) { in dragViewToBottom() argument
211 dragViewToBottom(test, activity, v, 4); in dragViewToBottom()
226 public static void dragViewToBottom(ActivityInstrumentationTestCase test, View v, in dragViewToBottom() argument
228 dragViewToBottom(test, test.getActivity(), v, stepCount); in dragViewToBottom()
239 public static void dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, in dragViewToBottom() argument
255 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()
264 public static void tapView(InstrumentationTestCase test, View v) { in tapView() argument
274 Instrumentation inst = test.getInstrumentation(); in tapView()
304 public static void touchAndCancelView(InstrumentationTestCase test, View v) { in touchAndCancelView() argument
314 Instrumentation inst = test.getInstrumentation(); in touchAndCancelView()
339 public static void clickView(InstrumentationTestCase test, View v) { in clickView() argument
349 Instrumentation inst = test.getInstrumentation(); in clickView()
390 public static void longClickView(ActivityInstrumentationTestCase test, View v) { in longClickView() argument
391 longClickView((InstrumentationTestCase) test, v); in longClickView()
400 public static void longClickView(InstrumentationTestCase test, View v) { in longClickView() argument
410 Instrumentation inst = test.getInstrumentation(); in longClickView()
450 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v) { in dragViewToTop() argument
451 dragViewToTop((InstrumentationTestCase) test, v, 4); in dragViewToTop()
466 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v, int stepCount) { in dragViewToTop() argument
467 dragViewToTop((InstrumentationTestCase) test, v, stepCount); in dragViewToTop()
476 public static void dragViewToTop(InstrumentationTestCase test, View v) { in dragViewToTop() argument
477 dragViewToTop(test, v, 4); in dragViewToTop()
487 public static void dragViewToTop(InstrumentationTestCase test, View v, int stepCount) { in dragViewToTop() argument
498 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()
560 public static int dragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewBy() argument
562 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY); in dragViewBy()
582 public static int dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, in dragViewBy() argument
593 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy()
615 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
617 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
632 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
645 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
666 public static int dragViewToX(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToX() argument
668 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX); in dragViewToX()
682 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() argument
692 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
713 public static int dragViewToY(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToY() argument
715 return dragViewToY((InstrumentationTestCase) test, v, gravity, toY); in dragViewToY()
729 public static int dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) { in dragViewToY() argument
739 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()
760 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, in drag() argument
762 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag()
775 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, in drag() argument
777 Instrumentation inst = test.getInstrumentation(); in drag()