Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java500 boolean isAtEnd = isAtEnd(); in updatePaginationButtons()
503 if ((isAtStart && isAtEnd) || layoutManager == null || layoutManager.getItemCount() == 0) { in updatePaginationButtons()
509 setDownEnabled(!isAtEnd); in updatePaginationButtons()
538 boolean isAtEnd() { in isAtEnd() method in DefaultScrollBar
539 return mSnapHelper.isAtEnd(getRecyclerView().getLayoutManager()); in isAtEnd()
DCarUiSnapHelper.java419 int lastChildPosition = isAtEnd(layoutManager) ? 0 : layoutManager.getChildCount() - 1; in calculateScrollDistance()
464 public boolean isAtEnd(@Nullable LayoutManager layoutManager) { in isAtEnd() method in CarUiSnapHelper
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarScrollBar.java655 boolean isAtEnd = isAtEnd(); in updatePaginationButtons()
658 if ((isAtStart && isAtEnd) || layoutManager == null || layoutManager.getItemCount() == 0) { in updatePaginationButtons()
664 setDownEnabled(!isAtEnd); in updatePaginationButtons()
691 boolean isAtEnd() { in isAtEnd() method in CarScrollBar
692 return mSnapHelper.isAtEnd(getRecyclerView().getLayoutManager()); in isAtEnd()
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/Settings/src/com/android/car/settings/system/
DMasterClearFragment.java94 mMasterClearButton.setEnabled(isAtEnd()); in onActivityCreated()
99 if (isAtEnd()) { in onActivityCreated()
113 private boolean isAtEnd() { in isAtEnd() method in MasterClearFragment