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.java181 private SavedState mPendingSavedState; field in StaggeredGridLayoutManager
469 if (mPendingSavedState != null && mPendingSavedState.mReverseLayout != reverseLayout) {
470 mPendingSavedState.mReverseLayout = reverseLayout;
520 if (mPendingSavedState == null) {
604 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
613 mPendingSavedState != null) {
615 if (mPendingSavedState != null) {
625 if (mPendingSavedState == null && mPendingScrollPosition == NO_POSITION) {
633 if (getChildCount() > 0 && (mPendingSavedState == null ||
634 mPendingSavedState.mSpanOffsetsSize < 1)) {
[all …]
DLinearLayoutManager.java131 SavedState mPendingSavedState = null; field in LinearLayoutManager
236 if (mPendingSavedState != null) { in onSaveInstanceState()
237 return new SavedState(mPendingSavedState); in onSaveInstanceState()
264 mPendingSavedState = (SavedState) state; in onRestoreInstanceState()
466 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
472 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
473 mPendingScrollPosition = mPendingSavedState.mAnchorPosition;
482 mPendingSavedState != null) {
639 mPendingSavedState = null; // we don't need this anymore in onLayoutCompleted()
803 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
[all …]
DRecyclerView.java261 private SavedState mPendingSavedState; field in RecyclerView
1079 if (mPendingSavedState != null) { in onSaveInstanceState()
1080 state.copyFrom(mPendingSavedState); in onSaveInstanceState()
1097 mPendingSavedState = (SavedState) state; in onRestoreInstanceState()
1098 super.onRestoreInstanceState(mPendingSavedState.getSuperState()); in onRestoreInstanceState()
1099 if (mLayout != null && mPendingSavedState.mLayoutState != null) { in onRestoreInstanceState()
1100 mLayout.onRestoreInstanceState(mPendingSavedState.mLayoutState); in onRestoreInstanceState()
3263 mPendingSavedState = null; in dispatchLayoutStep2()
DGridLayoutManager.java1052 return mPendingSavedState == null && !mPendingSpanCountChange; in supportsPredictiveItemAnimations()