Home | History | Annotate | Download | only in widget

Lines Matching refs:AnchorInfo

135     final AnchorInfo mAnchorInfo = new AnchorInfo();
659 * @param anchorInfo The mutable POJO that keeps the position and offset.
664 AnchorInfo anchorInfo, int firstLayoutItemDirection) {
726 AnchorInfo anchorInfo) {
727 if (updateAnchorFromPendingData(state, anchorInfo)) {
734 if (updateAnchorFromChildren(recycler, state, anchorInfo)) {
743 anchorInfo.assignCoordinateFromPadding();
744 anchorInfo.mPosition = mStackFromEnd ? state.getItemCount() - 1 : 0;
754 RecyclerView.State state, AnchorInfo anchorInfo) {
759 if (focused != null && anchorInfo.isViewValidAsAnchor(focused, state)) {
760 anchorInfo.assignFromViewAndKeepVisibleRect(focused);
766 View referenceChild = anchorInfo.mLayoutFromEnd
770 anchorInfo.assignFromView(referenceChild);
781 anchorInfo.mCoordinate = anchorInfo.mLayoutFromEnd
795 private boolean updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) {
811 anchorInfo.mPosition = mPendingScrollPosition;
815 anchorInfo.mLayoutFromEnd = mPendingSavedState.mAnchorLayoutFromEnd;
816 if (anchorInfo
817 anchorInfo.mCoordinate = mOrientationHelper.getEndAfterPadding()
820 anchorInfo.mCoordinate = mOrientationHelper.getStartAfterPadding()
832 anchorInfo.assignCoordinateFromPadding();
838 anchorInfo.mCoordinate = mOrientationHelper.getStartAfterPadding();
839 anchorInfo.mLayoutFromEnd = false;
845 anchorInfo.mCoordinate = mOrientationHelper.getEndAfterPadding();
846 anchorInfo.mLayoutFromEnd = true;
849 anchorInfo.mCoordinate = anchorInfo.mLayoutFromEnd
857 anchorInfo.mLayoutFromEnd = mPendingScrollPosition < pos
860 anchorInfo.assignCoordinateFromPadding();
865 anchorInfo.mLayoutFromEnd = mShouldReverseLayout;
868 anchorInfo.mCoordinate = mOrientationHelper.getEndAfterPadding()
871 anchorInfo.mCoordinate = mOrientationHelper.getStartAfterPadding()
927 private void updateLayoutStateToFillEnd(AnchorInfo anchorInfo) {
928 updateLayoutStateToFillEnd(anchorInfo.mPosition, anchorInfo.mCoordinate);
941 private void updateLayoutStateToFillStart(AnchorInfo anchorInfo) {
942 updateLayoutStateToFillStart(anchorInfo.mPosition, anchorInfo.mCoordinate);
2283 class AnchorInfo {
2289 AnchorInfo() {
2312 return "AnchorInfo{"