/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 92 ActivityTestRule<?> activityTestRule, View view) { in emulateTapOnViewCenter() argument 93 emulateTapOnView(instrumentation, activityTestRule, view, view.getWidth() / 2, in emulateTapOnViewCenter() 107 ActivityTestRule<?> activityTestRule, View anchorView, in emulateTapOnView() argument 124 if (activityTestRule != null) { in emulateTapOnView() 125 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateTapOnView() 126 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateTapOnView() 139 ActivityTestRule<?> activityTestRule, View view) { in emulateDoubleTapOnViewCenter() argument 140 emulateDoubleTapOnView(instrumentation, activityTestRule, view, view.getWidth() / 2, in emulateDoubleTapOnViewCenter() 154 ActivityTestRule<?> activityTestRule, View anchorView, in emulateDoubleTapOnView() argument 172 if (activityTestRule != null) { in emulateDoubleTapOnView() [all …]
|
D | WidgetTestUtils.java | 214 public static void runOnMainAndDrawSync(@NonNull final ActivityTestRule activityTestRule, 219 activityTestRule.runOnUiThread(() -> { 298 public static void runOnMainAndLayoutSync(@NonNull final ActivityTestRule activityTestRule, 301 runOnMainAndLayoutSync(activityTestRule, 302 activityTestRule.getActivity().getWindow().getDecorView(), runner, forceLayout); 316 public static void runOnMainAndLayoutSync(@NonNull final ActivityTestRule activityTestRule, 323 activityTestRule.runOnUiThread(() -> {
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTestUtils.java | 54 final ActivityTestRule activityTestRule, final View view, final Animation animation) in assertRunAnimation() argument 56 assertRunAnimation(instrumentation, activityTestRule, view, animation, in assertRunAnimation() 71 final ActivityTestRule activityTestRule, final View view, final Animation animation, in assertRunAnimation() argument 74 activityTestRule.runOnUiThread(() -> view.startAnimation(animation)); in assertRunAnimation() 89 public static void assertRunController(final ActivityTestRule activityTestRule, in assertRunController() argument 93 activityTestRule.runOnUiThread(() -> { in assertRunController()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceProviderTest.kt | 45 @Rule @JvmField var activityTestRule = ActivityTestRule(Launcher::class.java) variable in android.slice.cts.SliceProviderTest 59 contentResolver = activityTestRule.activity.contentResolver in setUp() 60 isSlicesDisabled = activityTestRule in setUp()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | StretchEdgeUtil.kt | 217 activityTestRule: ActivityTestRule<*>?, in emulateDragGesture() 240 if (activityTestRule != null) { in emulateDragGesture() 241 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateDragGesture() 242 activityTestRule.activity.getWindow().getDecorView(), null) in emulateDragGesture()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayClientTests.java | 96 final ActivityTestRule<T> activityTestRule = new ActivityTestRule<>( in testDisplayIdUpdateOnMove() local 101 Activity activity = activityTestRule.launchActivity(new Intent()); in testDisplayIdUpdateOnMove() 128 activity = activityTestRule.getActivity(); in testDisplayIdUpdateOnMove()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListTester.java | 42 public ExpandableListTester(ActivityTestRule<?> activityTestRule, in ExpandableListTester() argument 44 mActivityTestRule = activityTestRule; in ExpandableListTester()
|