Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java166 private SavedState mPendingSavedState; field in StaggeredGridLayoutManager
436 if (mPendingSavedState != null && mPendingSavedState.mReverseLayout != reverseLayout) {
437 mPendingSavedState.mReverseLayout = reverseLayout;
486 if (mPendingSavedState == null) {
555 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
562 if (mPendingSavedState != null) {
571 if (mPendingSavedState == null) {
579 if (getChildCount() > 0 && (mPendingSavedState == null ||
580 mPendingSavedState.mSpanOffsetsSize < 1)) {
640 mPendingSavedState = null; // we don't need this anymore
[all …]
DLinearLayoutManager.java131 SavedState mPendingSavedState = null; field in LinearLayoutManager
234 if (mPendingSavedState != null) { in onSaveInstanceState()
235 return new SavedState(mPendingSavedState); in onSaveInstanceState()
262 mPendingSavedState = (SavedState) state; in onRestoreInstanceState()
465 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
471 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
472 mPendingScrollPosition = mPendingSavedState.mAnchorPosition;
616 mPendingSavedState = null; // we don't need this anymore
779 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
782 anchorInfo.mLayoutFromEnd = mPendingSavedState.mAnchorLayoutFromEnd;
[all …]
DRecyclerView.java240 private SavedState mPendingSavedState; field in RecyclerView
980 if (mPendingSavedState != null) { in onSaveInstanceState()
981 state.copyFrom(mPendingSavedState); in onSaveInstanceState()
993 mPendingSavedState = (SavedState) state; in onRestoreInstanceState()
994 super.onRestoreInstanceState(mPendingSavedState.getSuperState()); in onRestoreInstanceState()
995 if (mLayout != null && mPendingSavedState.mLayoutState != null) { in onRestoreInstanceState()
996 mLayout.onRestoreInstanceState(mPendingSavedState.mLayoutState); in onRestoreInstanceState()
2850 mPendingSavedState = null; in dispatchLayout()
DGridLayoutManager.java826 return mPendingSavedState == null && !mPendingSpanCountChange; in supportsPredictiveItemAnimations()