[go: nahoru, domu]

Searched refs:anchorInfo (Results 1 - 3 of 3) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java650 * @param anchorInfo The mutable POJO that keeps the position and offset.
655 AnchorInfo anchorInfo, int firstLayoutItemDirection) {
717 AnchorInfo anchorInfo) {
718 if (updateAnchorFromPendingData(state, anchorInfo)) {
725 if (updateAnchorFromChildren(recycler, state, anchorInfo)) {
734 anchorInfo.assignCoordinateFromPadding();
735 anchorInfo.mPosition = mStackFromEnd ? state.getItemCount() - 1 : 0;
745 RecyclerView.State state, AnchorInfo anchorInfo) {
750 if (focused != null && anchorInfo.isViewValidAsAnchor(focused, state)) {
751 anchorInfo
654 onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo, int firstLayoutItemDirection) argument
716 updateAnchorInfoForLayout(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo) argument
744 updateAnchorFromChildren(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo) argument
786 updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) argument
918 updateLayoutStateToFillEnd(AnchorInfo anchorInfo) argument
932 updateLayoutStateToFillStart(AnchorInfo anchorInfo) argument
[all...]
H A DStaggeredGridLayoutManager.java603 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
764 applyPendingSavedState(AnchorInfo anchorInfo) argument
803 updateAnchorInfoForLayout(RecyclerView.State state, AnchorInfo anchorInfo) argument
817 updateAnchorFromChildren(RecyclerView.State state, AnchorInfo anchorInfo) argument
829 updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) argument
[all...]
H A DGridLayoutManager.java344 AnchorInfo anchorInfo, int itemDirection) {
345 super.onAnchorReady(recycler, state, anchorInfo, itemDirection);
348 ensureAnchorIsInCorrectSpan(recycler, state, anchorInfo, itemDirection);
376 RecyclerView.State state, AnchorInfo anchorInfo, int itemDirection) {
379 int span = getSpanIndex(recycler, state, anchorInfo.mPosition);
382 while (span > 0 && anchorInfo.mPosition > 0) {
383 anchorInfo.mPosition--;
384 span = getSpanIndex(recycler, state, anchorInfo.mPosition);
389 int pos = anchorInfo.mPosition;
400 anchorInfo
343 onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo, int itemDirection) argument
375 ensureAnchorIsInCorrectSpan(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo, int itemDirection) argument
[all...]

Completed in 29 milliseconds