Searched refs:newPage (Results 1 – 2 of 2) sorted by relevance
282 private int validateNewPage(int newPage) { in validateNewPage() argument283 newPage = ensureWithinScrollBounds(newPage); in validateNewPage()285 newPage = Utilities.boundToRange(newPage, 0, getPageCount() - 1); in validateNewPage()289 newPage = getLeftmostVisiblePageForIndex(newPage); in validateNewPage()291 return newPage; in validateNewPage()
839 protected void onPageChanged(int newPage, int previousPage) { in onPageChanged() argument854 switch (newPage) { in onPageChanged()