Home
last modified time | relevance | path

Searched refs:fragmentClass (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/navigation/fragment/ktx/src/main/java/androidx/navigation/fragment/
DFragmentNavigatorDestinationBuilder.kt51 private val fragmentClass: KClass<out Fragment> in fragment() constant
56 destination.fragmentClass = fragmentClass.java in fragment()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DSingleFragmentTestBase.java90 public SingleFragmentTestActivity launchAndWaitActivity(Class fragmentClass, long waitTimeMs) { in launchAndWaitActivity() argument
91 return launchAndWaitActivity(fragmentClass.getName(), null, waitTimeMs); in launchAndWaitActivity()
94 public SingleFragmentTestActivity launchAndWaitActivity(Class fragmentClass, Options options, in launchAndWaitActivity() argument
96 return launchAndWaitActivity(fragmentClass.getName(), options, waitTimeMs); in launchAndWaitActivity()
DSingleSupportFragmentTestBase.java87 …public SingleSupportFragmentTestActivity launchAndWaitActivity(Class fragmentClass, long waitTimeM… in launchAndWaitActivity() argument
88 return launchAndWaitActivity(fragmentClass.getName(), null, waitTimeMs); in launchAndWaitActivity()
91 …public SingleSupportFragmentTestActivity launchAndWaitActivity(Class fragmentClass, Options option… in launchAndWaitActivity() argument
93 return launchAndWaitActivity(fragmentClass.getName(), options, waitTimeMs); in launchAndWaitActivity()
/frameworks/support/navigation/fragment/ktx/src/androidTest/java/androidx/navigation/fragment/
DFragmentNavigatorDestinationBuilderTest.kt53 (graph[DESTINATION_ID] as FragmentNavigator.Destination).fragmentClass) in fragment()
71 (graph[DESTINATION_ID] as FragmentNavigator.Destination).fragmentClass) in fragmentWithBody()
/frameworks/base/core/java/android/app/
DBackStackRecord.java425 final Class fragmentClass = fragment.getClass(); in doAddOp() local
426 final int modifiers = fragmentClass.getModifiers(); in doAddOp()
427 if ((fragmentClass.isAnonymousClass() || !Modifier.isPublic(modifiers) in doAddOp()
428 || (fragmentClass.isMemberClass() && !Modifier.isStatic(modifiers)))) { in doAddOp()
429 throw new IllegalStateException("Fragment " + fragmentClass.getCanonicalName() in doAddOp()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DBackStackRecord.java396 final Class fragmentClass = fragment.getClass(); in doAddOp() local
397 final int modifiers = fragmentClass.getModifiers(); in doAddOp()
398 if (fragmentClass.isAnonymousClass() || !Modifier.isPublic(modifiers) in doAddOp()
399 || (fragmentClass.isMemberClass() && !Modifier.isStatic(modifiers))) { in doAddOp()
400 throw new IllegalStateException("Fragment " + fragmentClass.getCanonicalName() in doAddOp()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java1393 public void startPreferencePanel(String fragmentClass, Bundle args, @StringRes int titleRes, in startPreferencePanel() argument
1395 Fragment f = Fragment.instantiate(this, fragmentClass, args); in startPreferencePanel()