Searched refs:mActivityTestRule (Results 51 - 75 of 81) sorted by relevance

1234

/frameworks/support/swiperefreshlayout/src/androidTest/java/androidx/swiperefreshlayout/widget/
H A DCircularProgressDrawableTest.java49 public final ActivityTestRule<CircularProgressDrawableActivity> mActivityTestRule = field in class:CircularProgressDrawableTest
59 Context context = mActivityTestRule.getActivity().getApplicationContext();
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/view/
H A DSupportMenuInflaterTest.java48 public ActivityTestRule<SupportMenuInflaterTestActivity> mActivityTestRule = field in class:SupportMenuInflaterTest
53 mActivity = mActivityTestRule.getActivity();
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatTextViewAutoSizeTest.java58 mActivityTestRule.runOnUiThread(new Runnable() {
66 mActivityTestRule.runOnUiThread(new Runnable() {
H A DListPopupWindowTest.java73 public final ActivityTestRule<PopupTestActivity> mActivityTestRule = field in class:ListPopupWindowTest
101 final PopupTestActivity activity = mActivityTestRule.getActivity();
117 final View mainDecorView = mActivityTestRule.getActivity().getWindow().getDecorView();
170 mActivityTestRule.runOnUiThread(new Runnable() {
188 mActivityTestRule.runOnUiThread(new Runnable() {
278 final View mainDecorView = mActivityTestRule.getActivity().getWindow().getDecorView();
305 mActivityTestRule.runOnUiThread(new Runnable() {
376 final View anchor = mActivityTestRule.getActivity().findViewById(R.id.test_button);
388 final int popupRowHeight = mActivityTestRule.getActivity().getResources()
H A DPopupMenuTest.java87 public final ActivityTestRule<PopupTestActivity> mActivityTestRule = field in class:PopupMenuTest
109 final PopupTestActivity activity = mActivityTestRule.getActivity();
112 mResources = mActivityTestRule.getActivity().getResources();
113 mMainDecorView = mActivityTestRule.getActivity().getWindow().getDecorView();
146 mActivityTestRule.runOnUiThread(new Runnable() {
360 mActivityTestRule.runOnUiThread(new Runnable() {
464 mActivityTestRule.runOnUiThread(new Runnable() {
552 mActivityTestRule.runOnUiThread(new Runnable() {
594 mActivityTestRule.runOnUiThread(new Runnable() {
628 mActivityTestRule
[all...]
H A DAppCompatBaseViewTest.java66 public final ActivityTestRule<A> mActivityTestRule; field in class:AppCompatBaseViewTest
74 mActivityTestRule = new ActivityTestRule<A>(clazz);
79 mActivity = mActivityTestRule.getActivity();
/frameworks/support/dynamic-animation/src/androidTest/java/androidx/dynamicanimation/tests/
H A DFlingTests.java51 public final ActivityTestRule<AnimationActivity> mActivityTestRule; field in class:FlingTests
59 mActivityTestRule = new ActivityTestRule<>(AnimationActivity.class);
64 mView1 = mActivityTestRule.getActivity().findViewById(R.id.anim_view);
65 mView2 = mActivityTestRule.getActivity().findViewById(R.id.anim_another_view);
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DBaseKeyEventsTestCase.java59 public final ActivityTestRule<A> mActivityTestRule; field in class:BaseKeyEventsTestCase
65 mActivityTestRule = new ActivityTestRule<>(activityClass);
71 mActivity = mActivityTestRule.getActivity();
219 mActivityTestRule.runOnUiThread(new Runnable() {
H A DAlertDialogCursorTest.java73 public final ActivityTestRule<AlertDialogTestActivity> mActivityTestRule; field in class:AlertDialogCursorTest
93 mActivityTestRule = new ActivityTestRule<>(AlertDialogTestActivity.class);
114 final AlertDialogTestActivity activity = mActivityTestRule.getActivity();
140 mActivityTestRule.runOnUiThread(new Runnable() {
210 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity())
308 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity())
420 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity())
H A DDrawerDynamicLayoutTest.java55 public final ActivityTestRule<DrawerDynamicLayoutActivity> mActivityTestRule = field in class:DrawerDynamicLayoutTest
63 final DrawerDynamicLayoutActivity activity = mActivityTestRule.getActivity();
179 (DrawerLayout) mActivityTestRule.getActivity().findViewById(R.id.drawer_layout);
H A DDrawerInteractionTest.java55 public final ActivityTestRule<DrawerInteractionActivity> mActivityTestRule = field in class:DrawerInteractionTest
64 final Activity activity = mActivityTestRule.getActivity();
87 mActivityTestRule.runOnUiThread(new Runnable() {
H A DAppCompatMenuItemIconTintingTest.java59 public ActivityTestRule<AppCompatMenuItemIconTintingTestActivity> mActivityTestRule = field in class:AppCompatMenuItemIconTintingTest
64 mActivity = mActivityTestRule.getActivity();
H A DDrawerLayoutDoubleTest.java49 public final ActivityTestRule<DrawerLayoutDoubleActivity> mActivityTestRule = field in class:DrawerLayoutDoubleTest
62 final DrawerLayoutDoubleActivity activity = mActivityTestRule.getActivity();
H A DDrawerLayoutTest.java72 public final ActivityTestRule<DrawerLayoutActivity> mActivityTestRule = field in class:DrawerLayoutTest
83 final DrawerLayoutActivity activity = mActivityTestRule.getActivity();
127 mActivityTestRule.runOnUiThread(new Runnable() {
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
H A DSwipeTest.java76 private ActivityTestRule<? extends BaseActivity> mActivityTestRule; field in class:SwipeTest
85 BaseActivity activity = mActivityTestRule.getActivity();
104 activity = FragmentActivityUtils.recreateActivity(mActivityTestRule, activity);
252 mActivityTestRule = new ActivityTestRule<>(mTestConfig.mActivityClass, true, false);
253 mActivityTestRule.launchActivity(BaseActivity.createIntent(mTestConfig.mTotalPages));
255 final ViewPager2 viewPager = mActivityTestRule.getActivity().findViewById(R.id.view_pager);
259 mActivityTestRule.getActivity().runOnUiThread(new Runnable() {
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
H A DNestedScrollViewTest.java259 mActivityTestRule.runOnUiThread(new Runnable() {
357 mChild = new View(mActivityTestRule.getActivity());
364 mNestedScrollView = new NestedScrollView(mActivityTestRule.getActivity());
381 mActivityTestRule.getActivity().findViewById(R.id.testContentView);
383 mActivityTestRule.runOnUiThread(new Runnable() {
H A DTextViewCompatTest.java109 mTextView = (TextView) mActivityTestRule.getActivity().findViewById(R.id.text_view);
158 final Resources res = mActivityTestRule.getActivity().getResources();
333 final Resources res = mActivityTestRule.getActivity().getResources();
384 final Resources res = mActivityTestRule.getActivity().getResources();
/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
H A DAnimatedVectorDrawableParameterizedTest.java49 @Rule public final ActivityTestRule<DrawableStubActivity> mActivityTestRule = field in class:AnimatedVectorDrawableParameterizedTest
140 mContext = mActivityTestRule.getActivity();
H A DAnimatedVectorDrawableTest.java68 @Rule public final ActivityTestRule<DrawableStubActivity> mActivityTestRule; field in class:AnimatedVectorDrawableTest
110 mActivityTestRule = new ActivityTestRule<>(DrawableStubActivity.class);
117 mContext = mActivityTestRule.getActivity();
296 (ImageButton) mActivityTestRule.getActivity().findViewById(R.id.imageButton);
307 mActivityTestRule.runOnUiThread(new Runnable() {
333 mActivityTestRule.runOnUiThread(new Runnable() {
388 (ImageButton) mActivityTestRule.getActivity().findViewById(R.id.imageButton);
/frameworks/support/compat/src/androidTest/java/androidx/core/view/
H A DViewGroupCompatTest.java50 final Activity activity = mActivityTestRule.getActivity();
H A DPointerIconCompatTest.java54 mActivity = mActivityTestRule.getActivity();
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/picker/
H A DDatePickerTest.java59 public ActivityTestRule<DatePickerActivity> mActivityTestRule = field in class:DatePickerTest
69 mActivity = mActivityTestRule.launchActivity(intent);
86 mActivityTestRule.runOnUiThread(new Runnable() {
334 mActivityTestRule.runOnUiThread(new Runnable() {
342 mActivityTestRule.runOnUiThread(new Runnable() {
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
H A DCoordinatorSnackbarWithButtonTest.java104 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity());
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
H A DPercentRelativeTest.java70 final TestRelativeActivity activity = mActivityTestRule.getActivity();
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
H A DContextCompatTest.java56 mContext = mActivityTestRule.getActivity();

Completed in 1056 milliseconds

1234