/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 73 ActivityTestRule<?> activityTestRule, View view) { in emulateTapOnViewCenter() argument 74 emulateTapOnViewCenter(instrumentation, activityTestRule, view, true); in emulateTapOnViewCenter() 85 ActivityTestRule<?> activityTestRule, View view, boolean waitForAnimations) { in emulateTapOnViewCenter() argument 86 emulateTapOnView(instrumentation, activityTestRule, view, view.getWidth() / 2, in emulateTapOnViewCenter() 100 ActivityTestRule<?> activityTestRule, View anchorView, in emulateTapOnView() argument 102 emulateTapOnView(instrumentation, activityTestRule, anchorView, offsetX, offsetY, true); in emulateTapOnView() 116 ActivityTestRule<?> activityTestRule, View anchorView, in emulateTapOnView() argument 133 if (activityTestRule != null) { in emulateTapOnView() 134 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateTapOnView() 135 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateTapOnView() [all …]
|
D | WidgetTestUtils.java | 214 public static void runOnMainAndDrawSync(@NonNull final ActivityTestRule activityTestRule, 219 activityTestRule.runOnUiThread(() -> { 256 public static void runOnMainAndLayoutSync(@NonNull final ActivityTestRule activityTestRule, 259 runOnMainAndLayoutSync(activityTestRule, 260 activityTestRule.getActivity().getWindow().getDecorView(), runner, forceLayout); 274 public static void runOnMainAndLayoutSync(@NonNull final ActivityTestRule activityTestRule, 281 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 | 44 @Rule @JvmField var activityTestRule = ActivityTestRule(Launcher::class.java) variable in android.slice.cts.SliceProviderTest 56 contentResolver = activityTestRule.activity.contentResolver in setUp() 57 isSlicesDisabled = activityTestRule in setUp()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | StretchEdgeUtil.kt | 204 activityTestRule: ActivityTestRule<*>?, in emulateDragGesture() 227 if (activityTestRule != null) { in emulateDragGesture() 228 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateDragGesture() 229 activityTestRule.activity.getWindow().getDecorView(), null) in emulateDragGesture()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayClientTests.java | 93 final ActivityTestRule<T> activityTestRule = new ActivityTestRule<>( in testDisplayIdUpdateOnMove() local 98 Activity activity = activityTestRule.launchActivity(new Intent()); in testDisplayIdUpdateOnMove() 125 activity = activityTestRule.getActivity(); in testDisplayIdUpdateOnMove()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListTester.java | 41 public ExpandableListTester(ActivityTestRule<?> activityTestRule, in ExpandableListTester() argument 43 mActivityTestRule = activityTestRule; in ExpandableListTester()
|