Home
last modified time | relevance | path

Searched refs:isAtStart (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java499 boolean isAtStart = isAtStart(); in updatePaginationButtons()
503 if ((isAtStart && isAtEnd) || layoutManager == null || layoutManager.getItemCount() == 0) { in updatePaginationButtons()
508 setUpEnabled(!isAtStart); in updatePaginationButtons()
533 boolean isAtStart() { in isAtStart() method in DefaultScrollBar
534 return mSnapHelper.isAtStart(getRecyclerView().getLayoutManager()); in isAtStart()
DCarUiSnapHelper.java445 public boolean isAtStart(@Nullable LayoutManager layoutManager) { in isAtStart() method in CarUiSnapHelper
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarScrollBar.java654 boolean isAtStart = isAtStart(); in updatePaginationButtons()
658 if ((isAtStart && isAtEnd) || layoutManager == null || layoutManager.getItemCount() == 0) { in updatePaginationButtons()
663 setUpEnabled(!isAtStart); in updatePaginationButtons()
686 boolean isAtStart() { in isAtStart() method in CarScrollBar
687 return mSnapHelper.isAtStart(getRecyclerView().getLayoutManager()); in isAtStart()
DPagedSnapHelper.java236 boolean isAtStart(RecyclerView.LayoutManager layoutManager) { in isAtStart() method in PagedSnapHelper