Searched refs:lastChild (Results 1 – 7 of 7) sorted by relevance
173 View lastChild = layoutManager.getChildAt(layoutManager.getChildCount() - 1); in drawOffsetHorizontal() local175 (RecyclerView.LayoutParams) lastChild.getLayoutParams(); in drawOffsetHorizontal()176 parentLeft = lastChild.getRight() + lastChildLayoutParams.rightMargin; in drawOffsetHorizontal()195 View lastChild = layoutManager.getChildAt(layoutManager.getChildCount() - 1); in drawOffsetVertical() local197 (RecyclerView.LayoutParams) lastChild.getLayoutParams(); in drawOffsetVertical()198 parentTop = lastChild.getBottom() + lastChildLayoutParams.bottomMargin; in drawOffsetVertical()
215 View lastChild = layoutManager.getChildAt(lastChildPosition); in calculateScrollDistance() local216 float percentageVisible = getPercentageVisible(lastChild, orientationHelper); in calculateScrollDistance()224 maxDistance -= layoutManager.getDecoratedMeasuredHeight(lastChild); in calculateScrollDistance()
287 @NonNull View lastChild = Objects.requireNonNull( in calculateScrollDistance() local289 float percentageVisible = getPercentageVisible(lastChild, orientationHelper); in calculateScrollDistance()297 maxDistance -= layoutManager.getDecoratedMeasuredHeight(lastChild); in calculateScrollDistance()
1211 final View lastChild = mContent.getLastItem(); in updateTextViewFocus() local1212 if (firstChild != null && lastChild != null) { in updateTextViewFocus()1213 mFolderName.setNextFocusDownId(lastChild.getId()); in updateTextViewFocus()1214 mFolderName.setNextFocusRightId(lastChild.getId()); in updateTextViewFocus()1215 mFolderName.setNextFocusLeftId(lastChild.getId()); in updateTextViewFocus()1216 mFolderName.setNextFocusUpId(lastChild.getId()); in updateTextViewFocus()1233 return lastChild.requestFocus(); in updateTextViewFocus()
95 final View lastChild = getChildAt(childCount - 1); in onFinishInflate()96 scrollTo(getScrollX(), lastChild.getBottom() - getHeight()); in onFinishInflate()
2039 View lastChild = getChildAt(lastExpandableIndex() - 1);2040 int maxEdge = lastChild.getRight();2054 View lastChild = getChildAt(lastExpandableIndex() - 1);2055 int maxEdge = lastChild.getBottom();
1439 View lastChild = Objects.requireNonNull(layoutManager.getChildAt(lastChildPosition)); in testCalculateScrollDistanceClampToScreenSize() local1441 .getPercentageVisible(lastChild, orientationHelper); in testCalculateScrollDistanceClampToScreenSize()1449 maxDistance -= layoutManager.getDecoratedMeasuredHeight(lastChild); in testCalculateScrollDistanceClampToScreenSize()