Home
last modified time | relevance | path

Searched refs:findFragmentByTag (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteDialogPresenter.java49 if (fm.findFragmentByTag(CHOOSER_FRAGMENT_TAG) != null) { in showDialogFragment()
59 if (fm.findFragmentByTag(CONTROLLER_FRAGMENT_TAG) != null) { in showDialogFragment()
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/
DReportFragment.java39 if (manager.findFragmentByTag(REPORT_FRAGMENT_TAG) == null) { in injectIfNeededIn()
47 return (ReportFragment) activity.getFragmentManager().findFragmentByTag( in get()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentMenuFragmentSupport.java57 mFragment1 = fm.findFragmentByTag("f1"); in onCreateView()
62 mFragment2 = fm.findFragmentByTag("f2"); in onCreateView()
DFragmentMenuSupport.java59 mFragment1 = fm.findFragmentByTag("f1"); in onCreate()
64 mFragment2 = fm.findFragmentByTag("f2"); in onCreate()
DFragmentRetainInstanceSupport.java82 mWorkFragment = (RetainedFragment)fm.findFragmentByTag("work"); in onActivityCreated()
DFragmentDialogSupport.java76 Fragment prev = getSupportFragmentManager().findFragmentByTag("dialog"); in showDialog()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
DActionBarFragmentMenu.java63 mFragment1 = (MenuFragment)fm.findFragmentByTag("f1"); in onCreate()
68 mFragment2 = (Menu2Fragment)fm.findFragmentByTag("f2"); in onCreate()
171 mFragment3 = (Menu3Fragment)fm.findFragmentByTag("f3"); in onCreate()
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DFragmentAnimatorTest.java312 final AnimatorFragment replacement1 = (AnimatorFragment) fm.findFragmentByTag("1"); in replaceAnimators()
313 final AnimatorFragment replacement2 = (AnimatorFragment) fm.findFragmentByTag("1"); in replaceAnimators()
483 assertEquals(fragment2, fm1.findFragmentByTag("2")); // still exists because it is animating in saveWhileAnimatingAway()
492 Fragment fragment2restored = fm2.findFragmentByTag("2"); in saveWhileAnimatingAway()
495 Fragment fragment1restored = fm2.findFragmentByTag("1"); in saveWhileAnimatingAway()
517 AnimatorFragment replacement = (AnimatorFragment) fm.findFragmentByTag("1"); in assertExitPopEnter()
DFragmentAnimationTest.java226 final AnimatorFragment replacement1 = (AnimatorFragment) fm.findFragmentByTag("1"); in replaceAnimators()
227 final AnimatorFragment replacement2 = (AnimatorFragment) fm.findFragmentByTag("1"); in replaceAnimators()
402 assertEquals(fragment2, fm1.findFragmentByTag("2")); // still exists because it is animating in saveWhileAnimatingAway()
411 Fragment fragment2restored = fm2.findFragmentByTag("2"); in saveWhileAnimatingAway()
414 Fragment fragment1restored = fm2.findFragmentByTag("1"); in saveWhileAnimatingAway()
518 AnimatorFragment replacement = (AnimatorFragment) fm.findFragmentByTag("1"); in assertExitPopEnter()
DFragmentViewTests.java223 final Fragment replacement1 = fm.findFragmentByTag("1"); in removeFragments()
224 final Fragment replacement3 = fm.findFragmentByTag("3"); in removeFragments()
229 final Fragment replacement2 = fm.findFragmentByTag("2"); in removeFragments()
234 final Fragment replacement4 = fm.findFragmentByTag("4"); in removeFragments()
258 final Fragment replacement1 = fm.findFragmentByTag("1"); in removeHiddenView()
287 final Fragment replacement1 = fm.findFragmentByTag("1"); in removeDetatchedView()
641 Fragment replacement1 = fm.findFragmentByTag("1"); in replaceOne()
681 Fragment replacement1 = fm.findFragmentByTag("1"); in replaceTwo()
682 Fragment replacement2 = fm.findFragmentByTag("2"); in replaceTwo()
750 final Fragment replacement1 = fm.findFragmentByTag("1"); in replaceExisting()
[all …]
DFragmentLifecycleTest.java400 final StateSaveFragment restoredGrandparent = (StateSaveFragment) fm2.findFragmentByTag( in restoreRetainedInstanceFragments()
412 .getChildFragmentManager().findFragmentByTag("tag:parent"); in restoreRetainedInstanceFragments()
424 .getChildFragmentManager().findFragmentByTag("tag:child"); in restoreRetainedInstanceFragments()
723 StrictFragment fragment1 = (StrictFragment) fm.findFragmentByTag("1"); in noPrematureStateChange()
1050 Fragment retainedChild = fm.findFragmentByTag("1") in retainedFragmentInBackstack()
1051 .getChildFragmentManager().findFragmentByTag("child"); in retainedFragmentInBackstack()
1084 fragment2 = (SaveStateFragment) fm.findFragmentByTag("2"); in saveRemovedFragment()
1088 fragment1 = (SaveStateFragment) fm.findFragmentByTag("1"); in saveRemovedFragment()
1213 OnCreateFragment fragment2 = (OnCreateFragment) fm.findFragmentByTag("1"); in retainInstanceWithOnCreate()
1363 .findFragmentByTag("tag"); in onCreateView()
[all …]
DNestedFragmentRestoreTest.java68 ParentFragment parent = (ParentFragment) fm.findFragmentByTag("parent"); in recreateActivity()
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
DFragmentLifecycleInActivityTest.java124 .findFragmentByTag(FragmentLifecycleActivity.MAIN_TAG); in launchActivity()
127 .findFragmentByTag(FragmentLifecycleActivity.NESTED_TAG); in launchActivity()
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/
DLeanbackSettingsFragment.java145 getChildFragmentManager().findFragmentByTag(PREFERENCE_FRAGMENT_TAG); in startPreferenceFragment()
167 getChildFragmentManager().findFragmentByTag(PREFERENCE_FRAGMENT_TAG); in startImmersiveFragment()
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/test/
DNewIntentActivity.java46 .findFragmentByTag("derp") in onNewIntent()
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DSharedLibraryMain.java61 Fragment curDialog = fm.findFragmentByTag(dialogTag); in ensureVersion()
/frameworks/base/core/tests/coretests/src/android/app/
DLoaderLifecycleTest.java124 final Fragment restoredOne = fm2.findFragmentByTag("one"); in loaderIdentityTest()
209 final Fragment restoredOne = fm2.findFragmentByTag("one"); in backStackLoaderIdentityTest()
/frameworks/support/lifecycle/integration-tests/test-app/src/main/java/com/android/support/lifecycle/testapp/
DLiveDataTestActivity.java94 if (getSupportFragmentManager().findFragmentByTag(tag) == null) { in onCreate()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragmentPagerAdapter.java98 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem()
DFragmentTabHost.java243 info.fragment = mFragmentManager.findFragmentByTag(tag); in addTab()
266 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); in onAttachedToWindow()
/frameworks/support/legacy/v13/src/main/java/androidx/legacy/app/
DFragmentTabHost.java255 info.fragment = mFragmentManager.findFragmentByTag(tag); in addTab()
282 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); in onAttachedToWindow()
DFragmentPagerAdapter.java120 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem()
/frameworks/support/wear/src/main/java/androidx/wear/ambient/
DAmbientMode.java240 AmbientMode ambientFragment = (AmbientMode) fragmentManager.findFragmentByTag(FRAGMENT_TAG); in attachAmbientSupport()
DAmbientModeSupport.java240 (AmbientModeSupport) fragmentManager.findFragmentByTag(FRAGMENT_TAG); in attach()
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DFragmentInBackStackLifecycleTest.java93 Fragment fragment = fm.findFragmentByTag("tag"); in test()

1234