/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/ |
D | FragmentController.java | 21 …F extends Fragment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass) { in of() argument 22 return of(fragment, activityClass, null, null); in of() 38 …gment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, Intent intent… in of() argument 39 return new FragmentController<>(fragment, activityClass, intent); in of() 42 …gment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, Bundle argume… in of() argument 43 return new FragmentController<>(fragment, activityClass, arguments); in of() 46 … <F extends Fragment> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, in of() argument 48 return new FragmentController<>(fragment, activityClass, intent, arguments); in of() 51 private FragmentController(F fragment, Class<? extends Activity> activityClass, Intent intent) { in FragmentController() argument 52 this(fragment, activityClass, intent, null); in FragmentController() [all …]
|
/external/robolectric-shadows/shadows/androidx/fragment/src/main/java/org/robolectric/shadows/androidx/fragment/ |
D | FragmentController.java | 19 private FragmentController(F fragment, Class<? extends FragmentActivity> activityClass) { in FragmentController() argument 20 this(fragment, activityClass, null /*intent*/, null /*arguments*/); in FragmentController() 24 F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { in FragmentController() argument 25 this(fragment, activityClass, intent, null /*arguments*/); in FragmentController() 29 F fragment, Class<? extends FragmentActivity> activityClass, Bundle arguments) { in FragmentController() argument 30 this(fragment, activityClass, null /*intent*/, arguments); in FragmentController() 35 Class<? extends FragmentActivity> activityClass, in FragmentController() argument 44 ActivityController.of(ReflectionHelpers.callConstructor(activityClass), intent); in FragmentController() 87 F fragment, Class<? extends FragmentActivity> activityClass) { in of() argument 88 return new FragmentController<>(fragment, activityClass); in of() [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | Robolectric.java | 67 public static <T extends Activity> ActivityController<T> buildActivity(Class<T> activityClass) { in buildActivity() argument 68 return buildActivity(activityClass, null); in buildActivity() 71 …public static <T extends Activity> ActivityController<T> buildActivity(Class<T> activityClass, Int… in buildActivity() argument 72 return ActivityController.of(ReflectionHelpers.callConstructor(activityClass), intent); in buildActivity() 75 public static <T extends Activity> T setupActivity(Class<T> activityClass) { in setupActivity() argument 76 return buildActivity(activityClass).setup().get(); in setupActivity() 89 … Class<? extends Activity> activityClass) { in buildFragment() argument 90 return FragmentController.of(ReflectionHelpers.callConstructor(fragmentClass), activityClass); in buildFragment() 104 … Class<? extends Activity> activityClass, in buildFragment() argument 106 …return FragmentController.of(ReflectionHelpers.callConstructor(fragmentClass), activityClass, inte… in buildFragment() [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/util/ |
D | FragmentTestUtil.java | 22 public static void startFragment(Fragment fragment, Class<? extends Activity> activityClass) { in startFragment() argument 23 buildFragmentManager(activityClass) in startFragment() 33 Class<? extends Activity> activityClass, int containerViewId) { in startVisibleFragment() argument 34 buildFragmentManager(activityClass) in startVisibleFragment() 38 private static FragmentManager buildFragmentManager(Class<? extends Activity> activityClass) { in buildFragmentManager() argument 39 Activity activity = Robolectric.setupActivity(activityClass); in buildFragmentManager()
|
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ |
D | SupportFragmentController.java | 18 protected SupportFragmentController(F fragment, Class<? extends FragmentActivity> activityClass) { in SupportFragmentController() argument 19 this(fragment, activityClass, null); in SupportFragmentController() 23 F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { in SupportFragmentController() argument 26 this.activityController = Robolectric.buildActivity(activityClass, intent); in SupportFragmentController() 34 F fragment, Class<? extends FragmentActivity> activityClass) { in of() argument 35 return new SupportFragmentController<>(fragment, activityClass); in of() 39 F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { in of() argument 40 return new SupportFragmentController<>(fragment, activityClass, intent); in of()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalActivityInvoker.java | 36 Class<? extends Activity> activityClass = Class.forName(ai.name).asSubclass(Activity.class); in startActivity() local 38 Robolectric.buildActivity(activityClass, intent) in startActivity() 190 public Intent getIntentForActivity(Class<? extends Activity> activityClass) { in getIntentForActivity() argument 191 Intent intent = Intent.makeMainActivity(new ComponentName(getTargetContext(), activityClass)); in getIntentForActivity() 195 return Intent.makeMainActivity(new ComponentName(getContext(), activityClass)); in getIntentForActivity()
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
D | D2ActivityInstrumentationTestCase2.java | 31 protected D2ActivityInstrumentationTestCase2(Class<T> activityClass) { in D2ActivityInstrumentationTestCase2() argument 32 super(activityClass); in D2ActivityInstrumentationTestCase2()
|
D | BaseDroidDriverTest.java | 65 protected BaseDroidDriverTest(Class<T> activityClass) { in BaseDroidDriverTest() argument 66 super(activityClass); in BaseDroidDriverTest()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/ |
D | RoboMonitoringInstrumentation.java | 44 Class<? extends Activity> activityClass = Class.forName(ai.name).asSubclass(Activity.class); in startActivitySync() local 45 return Robolectric.buildActivity(activityClass, intent) in startActivitySync()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/ |
D | AndroidInterceptors.java | 81 Class<?> activityClass = cl.loadClass(Context.class.getName()); 83 …Method(shadowWindowClass, "create", ReflectionHelpers.ClassParameter.from(activityClass, context));
|