Home
last modified time | relevance | path

Searched refs:lastVisibleChild (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java137 @NonNull View lastVisibleChild = Objects.requireNonNull( in findSnapView() local
142 layoutManager.getPosition(lastVisibleChild) == layoutManager.getItemCount() - 1; in findSnapView()
146 ? getPercentageVisible(lastVisibleChild, orientationHelper) : 0; in findSnapView()
177 childToReturn = lastVisibleChild; in findSnapView()
414 @NonNull View lastVisibleChild = Objects.requireNonNull( in isAtEnd() local
419 return layoutManager.getPosition(lastVisibleChild) == (layoutManager.getItemCount() - 1) in isAtEnd()
420 && layoutManager.getDecoratedBottom(lastVisibleChild) in isAtEnd()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetFragment.java114 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in isAtEnd() local
118 return layoutManager.getPosition(lastVisibleChild) == (layoutManager.getItemCount() - 1) in isAtEnd()
119 && layoutManager.getDecoratedBottom(lastVisibleChild) <= layoutManager.getHeight(); in isAtEnd()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java263 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in isAtEnd() local
267 return layoutManager.getPosition(lastVisibleChild) == (layoutManager.getItemCount() - 1) in isAtEnd()
268 && layoutManager.getDecoratedBottom(lastVisibleChild) in isAtEnd()