Searched defs:fragments (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/app/
H A DFragmentManagerNonConfig.java23 * FragmentManagerNonConfig stores the retained instance fragments across
27 * and passed to the state save and restore process for fragments in
39 FragmentManagerNonConfig(List<Fragment> fragments, argument
41 mFragments = fragments;
46 * @return the retained instance fragments returned by a FragmentManager
H A DFragmentTransition.java84 * Views of incoming fragments have been added. false if the
184 * @param fragments A structure holding the transitioning fragments in this container.
193 int containerId, FragmentContainerTransition fragments,
202 final Fragment inFragment = fragments.lastIn;
203 final Fragment outFragment = fragments.firstOut;
204 final boolean inIsPop = fragments.lastInIsPop;
205 final boolean outIsPop = fragments.firstOutIsPop;
213 nonExistentView, nameOverrides, fragments, sharedElementsOut, sharedElementsIn,
256 * @param fragments
192 configureTransitionsReordered(FragmentManagerImpl fragmentManager, int containerId, FragmentContainerTransition fragments, View nonExistentView, ArrayMap<String, String> nameOverrides) argument
264 configureTransitionsOrdered(FragmentManagerImpl fragmentManager, int containerId, FragmentContainerTransition fragments, View nonExistentView, ArrayMap<String, String> nameOverrides) argument
478 configureSharedElementsReordered(final ViewGroup sceneRoot, final View nonExistentView, ArrayMap<String, String> nameOverrides, final FragmentContainerTransition fragments, final ArrayList<View> sharedElementsOut, final ArrayList<View> sharedElementsIn, final Transition enterTransition, final Transition exitTransition) argument
607 configureSharedElementsOrdered(final ViewGroup sceneRoot, final View nonExistentView, ArrayMap<String, String> nameOverrides, final FragmentContainerTransition fragments, final ArrayList<View> sharedElementsOut, final ArrayList<View> sharedElementsIn, final Transition enterTransition, final Transition exitTransition) argument
706 captureOutSharedElements( ArrayMap<String, String> nameOverrides, TransitionSet sharedElementTransition, FragmentContainerTransition fragments) argument
761 captureInSharedElements( ArrayMap<String, String> nameOverrides, TransitionSet sharedElementTransition, FragmentContainerTransition fragments) argument
832 getInEpicenterView(ArrayMap<String, View> inSharedElements, FragmentContainerTransition fragments, Transition enterTransition, boolean inIsPop) argument
[all...]
H A DFragmentManager.java67 * <p>For more information about using fragments, read the
68 * <a href="{@docRoot}guide/components/fragments.html">Fragments</a> developer guide.</p>
75 * <a href="http://android-developers.blogspot.com/2011/03/fragments-for-all.html">
163 * This is because the framework takes care of saving your current fragments
195 * searches through fragments that are currently added to the manager's
196 * activity; if no such fragment is found, then all fragments currently
205 * searches through fragments that are currently added to the manager's
206 * activity; if no such fragment is found, then all fragments currently
330 * Get a list of all fragments that are currently added to the FragmentManager.
332 * This will not include any fragments onl
2240 makeRemovedFragmentsInvisible(ArraySet<Fragment> fragments) argument
[all...]
H A DActivity.java208 * <p>For more information about using fragments, read the
209 * <a href="{@docRoot}guide/components/fragments.html">Fragments</a> developer guide.</p>
738 static final String FRAGMENTS_TAG = "android:fragments";
809 FragmentManagerNonConfig fragments; field in class:Activity.NonConfigurationInstances
1045 ? mLastNonConfigurationInstances.fragments : null);
2424 FragmentManagerNonConfig fragments = mFragments.retainNestedNonConfig();
2427 // Our fragments are taken care of but we need to mark the loaders for retention.
2434 if (activity == null && children == null && fragments == null && loaders == null
2442 nci.fragments = fragments;
[all...]
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragmentManagerNonConfig.java27 * FragmentManagerNonConfig stores the retained instance fragments across
31 * and passed to the state save and restore process for fragments in
40 FragmentManagerNonConfig(List<Fragment> fragments, argument
43 mFragments = fragments;
49 * @return the retained instance fragments returned by a FragmentManager
63 * @return the ViewModelStores for all fragments associated with the FragmentManager
H A DFragmentTransition.java99 * Views of incoming fragments have been added. false if the
201 * @param fragments A structure holding the transitioning fragments in this container.
210 int containerId, FragmentContainerTransition fragments,
219 final Fragment inFragment = fragments.lastIn;
220 final Fragment outFragment = fragments.firstOut;
225 final boolean inIsPop = fragments.lastInIsPop;
226 final boolean outIsPop = fragments.firstOutIsPop;
234 nonExistentView, nameOverrides, fragments, sharedElementsOut, sharedElementsIn,
299 * @param fragments
209 configureTransitionsReordered(FragmentManagerImpl fragmentManager, int containerId, FragmentContainerTransition fragments, View nonExistentView, ArrayMap<String, String> nameOverrides) argument
307 configureTransitionsOrdered(FragmentManagerImpl fragmentManager, int containerId, FragmentContainerTransition fragments, View nonExistentView, ArrayMap<String, String> nameOverrides) argument
553 configureSharedElementsReordered(final FragmentTransitionImpl impl, final ViewGroup sceneRoot, final View nonExistentView, final ArrayMap<String, String> nameOverrides, final FragmentContainerTransition fragments, final ArrayList<View> sharedElementsOut, final ArrayList<View> sharedElementsIn, final Object enterTransition, final Object exitTransition) argument
682 configureSharedElementsOrdered(final FragmentTransitionImpl impl, final ViewGroup sceneRoot, final View nonExistentView, final ArrayMap<String, String> nameOverrides, final FragmentContainerTransition fragments, final ArrayList<View> sharedElementsOut, final ArrayList<View> sharedElementsIn, final Object enterTransition, final Object exitTransition) argument
779 captureOutSharedElements(FragmentTransitionImpl impl, ArrayMap<String, String> nameOverrides, Object sharedElementTransition, FragmentContainerTransition fragments) argument
834 captureInSharedElements(FragmentTransitionImpl impl, ArrayMap<String, String> nameOverrides, Object sharedElementTransition, FragmentContainerTransition fragments) argument
906 getInEpicenterView(ArrayMap<String, View> inSharedElements, FragmentContainerTransition fragments, Object enterTransition, boolean inIsPop) argument
[all...]
H A DFragmentActivity.java74 static final String FRAGMENTS_TAG = "android:support:fragments";
133 FragmentManagerNonConfig fragments; field in class:FragmentActivity.NonConfigurationInstances
254 * to support fragments attached to this activity.</p>
269 * to support fragments attached to this activity.</p>
280 * Dispatch configuration change to all fragments.
318 * Perform initialization of all fragments.
334 mFragments.restoreAllState(p, nc != null ? nc.fragments : null);
399 * Destroy all fragments.
413 * Dispatch onLowMemory() to all fragments.
422 * Dispatch context and options menu to fragments
[all...]
H A DFragmentManager.java164 * This is because the framework takes care of saving your current fragments
207 * searches through fragments that are currently added to the manager's
208 * activity; if no such fragment is found, then all fragments currently
218 * searches through fragments that are currently added to the manager's
219 * activity; if no such fragment is found, then all fragments currently
350 * Get a list of all fragments that are currently added to the FragmentManager.
352 * This will not include any fragments only in the back stack, or fragments that
355 * The order of the fragments in the list is the order in which they were
358 * @return A list of all fragments tha
2449 makeRemovedFragmentsInvisible(ArraySet<Fragment> fragments) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
H A DExtensionFragmentListener.java15 package com.android.systemui.fragments;
H A DFragmentService.java15 package com.android.systemui.fragments;
74 pw.println("Dumping fragments:");
H A DFragmentHostManager.java15 package com.android.systemui.fragments;
94 // For now just keep all fragments in the resumed state.
150 * Called when the configuration changed, return true if the fragments
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DToolbarFragmentPagerMenu.java44 * Demonstrates how fragments can participate in the options menu from within a {@link ViewPager}.
65 public PagerAdapter(FragmentManager fm, Fragment... fragments) { argument
69 for (Fragment fragment : fragments) {
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DToolbarFragmentPagerMenu.java44 * Demonstrates how fragments can participate in the options menu from within a {@link ViewPager}.
65 public PagerAdapter(FragmentManager fm, Fragment... fragments) { argument
69 for (Fragment fragment : fragments) {
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentTestUtil.java48 // The two-cycle wait makes sure fragments have the opportunity to complete both
140 public static void assertChildren(ViewGroup container, Fragment... fragments) { argument
141 final int numFragments = fragments == null ? 0 : fragments.length;
146 fragments[i].getView());
H A DFragmentViewTests.java105 // Add fragments to multiple containers in the same transaction. Make sure that
179 // Make sure that removed fragments remove the right Views. Popping the back stack should
650 // Replace of multiple fragments in a container. Popping should replace it back again
862 // Test to ensure that popping and adding a fragment properly track the fragments added
961 // Popping the backstack with ordered fragments should execute the operations together.
1015 private void assertChildren(ViewGroup container, Fragment... fragments) { argument
1016 final int numFragments = fragments == null ? 0 : fragments.length;
1021 fragments[i].getView());
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java18 package com.android.ex.photo.fragments;
86 "com.android.mail.photo.fragments.PhotoViewFragment.INTENT";

Completed in 196 milliseconds