Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/app/
DFragmentStatePagerAdapter.java71 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); field in FragmentStatePagerAdapter
111 if (mSavedState.size() > position) { in instantiateItem()
112 Fragment.SavedState fss = mSavedState.get(position); in instantiateItem()
137 while (mSavedState.size() <= position) { in destroyItem()
138 mSavedState.add(null); in destroyItem()
140 mSavedState.set(position, fragment.isAdded() in destroyItem()
179 if (mSavedState.size() > 0) { in saveState()
181 Fragment.SavedState[] fss = new Fragment.SavedState[mSavedState.size()]; in saveState()
182 mSavedState.toArray(fss); in saveState()
204 mSavedState.clear(); in restoreState()
[all …]
/frameworks/support/v13/java/android/support/v13/app/
DFragmentStatePagerAdapter.java75 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); field in FragmentStatePagerAdapter
115 if (mSavedState.size() > position) { in instantiateItem()
116 Fragment.SavedState fss = mSavedState.get(position); in instantiateItem()
141 while (mSavedState.size() <= position) { in destroyItem()
142 mSavedState.add(null); in destroyItem()
144 mSavedState.set(position, fragment.isAdded() in destroyItem()
184 if (mSavedState.size() > 0) { in saveState()
186 Fragment.SavedState[] fss = new Fragment.SavedState[mSavedState.size()]; in saveState()
187 mSavedState.toArray(fss); in saveState()
209 mSavedState.clear(); in restoreState()
[all …]
/frameworks/support/v4/tests/java/android/support/v4/app/
DFragmentLifecycleTest.java511 private String mSavedState; field in FragmentLifecycleTest.StateSaveFragment
518 mSavedState = savedState; in StateSaveFragment()
523 return mSavedState; in getSavedState()
534 mSavedState = savedInstanceState.getString(STATE_KEY); in onCreate()
541 outState.putString(STATE_KEY, mSavedState); in onSaveInstanceState()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java143 private SavedState mSavedState; field in HorizontalScrollView
1522 if (mSavedState != null) { in onLayout()
1524 ? scrollRange - mSavedState.scrollOffsetFromStart in onLayout()
1525 : mSavedState.scrollOffsetFromStart; in onLayout()
1526 mSavedState = null; in onLayout()
1695 mSavedState = ss; in onRestoreInstanceState()
DScrollView.java165 private SavedState mSavedState; field in ScrollView
1544 if (mSavedState != null) { in onLayout()
1545 mScrollY = mSavedState.scrollPosition; in onLayout()
1546 mSavedState = null; in onLayout()
1819 mSavedState = ss; in onRestoreInstanceState()
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java165 private SavedState mSavedState; field in NestedScrollView
1626 if (mSavedState != null) { in onLayout()
1627 scrollTo(getScrollX(), mSavedState.scrollPosition); in onLayout()
1628 mSavedState = null; in onLayout()
1832 mSavedState = ss; in onRestoreInstanceState()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java2649 ParcelFileDescriptor mSavedState; field in BackupManagerService.PerformBackupTask
3051 mSavedState = null; in invokeAgentForBackup()
3070 mSavedState = ParcelFileDescriptor.open(mSavedStateName, in invokeAgentForBackup()
3092 agent.doBackup(mSavedState, mBackupData, mNewState, token, mBackupManagerBinder); in invokeAgentForBackup()
3417 try { if (mSavedState != null) mSavedState.close(); } catch (IOException e) {} in clearAgentState()
3425 mSavedState = mBackupData = mNewState = null; in clearAgentState()