Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java129 SavedState mPendingSavedState = null; field in LinearLayoutManager
238 if (mPendingSavedState != null) { in onSaveInstanceState()
239 return new SavedState(mPendingSavedState); in onSaveInstanceState()
266 mPendingSavedState = (SavedState) state; in onRestoreInstanceState()
471 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
477 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
478 mPendingScrollPosition = mPendingSavedState.mAnchorPosition;
487 || mPendingSavedState != null) {
644 mPendingSavedState = null; // we don't need this anymore in onLayoutCompleted()
808 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
[all …]
DRecyclerView.java281 private SavedState mPendingSavedState; field in RecyclerView
1187 if (mPendingSavedState != null) { in onSaveInstanceState()
1188 state.copyFrom(mPendingSavedState); in onSaveInstanceState()
1205 mPendingSavedState = (SavedState) state; in onRestoreInstanceState()
1206 super.onRestoreInstanceState(mPendingSavedState.getSuperState()); in onRestoreInstanceState()
1207 if (mLayout != null && mPendingSavedState.mLayoutState != null) { in onRestoreInstanceState()
1208 mLayout.onRestoreInstanceState(mPendingSavedState.mLayoutState); in onRestoreInstanceState()
3533 mPendingSavedState = null; in dispatchLayoutStep2()