/frameworks/base/core/java/android/app/ |
H A D | FragmentManagerNonConfig.java | 36 private final List<Fragment> mFragments; field in class:FragmentManagerNonConfig 41 mFragments = fragments; 49 return mFragments;
|
H A D | Activity.java | 832 final FragmentController mFragments = FragmentController.createController(new HostCallbacks()); field in class:Activity 949 return mFragments.getLoaderManager(); 1025 mFragments.restoreLoaderNonConfig(mLastNonConfigurationInstances.loaders); 1044 mFragments.restoreAllState(p, mLastNonConfigurationInstances != null 1047 mFragments.dispatchCreate(); 1276 mFragments.doLoaderStart(); 1625 Parcelable p = mFragments.saveAllState(); 2272 mFragments.dispatchConfigurationChanged(newConfig); 2424 FragmentManagerNonConfig fragments = mFragments.retainNestedNonConfig(); 2430 mFragments [all...] |
H A D | ActivityThread.java | 3107 r.activity.mFragments.noteStateNotSaved(); 3766 r.activity.mFragments.noteStateNotSaved();
|
/frameworks/base/tests/testables/src/android/testing/ |
H A D | BaseFragmentTest.java | 54 protected FragmentController mFragments; field in class:BaseFragmentTest 79 mFragments = FragmentController.createController(new HostCallbacks()); 80 mFragments.attachHost(null); 81 mFragments.getFragmentManager().beginTransaction() 97 if (mFragments != null) { 98 // Set mFragments to null to let it know not to destroy. 99 TestableLooper.get(this).runWithLooper(() -> mFragments.dispatchDestroy()); 105 mFragments.dispatchCreate(); 112 mFragments.dispatchStart(); 114 mFragments [all...] |
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | FragmentManagerNonConfig.java | 36 private final List<Fragment> mFragments; field in class:FragmentManagerNonConfig 43 mFragments = fragments; 52 return mFragments;
|
H A D | FragmentActivity.java | 88 mFragments.execPendingActions(); 96 final FragmentController mFragments = FragmentController.createController(new HostCallbacks()); field in class:FragmentActivity 145 mFragments.noteStateNotSaved(); 156 Fragment targetFragment = mFragments.findFragmentByWho(who); 181 FragmentManager fragmentManager = mFragments.getSupportFragmentManager(); 261 mFragments.dispatchMultiWindowModeChanged(isInMultiWindowMode); 276 mFragments.dispatchPictureInPictureModeChanged(isInPictureInPictureMode); 285 mFragments.noteStateNotSaved(); 286 mFragments.dispatchConfigurationChanged(newConfig); 323 mFragments [all...] |
H A D | FragmentStatePagerAdapter.java | 73 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); field in class:FragmentStatePagerAdapter 99 if (mFragments.size() > position) { 100 Fragment f = mFragments.get(position); 118 while (mFragments.size() <= position) { 119 mFragments.add(null); 123 mFragments.set(position, fragment); 143 mFragments.set(position, null); 187 for (int i=0; i<mFragments.size(); i++) { 188 Fragment f = mFragments.get(i); 207 mFragments [all...] |
/frameworks/support/legacy/v13/src/main/java/androidx/legacy/app/ |
H A D | FragmentStatePagerAdapter.java | 80 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); field in class:FragmentStatePagerAdapter 121 if (mFragments.size() > position) { 122 Fragment f = mFragments.get(position); 140 while (mFragments.size() <= position) { 141 mFragments.add(null); 145 mFragments.set(position, fragment); 169 mFragments.set(position, null); 230 for (int i=0; i<mFragments.size(); i++) { 231 Fragment f = mFragments.get(i); 254 mFragments [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/ |
H A D | FragmentHostManager.java | 58 private FragmentController mFragments; field in class:FragmentHostManager 70 mFragments = FragmentController.createController(new HostCallbacks()); 71 mFragments.attachHost(null); 89 mFragments.getFragmentManager().registerFragmentLifecycleCallbacks(mLifecycleCallbacks, 92 mFragments.restoreAllState(savedState, (FragmentManagerNonConfig) null); 95 mFragments.dispatchCreate(); 96 mFragments.dispatchStart(); 97 mFragments.dispatchResume(); 101 mFragments.dispatchPause(); 102 Parcelable p = mFragments [all...] |
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/ |
H A D | FragmentAdapterActivity.java | 35 private PageFragment[] mFragments; field in class:FragmentAdapterActivity 39 mFragments = new PageFragment[mTotalPages]; 63 return mFragments[position] = fragment; 85 mFragments[pageIx].updateValue(newValue);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
H A D | ToolbarFragmentPagerMenu.java | 63 private final List<Fragment> mFragments; field in class:ToolbarFragmentPagerMenu.PagerAdapter 68 mFragments = new ArrayList<Fragment>(); 70 mFragments.add(fragment); 76 return mFragments.get(position); 81 return mFragments.size();
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
H A D | ToolbarFragmentPagerMenu.java | 63 private final List<Fragment> mFragments; field in class:ToolbarFragmentPagerMenu.PagerAdapter 68 mFragments = new ArrayList<Fragment>(); 70 mFragments.add(fragment); 76 return mFragments.get(position); 81 return mFragments.size();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | CollapsedStatusBarFragmentTest.java | 68 mFragments.dispatchResume(); 83 mFragments.dispatchResume(); 101 mFragments.dispatchResume(); 117 mFragments.dispatchResume();
|
H A D | NavigationBarFragmentTest.java | 91 mFragments.dispatchResume();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/car/ |
H A D | CarQsFragmentTest.java | 69 mFragments.dispatchResume(); 78 mFragments.dispatchResume();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | QSFragmentTest.java | 86 mFragments.dispatchResume(); 109 mFragments.dispatchResume();
|
/frameworks/support/viewpager2/src/main/java/androidx/viewpager2/widget/ |
H A D | ViewPager2.java | 292 private final List<Fragment> mFragments = new ArrayList<>(); field in class:ViewPager2.FragmentStateAdapter 333 while (mFragments.size() <= position) { 334 mFragments.add(null); 336 mFragments.set(position, fragment); 399 mFragments.set(position, null); 406 for (int i = 0; i < mFragments.size(); i++) { 407 removeFragment(mFragments.get(i), i, fragmentTransaction);
|