Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/app/
DFragmentActivity.java97 mFragments.execPendingActions();
105 final FragmentManagerImpl mFragments = new FragmentManagerImpl(); field in FragmentActivity
149 mFragments.noteStateNotSaved(); in onActivityResult()
153 if (mFragments.mActive == null || index < 0 || index >= mFragments.mActive.size()) { in onActivityResult()
158 Fragment frag = mFragments.mActive.get(index); in onActivityResult()
176 if (!mFragments.popBackStackImmediate()) { in onBackPressed()
241 mFragments.dispatchConfigurationChanged(newConfig); in onConfigurationChanged()
249 mFragments.attachActivity(this, mContainer, null); in onCreate()
264 mFragments.restoreAllState(p, nc != null ? nc.fragments : null); in onCreate()
266 mFragments.dispatchCreate(); in onCreate()
[all …]
DFragmentStatePagerAdapter.java72 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); field in FragmentStatePagerAdapter
94 if (mFragments.size() > position) { in instantiateItem()
95 Fragment f = mFragments.get(position); in instantiateItem()
113 while (mFragments.size() <= position) { in instantiateItem()
114 mFragments.add(null); in instantiateItem()
118 mFragments.set(position, fragment); in instantiateItem()
137 mFragments.set(position, null); in destroyItem()
181 for (int i=0; i<mFragments.size(); i++) { in saveState()
182 Fragment f = mFragments.get(i); in saveState()
201 mFragments.clear(); in restoreState()
[all …]
DLoaderManager.java335 lastBecause = mActivity.mFragments.mNoTransactionsBecause; in destroy()
336 mActivity.mFragments.mNoTransactionsBecause = "onLoaderReset"; in destroy()
342 mActivity.mFragments.mNoTransactionsBecause = lastBecause; in destroy()
413 mActivity.mFragments.startPendingDeferredFragments(); in onLoadComplete()
421 lastBecause = mActivity.mFragments.mNoTransactionsBecause; in callOnLoadFinished()
422 mActivity.mFragments.mNoTransactionsBecause = "onLoadFinished"; in callOnLoadFinished()
430 mActivity.mFragments.mNoTransactionsBecause = lastBecause; in callOnLoadFinished()
676 mActivity.mFragments.startPendingDeferredFragments(); in destroyLoader()
DFragment.java115 mInstance.mFragmentManager = activity.mFragments; in instantiate()
DFragmentManager.java903 ? mParent.mChildFragmentManager : mActivity.mFragments; in moveToState()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentStatePagerAdapter.java76 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); field in FragmentStatePagerAdapter
98 if (mFragments.size() > position) { in instantiateItem()
99 Fragment f = mFragments.get(position); in instantiateItem()
117 while (mFragments.size() <= position) { in instantiateItem()
118 mFragments.add(null); in instantiateItem()
122 mFragments.set(position, fragment); in instantiateItem()
141 mFragments.set(position, null); in destroyItem()
185 for (int i=0; i<mFragments.size(); i++) { in saveState()
186 Fragment f = mFragments.get(i); in saveState()
205 mFragments.clear(); in restoreState()
[all …]
/frameworks/base/core/java/android/app/
DActivity.java743 final FragmentManagerImpl mFragments = new FragmentManagerImpl(); field in Activity
933 mFragments.restoreAllState(p, mLastNonConfigurationInstances != null in onCreate()
936 mFragments.dispatchCreate(); in onCreate()
1367 Parcelable p = mFragments.saveAllState(); in onSaveInstanceState()
1684 mFragments.dispatchConfigurationChanged(newConfig); in onConfigurationChanged()
1838 ArrayList<Fragment> fragments = mFragments.retainNonConfig(); in retainNonConfigurationInstances()
1875 mFragments.dispatchLowMemory(); in onLowMemory()
1881 mFragments.dispatchTrimMemory(level); in onTrimMemory()
1889 return mFragments; in getFragmentManager()
2482 if (!mFragments.popBackStackImmediate()) { in onBackPressed()
[all …]
DLoaderManager.java360 lastBecause = mActivity.mFragments.mNoTransactionsBecause; in destroy()
361 mActivity.mFragments.mNoTransactionsBecause = "onLoaderReset"; in destroy()
367 mActivity.mFragments.mNoTransactionsBecause = lastBecause; in destroy()
469 mActivity.mFragments.startPendingDeferredFragments(); in onLoadComplete()
477 lastBecause = mActivity.mFragments.mNoTransactionsBecause; in callOnLoadFinished()
478 mActivity.mFragments.mNoTransactionsBecause = "onLoadFinished"; in callOnLoadFinished()
486 mActivity.mFragments.mNoTransactionsBecause = lastBecause; in callOnLoadFinished()
734 mActivity.mFragments.startPendingDeferredFragments(); in destroyLoader()
DFragment.java118 mInstance.mFragmentManager = activity.mFragments; in instantiate()
DFragmentManager.java851 ? mParent.mChildFragmentManager : mActivity.mFragments; in moveToState()
DActivityThread.java2455 r.activity.mFragments.noteStateNotSaved(); in deliverNewIntents()
2966 r.activity.mFragments.noteStateNotSaved(); in performResumeActivity()