Home
last modified time | relevance | path

Searched refs:fragmentManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DGuidedStepSupportFragment.java476 public static int add(FragmentManager fragmentManager, GuidedStepSupportFragment fragment) { in add() argument
477 return add(fragmentManager, fragment, android.R.id.content); in add()
497 …public static int add(FragmentManager fragmentManager, GuidedStepSupportFragment fragment, int id)… in add() argument
498 GuidedStepSupportFragment current = getCurrentGuidedStepSupportFragment(fragmentManager); in add()
503 fragmentManager.beginTransaction() in add()
507 FragmentTransaction ft = fragmentManager.beginTransaction(); in add()
637 FragmentManager fragmentManager = activity.getSupportFragmentManager(); in addAsRoot() local
638 if (fragmentManager.findFragmentByTag(TAG_LEAN_BACK_ACTIONS_FRAGMENT) != null) { in addAsRoot()
643 FragmentTransaction ft = fragmentManager.beginTransaction(); in addAsRoot()
1248 final FragmentManager fragmentManager = getFragmentManager(); in finishGuidedStepSupportFragments() local
[all …]
DGuidedStepFragment.java479 public static int add(FragmentManager fragmentManager, GuidedStepFragment fragment) { in add() argument
480 return add(fragmentManager, fragment, android.R.id.content); in add()
500 public static int add(FragmentManager fragmentManager, GuidedStepFragment fragment, int id) { in add() argument
501 GuidedStepFragment current = getCurrentGuidedStepFragment(fragmentManager); in add()
506 fragmentManager.beginTransaction() in add()
510 FragmentTransaction ft = fragmentManager.beginTransaction(); in add()
640 FragmentManager fragmentManager = activity.getFragmentManager(); in addAsRoot() local
641 if (fragmentManager.findFragmentByTag(TAG_LEAN_BACK_ACTIONS_FRAGMENT) != null) { in addAsRoot()
646 FragmentTransaction ft = fragmentManager.beginTransaction(); in addAsRoot()
1251 final FragmentManager fragmentManager = getFragmentManager(); in finishGuidedStepFragments() local
[all …]
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/
DDispatcherActivityCallbackTest.java53 FragmentManager fragmentManager = mock(FragmentManager.class); in onCreateFragmentActivity() local
54 when(activity.getSupportFragmentManager()).thenReturn(fragmentManager); in onCreateFragmentActivity()
59 verify(fragmentManager).registerFragmentLifecycleCallbacks( in onCreateFragmentActivity()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DNestedFragmentTest.java57 final FragmentManager fragmentManager = in setup() local
60 fragmentManager.beginTransaction().add(mParentFragment, "parent").commit(); in setup()
65 fragmentManager.executePendingTransactions(); in setup()
DFragmentTestUtil.java76 FragmentManager fragmentManager = rule.getActivity().getSupportFragmentManager(); in executePendingTransactions() local
77 return executePendingTransactions(rule, fragmentManager); in executePendingTransactions()
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DFragmentTransitionUsage.java71 FragmentManager fragmentManager = getSupportFragmentManager(); in showSecond() local
73 (FirstFragment) fragmentManager.findFragmentByTag(FRAGMENT_FIRST); in showSecond()
79 fragmentManager.beginTransaction() in showSecond()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransition.java100 static void startTransitions(FragmentManagerImpl fragmentManager, in startTransitions() argument
103 if (fragmentManager.mCurState < Fragment.CREATED) { in startTransitions()
120 final View nonExistentView = new View(fragmentManager.mHost.getContext()); in startTransitions()
131 configureTransitionsReordered(fragmentManager, containerId, in startTransitions()
134 configureTransitionsOrdered(fragmentManager, containerId, in startTransitions()
207 private static void configureTransitionsReordered(FragmentManagerImpl fragmentManager, in configureTransitionsReordered() argument
211 if (fragmentManager.mContainer.onHasView()) { in configureTransitionsReordered()
212 sceneRoot = (ViewGroup) fragmentManager.mContainer.onFindViewById(containerId); in configureTransitionsReordered()
305 private static void configureTransitionsOrdered(FragmentManagerImpl fragmentManager, in configureTransitionsOrdered() argument
309 if (fragmentManager.mContainer.onHasView()) { in configureTransitionsOrdered()
[all …]
DFragmentActivity.java165 FragmentManager fragmentManager = mFragments.getSupportFragmentManager(); in onBackPressed() local
166 final boolean isStateSaved = fragmentManager.isStateSaved(); in onBackPressed()
174 if (isStateSaved || !fragmentManager.popBackStackImmediate()) { in onBackPressed()
/frameworks/base/core/java/android/app/
DFragmentTransition.java87 static void startTransitions(FragmentManagerImpl fragmentManager, in startTransitions() argument
90 if (fragmentManager.mCurState < Fragment.CREATED) { in startTransitions()
106 final View nonExistentView = new View(fragmentManager.mHost.getContext()); in startTransitions()
116 configureTransitionsReordered(fragmentManager, containerId, in startTransitions()
119 configureTransitionsOrdered(fragmentManager, containerId, in startTransitions()
192 private static void configureTransitionsReordered(FragmentManagerImpl fragmentManager, in configureTransitionsReordered() argument
196 if (fragmentManager.mContainer.onHasView()) { in configureTransitionsReordered()
197 sceneRoot = fragmentManager.mContainer.onFindViewById(containerId); in configureTransitionsReordered()
264 private static void configureTransitionsOrdered(FragmentManagerImpl fragmentManager, in configureTransitionsOrdered() argument
268 if (fragmentManager.mContainer.onHasView()) { in configureTransitionsOrdered()
[all …]
DActivity.java3006 FragmentManager fragmentManager = mFragments.getFragmentManager(); in onBackPressed() local
3008 if (fragmentManager.isStateSaved() || !fragmentManager.popBackStackImmediate()) { in onBackPressed()
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
DHolderFragment.java147 private static HolderFragment createHolderFragment(FragmentManager fragmentManager) { in createHolderFragment() argument
149 fragmentManager.beginTransaction().add(holder, HOLDER_TAG).commitAllowingStateLoss(); in createHolderFragment()