Home
last modified time | relevance | path

Searched refs:mSavedState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DFragmentStatePagerAdapter2.java52 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); field in FragmentStatePagerAdapter2
93 if (mEnableSavedStates && mSavedState.size() > position) { in instantiateItem()
94 Fragment.SavedState fss = mSavedState.get(position); in instantiateItem()
118 while (mSavedState.size() <= position) { in destroyItem()
119 mSavedState.add(null); in destroyItem()
121 mSavedState.set(position, mFragmentManager.saveFragmentInstanceState(fragment)); in destroyItem()
159 if (mEnableSavedStates && mSavedState.size() > 0) { in saveState()
161 Fragment.SavedState[] fss = new Fragment.SavedState[mSavedState.size()]; in saveState()
162 mSavedState.toArray(fss); in saveState()
185 mSavedState.clear(); in restoreState()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DBasePagerViewHolder.java34 protected Parcelable mSavedState; field in BasePagerViewHolder
43 return mSavedState; in saveState()
52 mSavedState = restoredState; in restoreState()
61 mSavedState = null; in resetState()
92 mSavedState = ((PersistentInstanceState) mView).saveState(); in savePendingState()
97 if (mView != null && (mView instanceof PersistentInstanceState) && (mSavedState != null)) { in restorePendingState()
98 ((PersistentInstanceState) mView).restoreState(mSavedState); in restorePendingState()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java77 mSavedState = new SparseArray<SparseArray<Parcelable>>();
96 final SparseArray<Parcelable> state = mSavedState.get(term.key);
111 SparseArray<Parcelable> state = mSavedState.get(key);
114 mSavedState.put(key, state);
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java244 private Bundle mSavedState; field in Launcher
398 mSavedState = savedInstanceState; in onCreate()
399 restoreState(mSavedState); in onCreate()
3618 if (mSavedState != null) { in finishBindingItems()
3622 mSavedState = null; in finishBindingItems()
4116 Log.d(TAG, "mSavedState=" + mSavedState); in dumpState()