Home
last modified time | relevance | path

Searched refs:isAtEnd (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DDefaultScrollBar.java502 boolean isAtEnd = isAtEnd(); in updatePaginationButtons()
506 setDownEnabled(!isAtEnd); in updatePaginationButtons()
508 if ((isAtStart && isAtEnd) || layoutManager.getItemCount() == 0) { in updatePaginationButtons()
578 boolean isAtEnd() { in isAtEnd() method in DefaultScrollBar
579 return mSnapHelper.isAtEnd(getLayoutManager()); in isAtEnd()
DCarUiSnapHelper.java284 int lastChildPosition = isAtEnd(layoutManager) ? 0 : layoutManager.getChildCount() - 1; in calculateScrollDistance()
404 public boolean isAtEnd(@Nullable LayoutManager layoutManager) { in isAtEnd() method in CarUiSnapHelper
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetFragment.java87 mFactoryResetButton.setEnabled(isAtEnd()); in onActivityCreated()
92 if (isAtEnd()) { in onActivityCreated()
106 private boolean isAtEnd() { in isAtEnd() method in FactoryResetFragment
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java212 int lastChildPosition = isAtEnd(layoutManager) ? 0 : layoutManager.getChildCount() - 1; in calculateScrollDistance()
253 public boolean isAtEnd(RecyclerView.LayoutManager layoutManager) { in isAtEnd() method in PagedSnapHelper
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiRecyclerViewTest.java1437 int lastChildPosition = carUiSnapHelper.isAtEnd(layoutManager) in testCalculateScrollDistanceClampToScreenSize()