Home
last modified time | relevance | path

Searched refs:mStateArray (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
DFragmentManager.java723 SparseArray<Parcelable> mStateArray = null; field in FragmentManagerImpl
2653 if (mStateArray == null) { in saveFragmentViewState()
2654 mStateArray = new SparseArray<Parcelable>(); in saveFragmentViewState()
2656 mStateArray.clear(); in saveFragmentViewState()
2658 f.mView.saveHierarchyState(mStateArray); in saveFragmentViewState()
2659 if (mStateArray.size() > 0) { in saveFragmentViewState()
2660 f.mSavedViewState = mStateArray; in saveFragmentViewState()
2661 mStateArray = null; in saveFragmentViewState()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragmentManager.java722 SparseArray<Parcelable> mStateArray = null; field in FragmentManagerImpl
2890 if (mStateArray == null) { in saveFragmentViewState()
2891 mStateArray = new SparseArray<Parcelable>(); in saveFragmentViewState()
2893 mStateArray.clear(); in saveFragmentViewState()
2895 f.mInnerView.saveHierarchyState(mStateArray); in saveFragmentViewState()
2896 if (mStateArray.size() > 0) { in saveFragmentViewState()
2897 f.mSavedViewState = mStateArray; in saveFragmentViewState()
2898 mStateArray = null; in saveFragmentViewState()