Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java121 int mPendingScrollPosition = NO_POSITION; field in LinearLayoutManager
466 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
473 mPendingScrollPosition = mPendingSavedState.mAnchorPosition;
481 if (!mAnchorInfo.mValid || mPendingScrollPosition != NO_POSITION ||
509 if (state.isPreLayout() && mPendingScrollPosition != NO_POSITION &&
514 final View existing = findViewByPosition(mPendingScrollPosition);
640 mPendingScrollPosition = NO_POSITION; in onLayoutCompleted()
787 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {
791 if (mPendingScrollPosition < 0 || mPendingScrollPosition >= state.getItemCount()) {
792 mPendingScrollPosition = NO_POSITION;
[all …]
DStaggeredGridLayoutManager.java148 int mPendingScrollPosition = NO_POSITION; field in StaggeredGridLayoutManager
604 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
612 if (!anchorInfo.mValid || mPendingScrollPosition != NO_POSITION ||
625 if (mPendingSavedState == null && mPendingScrollPosition == NO_POSITION) {
709 mPendingScrollPosition = NO_POSITION;
792 mPendingScrollPosition = mPendingSavedState.mAnchorPosition;
831 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {
835 if (mPendingScrollPosition < 0 || mPendingScrollPosition >= state.getItemCount()) {
836 mPendingScrollPosition = NO_POSITION;
844 final View child = findViewByPosition(mPendingScrollPosition);
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseLinearLayoutManagerTest.java116 scrollPosition, mLayoutManager.mPendingScrollPosition); in scrollToPositionWithPredictive()
DStaggeredGridLayoutManagerTest.java421 scrollPosition, mLayoutManager.mPendingScrollPosition); in scrollToPositionWithPredictive()