Home
last modified time | relevance | path

Searched refs:lastChild (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/linear/
DLinearOffsetItemDecoration.java173 View lastChild = layoutManager.getChildAt(layoutManager.getChildCount() - 1); in drawOffsetHorizontal() local
175 (RecyclerView.LayoutParams) lastChild.getLayoutParams(); in drawOffsetHorizontal()
176 parentLeft = lastChild.getRight() + lastChildLayoutParams.rightMargin; in drawOffsetHorizontal()
195 View lastChild = layoutManager.getChildAt(layoutManager.getChildCount() - 1); in drawOffsetVertical() local
197 (RecyclerView.LayoutParams) lastChild.getLayoutParams(); in drawOffsetVertical()
198 parentTop = lastChild.getBottom() + lastChildLayoutParams.bottomMargin; in drawOffsetVertical()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java215 View lastChild = layoutManager.getChildAt(lastChildPosition); in calculateScrollDistance() local
216 float percentageVisible = getPercentageVisible(lastChild, orientationHelper); in calculateScrollDistance()
224 maxDistance -= layoutManager.getDecoratedMeasuredHeight(lastChild); in calculateScrollDistance()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java287 @NonNull View lastChild = Objects.requireNonNull( in calculateScrollDistance() local
289 float percentageVisible = getPercentageVisible(lastChild, orientationHelper); in calculateScrollDistance()
297 maxDistance -= layoutManager.getDecoratedMeasuredHeight(lastChild); in calculateScrollDistance()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java1211 final View lastChild = mContent.getLastItem(); in updateTextViewFocus() local
1212 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()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java95 final View lastChild = getChildAt(childCount - 1); in onFinishInflate()
96 scrollTo(getScrollX(), lastChild.getBottom() - getHeight()); in onFinishInflate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java2039 View lastChild = getChildAt(lastExpandableIndex() - 1);
2040 int maxEdge = lastChild.getRight();
2054 View lastChild = getChildAt(lastExpandableIndex() - 1);
2055 int maxEdge = lastChild.getBottom();
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiRecyclerViewTest.java1439 View lastChild = Objects.requireNonNull(layoutManager.getChildAt(lastChildPosition)); in testCalculateScrollDistanceClampToScreenSize() local
1441 .getPercentageVisible(lastChild, orientationHelper); in testCalculateScrollDistanceClampToScreenSize()
1449 maxDistance -= layoutManager.getDecoratedMeasuredHeight(lastChild); in testCalculateScrollDistanceClampToScreenSize()