Lines Matching refs:getPageCount
289 int getPageCount() {
309 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) {
351 mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1));
398 final int count = getPageCount();
455 mCurrentPage = Math.max(0, Math.min(mNextPage, getPageCount() - 1));
894 if (getCurrentPage() < getPageCount() - 1) {
905 if (mCurrentPage >= 0 && mCurrentPage < getPageCount()) {
913 if (mCurrentPage < getPageCount() - 1) {
1560 whichPage = Math.max(0, Math.min(whichPage, getPageCount() - 1));
1760 setCurrentPage(Math.min(getPageCount() - 1, currentPage));
1930 info.setScrollable(getPageCount() > 1);
1931 if (getCurrentPage() < getPageCount() - 1) {
1957 if (getCurrentPage() < getPageCount() - 1) {