Searched defs:mActivityRule (Results 1 - 25 of 93) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/view/
H A DRenderNodeAnimatorTest.java35 public ActivityTestRule<Activity> mActivityRule = new ActivityTestRule<>(Activity.class); field in class:RenderNodeAnimatorTest
42 return mActivityRule.getActivity();
H A DViewCaptureTest.java53 public ActivityTestRule<ViewCaptureTestActivity> mActivityRule = new ActivityTestRule<>( field in class:ViewCaptureTest
61 mActivity = mActivityRule.getActivity();
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DChildFragmentStateTest.java38 public ActivityTestRule<FragmentTestActivity> mActivityRule = field in class:ChildFragmentStateTest
45 FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager();
H A DFragmentArchLifecycleTest.java42 public ActivityTestRule<EmptyFragmentTestActivity> mActivityRule = field in class:FragmentArchLifecycleTest
48 final EmptyFragmentTestActivity activity = mActivityRule.getActivity();
H A DFragmentManagerNonConfigTest.java41 public ActivityTestRule<NonConfigOnStopActivity> mActivityRule = field in class:FragmentManagerNonConfigTest
51 FragmentActivity activity = FragmentActivityUtils.recreateActivity(mActivityRule,
52 mActivityRule.getActivity());
65 FragmentActivity activity = FragmentActivityUtils.recreateActivity(mActivityRule,
66 mActivityRule.getActivity());
H A DHangingFragmentTest.java36 public ActivityTestRule<HangingFragmentActivity> mActivityRule = field in class:HangingFragmentTest
42 mActivityRule, mActivityRule.getActivity());
H A DNestedFragmentRestoreTest.java45 public ActivityTestRule<FragmentTestActivity> mActivityRule = new ActivityTestRule<>( field in class:NestedFragmentRestoreTest
54 final FragmentTestActivity activity = mActivityRule.getActivity();
55 mActivityRule.runOnUiThread(new Runnable() {
81 mActivityRule.runOnUiThread(new Runnable() {
H A DNestedFragmentTest.java49 public ActivityTestRule<FragmentTestActivity> mActivityRule = field in class:NestedFragmentTest
59 mActivityRule.getActivity().getSupportFragmentManager();
63 mActivityRule.runOnUiThread(new Runnable() {
93 mActivityRule.runOnUiThread(new Runnable() {
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/
H A DEmbeddedXmlTest.java34 public ActivityTestRule<EmbeddedXmlActivity> mActivityRule = field in class:EmbeddedXmlTest
43 final EmbeddedXmlActivity activity = mActivityRule.launchActivity(intent);
45 mActivityRule.runOnUiThread(new Runnable() {
H A DImmediateNavigationTest.java39 public ActivityTestRule<ImmediateNavigationActivity> mActivityRule = field in class:ImmediateNavigationTest
48 final ImmediateNavigationActivity activity = mActivityRule.launchActivity(intent);
/frameworks/support/wear/src/androidTest/java/androidx/wear/ambient/
H A DAmbientModeResumeTest.java41 public final ActivityTestRule<AmbientModeResumeTestActivity> mActivityRule = field in class:AmbientModeResumeTest
H A DAmbientModeSupportResumeTest.java41 public final ActivityTestRule<AmbientModeSupportResumeTestActivity> mActivityRule = field in class:AmbientModeSupportResumeTest
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DVectorDrawablePerfTest.java53 public ActivityTestRule<StubActivity> mActivityRule = field in class:VectorDrawablePerfTest
62 Activity activity = mActivityRule.getActivity();
H A DPaintHasGlyphPerfTest.java60 public ActivityTestRule<StubActivity> mActivityRule = new ActivityTestRule(StubActivity.class); field in class:PaintHasGlyphPerfTest
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewAutoSizeLayoutPerfTest.java73 public ActivityTestRule<StubActivity> mActivityRule = field in class:TextViewAutoSizeLayoutPerfTest
81 mActivityRule.runOnUiThread(() -> {
87 Activity activity = mActivityRule.getActivity();
H A DEditTextLongTextPerfTest.java69 public ActivityTestRule<StubActivity> mActivityRule = new ActivityTestRule(StubActivity.class); field in class:EditTextLongTextPerfTest
75 final EditText editText = new EditText(mActivityRule.getActivity());
95 Activity activity = mActivityRule.getActivity();
109 mActivityRule.runOnUiThread(() -> {
H A DLayoutPerfTest.java73 public ActivityTestRule<StubActivity> mActivityRule = field in class:LayoutPerfTest
82 mActivityRule.runOnUiThread(() -> {
88 Activity activity = mActivityRule.getActivity();
H A DTextViewSetTextLocalePerfTest.java58 public ActivityTestRule<StubActivity> mActivityRule = new ActivityTestRule(StubActivity.class); field in class:TextViewSetTextLocalePerfTest
65 TextView textView = new TextView(mActivityRule.getActivity());
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/
H A DSettingsDrawerActivityTest.java41 public ActivityTestRule<TestActivity> mActivityRule = field in class:SettingsDrawerActivityTest
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/
H A DLoaderQueryRunnerTest.java41 public ActivityTestRule<Activity> mActivityRule = new ActivityTestRule(TestActivity.class); field in class:LoaderQueryRunnerTest
49 mActivity = mActivityRule.getActivity();
73 mActivityRule.runOnUiThread(new Runnable() {
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
H A DEmojiSpanInstrumentationTest.java52 public ActivityTestRule<TestActivity> mActivityRule = new ActivityTestRule<>( field in class:EmojiSpanInstrumentationTest
68 final TestActivity activity = mActivityRule.getActivity();
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DWearableLinearLayoutManagerTest.java47 public final ActivityTestRule<WearableRecyclerViewTestActivity> mActivityRule = field in class:WearableLinearLayoutManagerTest
54 Activity activity = mActivityRule.getActivity();
58 new WearableLinearLayoutManager(mActivityRule.getActivity(), mCurvingCallback);
66 mActivityRule.runOnUiThread(new Runnable() {
70 (WearableRecyclerView) mActivityRule.getActivity().findViewById(R.id.wrv);
78 mActivityRule.runOnUiThread(new Runnable() {
82 (WearableRecyclerView) mActivityRule.getActivity().findViewById(R.id.wrv);
123 mActivityRule.runOnUiThread(new Runnable() {
127 (WearableRecyclerView) mActivityRule.getActivity().findViewById(R.id.wrv);
/frameworks/base/core/tests/coretests/src/android/app/
H A DLoaderLifecycleTest.java42 public ActivityTestRule<EmptyActivity> mActivityRule = field in class:LoaderLifecycleTest
47 mActivityRule.runOnUiThread(() -> {
50 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0));
101 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0));
140 mActivityRule.runOnUiThread(() -> {
143 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0);
183 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewFallbackLineSpacingTest.java61 public ActivityTestRule<TextViewActivity> mActivityRule = new ActivityTestRule<>( field in class:TextViewFallbackLineSpacingTest
94 final Activity activity = mActivityRule.getActivity();
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
H A DColumnCardViewTest.java41 public ActivityTestRule<ColumnCardViewTestActivity> mActivityRule = field in class:ColumnCardViewTest
49 mActivity = mActivityRule.getActivity();

Completed in 190 milliseconds

1234