Home
last modified time | relevance | path

Searched refs:startPageIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v4/tests/java/android/support/v4/view/
DBaseViewPagerTest.java690 private void verifyScrollCallbacksToHigherPage(int startPageIndex, int endPageIndex, in verifyScrollCallbacksToHigherPage() argument
714 if ((pagePositionCurr < startPageIndex) || (pagePositionCurr > endPageIndex)) { in verifyScrollCallbacksToHigherPage()
716 ", but should be between " + startPageIndex + " and " + endPageIndex); in verifyScrollCallbacksToHigherPage()
790 private void verifyScrollCallbacksToLowerPage(int startPageIndex, int endPageIndex, in verifyScrollCallbacksToLowerPage() argument
814 if ((pagePositionCurr > startPageIndex) || (pagePositionCurr < endPageIndex)) { in verifyScrollCallbacksToLowerPage()
816 ", but should be between " + endPageIndex + " and " + startPageIndex); in verifyScrollCallbacksToLowerPage()
877 final int startPageIndex = mViewPager.getCurrentItem(); in verifyScrollCallbacksToHigherPage() local
895 verifyScrollCallbacksToHigherPage(startPageIndex, endPageIndex, mViewPager.getWidth(), in verifyScrollCallbacksToHigherPage()
905 final int startPageIndex = mViewPager.getCurrentItem(); in verifyScrollCallbacksToLowerPage() local
923 verifyScrollCallbacksToLowerPage(startPageIndex, endPageIndex, mViewPager.getWidth(), in verifyScrollCallbacksToLowerPage()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java498 int startPageIndex = INVALID_PAGE_INDEX; in computeSelectedPages() local
504 if (startPageIndex == INVALID_PAGE_INDEX) { in computeSelectedPages()
505 startPageIndex = endPageIndex = pageIndex; in computeSelectedPages()
508 PageRange pageRange = new PageRange(startPageIndex, endPageIndex); in computeSelectedPages()
510 startPageIndex = pageIndex; in computeSelectedPages()
515 if (startPageIndex != INVALID_PAGE_INDEX in computeSelectedPages()
517 PageRange pageRange = new PageRange(startPageIndex, endPageIndex); in computeSelectedPages()