/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
DragDropTest.java | 64 public ActivityTestRule<DragDropActivity> mActivityRule = 320 mActivity = mActivityRule.getActivity();
|
WindowTest.java | 106 public ActivityTestRule<WindowCtsActivity> mActivityRule = 112 mActivity = mActivityRule.getActivity(); 422 mActivityRule.runOnUiThread(() -> mWindow.setBackgroundDrawableResource(R.drawable.faces)); 425 mActivityRule.runOnUiThread(() -> { 434 mActivityRule.runOnUiThread(() -> mWindow.setBackgroundDrawable(null)); 459 mActivityRule.runOnUiThread(() -> { 490 mActivityRule.runOnUiThread(() -> { 504 mActivityRule.runOnUiThread(() -> { 643 mActivityRule.runOnUiThread(() -> mSurfaceView = new SurfaceView(mActivity)); 664 mActivityRule.runOnUiThread(() -> mWindow.setContentView(mSurfaceView)) [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
LayoutAnimationTest.java | 59 public ActivityTestRule<LayoutAnimationActivity> mActivityRule = 65 mActivity = mActivityRule.getActivity(); 205 mActivityRule.runOnUiThread(mButton::callOnClick);
|
AnimatorSetTest.java | 75 public ActivityTestRule<AnimationActivity> mActivityRule = 81 mActivity = mActivityRule.getActivity(); 156 mActivityRule.runOnUiThread(() -> { 190 mActivityRule.runOnUiThread(() -> { 277 mActivityRule.runOnUiThread(() -> { 313 mActivityRule.runOnUiThread(() -> { 332 mActivityRule.runOnUiThread(() -> { 357 mActivityRule.runOnUiThread(() -> { 381 mActivityRule.runOnUiThread(() -> { 459 mActivityRule.runOnUiThread(() -> [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioPlaybackCaptureTest.java | 82 public ActivityTestRule<AudioPlaybackCaptureActivity> mActivityRule = 141 mActivity = mActivityRule.getActivity();
|
/cts/tests/tests/preference/src/android/preference/cts/ |
PreferenceDataStoreTest.java | 78 public ActivityTestRule<PreferenceFragmentActivity> mActivityRule = 84 mActivity = mActivityRule.getActivity(); 222 CheckBoxPreference pref = new CheckBoxPreference(mActivityRule.getActivity()); 240 CheckBoxPreference pref = new CheckBoxPreference(mActivityRule.getActivity());
|
/cts/tests/tests/role/src/android/app/role/cts/ |
RoleManagerTest.java | 106 public ActivityTestRule<WaitForResultActivity> mActivityRule = 296 mActivityRule.getActivity().startActivityToWaitForResult(intent); 353 return mActivityRule.getActivity().waitForActivityResult(TIMEOUT_MILLIS); 398 WaitForResultActivity activity = mActivityRule.getActivity();
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
WindowInsetsBehaviorTests.java | 143 public ActivityTestRule<WindowInsetsActivity> mActivityRule = new ActivityTestRule<>( 147 public RuleChain mRuleChain = RuleChain.outerRule(mActivityRule) 283 mActivity = mActivityRule.launchActivity(null);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ScrollingMovementMethodTest.java | 79 public ActivityTestRule<CtsActivity> mActivityRule = new ActivityTestRule<>(CtsActivity.class); 85 mActivity = mActivityRule.getActivity(); 726 mActivityRule.runOnUiThread(actionRunner);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeBoundsTest.java | 214 mActivityRule.runOnUiThread(() -> {
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationSetTest.java | 69 public ActivityTestRule<AnimationTestCtsActivity> mActivityRule = 75 mActivity = mActivityRule.getActivity(); 319 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow,
|
/cts/tests/tests/widget/src/android/widget/cts/ |
CompoundButtonTest.java | 77 public ActivityTestRule<CompoundButtonCtsActivity> mActivityRule = 83 mActivity = mActivityRule.getActivity();
|
DatePickerTest.java | 66 public ActivityTestRule<DatePickerCtsActivity> mActivityRule = 71 mActivity = mActivityRule.getActivity();
|
EditTextTest.java | 63 public ActivityTestRule<EditTextCtsActivity> mActivityRule = 69 mActivity = mActivityRule.getActivity();
|
FrameLayoutTest.java | 81 public ActivityTestRule<FrameLayoutCtsActivity> mActivityRule = 87 mActivity = mActivityRule.getActivity(); 110 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, 128 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, () -> { 146 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, () -> { 153 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, 173 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, frameLayout, () -> { 185 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, frameLayout, () -> {
|
GalleryTest.java | 74 public ActivityTestRule<GalleryCtsActivity> mActivityRule = 80 mActivity = mActivityRule.getActivity(); 118 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mGallery, () -> { 193 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mGallery,
|
ProgressBarTest.java | 69 public ActivityTestRule<ProgressBarCtsActivity> mActivityRule = 74 mActivity = mActivityRule.getActivity();
|
RadioGroupTest.java | 66 public ActivityTestRule<RadioGroupCtsActivity> mActivityRule = 71 mActivity = mActivityRule.getActivity();
|
RelativeLayoutTest.java | 65 public ActivityTestRule<RelativeLayoutCtsActivity> mActivityRule = 71 mActivity = mActivityRule.getActivity(); 105 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, relativeLayout, 113 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, relativeLayout, 137 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, 146 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, 155 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, 165 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, 191 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, 200 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout [all...] |
AutoCompleteTextViewTest.java | 109 public ActivityTestRule<AutoCompleteCtsActivity> mActivityRule = 147 mActivity = mActivityRule.getActivity(); 218 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, 222 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, 409 mActivityRule.runOnUiThread(() -> mAutoCompleteTextView.setAdapter(mAdapter)); 411 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { 421 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { 440 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { 452 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { 472 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> [all...] |
GridViewTest.java | 89 public ActivityTestRule<GridViewCtsActivity> mActivityRule = 95 mActivity = mActivityRule.getActivity(); 172 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mGridView, () -> { 225 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, () -> { 232 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mGridView, () -> { 241 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mGridView, () -> { 251 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mGridView, () -> { 273 mActivityRule.runOnUiThread(() -> mGridView.setLayoutDirection(layoutDir)); 279 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, () -> { 294 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView [all...] |
LinearLayoutTest.java | 77 public ActivityTestRule<LinearLayoutCtsActivity> mActivityRule = 83 mActivity = mActivityRule.getActivity(); 449 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, 459 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, 496 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, 506 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, 540 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, 552 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, 588 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, 600 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent [all...] |
ListViewTest.java | 123 public ActivityTestRule<ListViewCtsActivity> mActivityRule = 129 mActivity = mActivityRule.getActivity(); 171 mActivityRule.runOnUiThread(() -> { 182 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 188 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 195 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 201 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 221 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 227 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 310 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> [all...] |
/cts/tests/app/src/android/app/cts/ |
DialogTest.java | 99 public ActivityTestRule<DialogStubActivity> mActivityRule = 110 mActivity = DialogStubActivity.startDialogActivity(mActivityRule, dialogNumber); 231 mActivityRule.runOnUiThread(new Runnable() { 246 mActivityRule.runOnUiThread(new Runnable() { 256 mActivityRule.runOnUiThread(new Runnable() { 295 mActivityRule.runOnUiThread(new Runnable() { 315 mActivityRule.runOnUiThread(new Runnable() { 331 mActivityRule.runOnUiThread(new Runnable() { 348 mActivityRule.runOnUiThread(new Runnable() { 367 mActivityRule.runOnUiThread(new Runnable() [all...] |
/cts/tests/fragment/src/android/fragment/cts/ |
FragmentTransitionTest.java | 71 public ActivityTestRule<FragmentTestActivity> mActivityRule = 82 mFragmentManager = mActivityRule.getActivity().getFragmentManager(); 83 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container); 122 FragmentTestUtil.popBackStackImmediate(mActivityRule); 131 FragmentTestUtil.popBackStackImmediate(mActivityRule); 186 mActivityRule.runOnUiThread(new Runnable() { 198 FragmentTestUtil.waitForExecution(mActivityRule); 204 FragmentTestUtil.waitForExecution(mActivityRule); 214 FragmentTestUtil.popBackStackImmediate(mActivityRule); 219 FragmentTestUtil.waitForExecution(mActivityRule); [all...] |