Searched refs:mPendingSavedState (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DStaggeredGridLayoutManager.java179 private SavedState mPendingSavedState; field in class:StaggeredGridLayoutManager
478 if (mPendingSavedState != null && mPendingSavedState.mReverseLayout != reverseLayout) {
479 mPendingSavedState.mReverseLayout = reverseLayout;
528 if (mPendingSavedState == null) {
612 if (mPendingSavedState != null || mPendingScrollPosition != RecyclerView.NO_POSITION) {
621 || mPendingSavedState != null;
624 if (mPendingSavedState != null) {
633 if (mPendingSavedState == null && mPendingScrollPosition == RecyclerView.NO_POSITION) {
641 if (getChildCount() > 0 && (mPendingSavedState
[all...]
H A DLinearLayoutManager.java129 SavedState mPendingSavedState = null; field in class:LinearLayoutManager
246 if (mPendingSavedState != null) {
247 return new SavedState(mPendingSavedState);
274 mPendingSavedState = (SavedState) state;
483 if (mPendingSavedState != null || mPendingScrollPosition != RecyclerView.NO_POSITION) {
489 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
490 mPendingScrollPosition = mPendingSavedState.mAnchorPosition;
500 || mPendingSavedState != null) {
673 mPendingSavedState
[all...]
H A DRecyclerView.java316 private SavedState mPendingSavedState; field in class:RecyclerView
1330 if (mPendingSavedState != null) {
1331 state.copyFrom(mPendingSavedState);
1348 mPendingSavedState = (SavedState) state;
1349 super.onRestoreInstanceState(mPendingSavedState.getSuperState());
1350 if (mLayout != null && mPendingSavedState.mLayoutState != null) {
1351 mLayout.onRestoreInstanceState(mPendingSavedState.mLayoutState);
3881 mPendingSavedState = null;
H A DGridLayoutManager.java1117 return mPendingSavedState == null && !mPendingSpanCountChange;
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java129 SavedState mPendingSavedState = null; field in class:LinearLayoutManager
238 if (mPendingSavedState != null) {
239 return new SavedState(mPendingSavedState);
266 mPendingSavedState = (SavedState) state;
471 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
477 if (mPendingSavedState != null && mPendingSavedState.hasValidAnchor()) {
478 mPendingScrollPosition = mPendingSavedState.mAnchorPosition;
487 || mPendingSavedState != null) {
644 mPendingSavedState
[all...]
H A DRecyclerView.java280 private SavedState mPendingSavedState; field in class:RecyclerView
1186 if (mPendingSavedState != null) {
1187 state.copyFrom(mPendingSavedState);
1204 mPendingSavedState = (SavedState) state;
1205 super.onRestoreInstanceState(mPendingSavedState.getSuperState());
1206 if (mLayout != null && mPendingSavedState.mLayoutState != null) {
1207 mLayout.onRestoreInstanceState(mPendingSavedState.mLayoutState);
3532 mPendingSavedState = null;

Completed in 66 milliseconds