Searched refs:anchorInfo (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 655 AnchorInfo anchorInfo, int firstLayoutItemDirection) { in onAnchorReady() argument 717 AnchorInfo anchorInfo) { in updateAnchorInfoForLayout() argument 718 if (updateAnchorFromPendingData(state, anchorInfo)) { in updateAnchorInfoForLayout() 725 if (updateAnchorFromChildren(recycler, state, anchorInfo)) { in updateAnchorInfoForLayout() 734 anchorInfo.assignCoordinateFromPadding(); in updateAnchorInfoForLayout() 735 anchorInfo.mPosition = mStackFromEnd ? state.getItemCount() - 1 : 0; in updateAnchorInfoForLayout() 745 RecyclerView.State state, AnchorInfo anchorInfo) { in updateAnchorFromChildren() argument 750 if (focused != null && anchorInfo.isViewValidAsAnchor(focused, state)) { in updateAnchorFromChildren() 751 anchorInfo.assignFromViewAndKeepVisibleRect(focused); in updateAnchorFromChildren() 757 View referenceChild = anchorInfo.mLayoutFromEnd in updateAnchorFromChildren() [all …]
|
D | StaggeredGridLayoutManager.java | 603 final AnchorInfo anchorInfo = mAnchorInfo; 607 anchorInfo.reset(); 612 if (!anchorInfo.mValid || mPendingScrollPosition != NO_POSITION || 614 anchorInfo.reset(); 616 applyPendingSavedState(anchorInfo); 619 anchorInfo.mLayoutFromEnd = mShouldReverseLayout; 622 updateAnchorInfoForLayout(state, anchorInfo); 623 anchorInfo.mValid = true; 626 if (anchorInfo.mLayoutFromEnd != mLastLayoutFromEnd || 629 anchorInfo.mInvalidateOffsets = true; [all …]
|
D | GridLayoutManager.java | 344 AnchorInfo anchorInfo, int itemDirection) { in onAnchorReady() argument 345 super.onAnchorReady(recycler, state, anchorInfo, itemDirection); in onAnchorReady() 348 ensureAnchorIsInCorrectSpan(recycler, state, anchorInfo, itemDirection); in onAnchorReady() 376 RecyclerView.State state, AnchorInfo anchorInfo, int itemDirection) { in ensureAnchorIsInCorrectSpan() argument 379 int span = getSpanIndex(recycler, state, anchorInfo.mPosition); in ensureAnchorIsInCorrectSpan() 382 while (span > 0 && anchorInfo.mPosition > 0) { in ensureAnchorIsInCorrectSpan() 383 anchorInfo.mPosition--; in ensureAnchorIsInCorrectSpan() 384 span = getSpanIndex(recycler, state, anchorInfo.mPosition); in ensureAnchorIsInCorrectSpan() 389 int pos = anchorInfo.mPosition; in ensureAnchorIsInCorrectSpan() 400 anchorInfo.mPosition = pos; in ensureAnchorIsInCorrectSpan()
|