Lines Matching refs:getPageCount
289 int getPageCount() { in getPageCount() method in PagedView
309 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) { in updateCurrentPageScroll()
351 mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1)); in setCurrentPage()
398 final int count = getPageCount(); in setOnLongClickListener()
455 mCurrentPage = Math.max(0, Math.min(mNextPage, getPageCount() - 1)); in computeScrollHelper()
894 if (getCurrentPage() < getPageCount() - 1) { in dispatchUnhandledMove()
905 if (mCurrentPage >= 0 && mCurrentPage < getPageCount()) { in addFocusables()
913 if (mCurrentPage < getPageCount() - 1) { in addFocusables()
1560 whichPage = Math.max(0, Math.min(whichPage, getPageCount() - 1)); in snapToPage()
1760 setCurrentPage(Math.min(getPageCount() - 1, currentPage)); in invalidatePageData()
1930 info.setScrollable(getPageCount() > 1); in onInitializeAccessibilityNodeInfo()
1931 if (getCurrentPage() < getPageCount() - 1) { in onInitializeAccessibilityNodeInfo()
1957 if (getCurrentPage() < getPageCount() - 1) { in performAccessibilityAction()