• Home
  • Raw
  • Download

Lines Matching refs:test

17 package android.test;
46 public static void dragQuarterScreenDown(ActivityInstrumentationTestCase test) { in dragQuarterScreenDown() argument
47 dragQuarterScreenDown(test, test.getActivity()); in dragQuarterScreenDown()
55 public static void dragQuarterScreenDown(InstrumentationTestCase test, Activity activity) { in dragQuarterScreenDown() argument
64 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown()
76 public static void dragQuarterScreenUp(ActivityInstrumentationTestCase test) { in dragQuarterScreenUp() argument
77 dragQuarterScreenUp(test, test.getActivity()); in dragQuarterScreenUp()
85 public static void dragQuarterScreenUp(InstrumentationTestCase test, Activity activity) { in dragQuarterScreenUp() argument
94 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp()
109 public static void scrollToBottom(ActivityInstrumentationTestCase test, ViewGroup v) { in scrollToBottom() argument
110 scrollToBottom(test, test.getActivity(), v); in scrollToBottom()
121 public static void scrollToBottom(InstrumentationTestCase test, Activity activity, in scrollToBottom() argument
131 TouchUtils.dragQuarterScreenUp(test, activity); in scrollToBottom()
150 public static void scrollToTop(ActivityInstrumentationTestCase test, ViewGroup v) { in scrollToTop() argument
151 scrollToTop(test, test.getActivity(), v); in scrollToTop()
162 public static void scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v) { in scrollToTop() argument
171 TouchUtils.dragQuarterScreenDown(test, activity); in scrollToTop()
189 public static void dragViewToBottom(ActivityInstrumentationTestCase test, View v) { in dragViewToBottom() argument
190 dragViewToBottom(test, test.getActivity(), v, 4); in dragViewToBottom()
200 public static void dragViewToBottom(InstrumentationTestCase test, Activity activity, View v) { in dragViewToBottom() argument
201 dragViewToBottom(test, activity, v, 4); in dragViewToBottom()
216 public static void dragViewToBottom(ActivityInstrumentationTestCase test, View v, in dragViewToBottom() argument
218 dragViewToBottom(test, test.getActivity(), v, stepCount); in dragViewToBottom()
229 public static void dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, in dragViewToBottom() argument
243 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()
252 public static void tapView(InstrumentationTestCase test, View v) { in tapView() argument
262 Instrumentation inst = test.getInstrumentation(); in tapView()
292 public static void touchAndCancelView(InstrumentationTestCase test, View v) { in touchAndCancelView() argument
302 Instrumentation inst = test.getInstrumentation(); in touchAndCancelView()
327 public static void clickView(InstrumentationTestCase test, View v) { in clickView() argument
337 Instrumentation inst = test.getInstrumentation(); in clickView()
378 public static void longClickView(ActivityInstrumentationTestCase test, View v) { in longClickView() argument
379 longClickView((InstrumentationTestCase) test, v); in longClickView()
388 public static void longClickView(InstrumentationTestCase test, View v) { in longClickView() argument
398 Instrumentation inst = test.getInstrumentation(); in longClickView()
438 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v) { in dragViewToTop() argument
439 dragViewToTop((InstrumentationTestCase) test, v, 4); in dragViewToTop()
454 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v, int stepCount) { in dragViewToTop() argument
455 dragViewToTop((InstrumentationTestCase) test, v, stepCount); in dragViewToTop()
464 public static void dragViewToTop(InstrumentationTestCase test, View v) { in dragViewToTop() argument
465 dragViewToTop(test, v, 4); in dragViewToTop()
475 public static void dragViewToTop(InstrumentationTestCase test, View v, int stepCount) { in dragViewToTop() argument
486 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()
548 public static int dragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewBy() argument
550 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY); in dragViewBy()
570 public static int dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, in dragViewBy() argument
581 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy()
603 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
605 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
620 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
633 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
654 public static int dragViewToX(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToX() argument
656 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX); in dragViewToX()
670 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() argument
680 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
701 public static int dragViewToY(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToY() argument
703 return dragViewToY((InstrumentationTestCase) test, v, gravity, toY); in dragViewToY()
717 public static int dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) { in dragViewToY() argument
727 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()
748 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, in drag() argument
750 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag()
763 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, in drag() argument
765 Instrumentation inst = test.getInstrumentation(); in drag()