Home
last modified time | relevance | path

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

/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
DBaseViewPagerTest.java828 float positionOffsetCurr = positionOffsets.get(i); in verifyScrollCallbacksToHigherPage() local
829 if ((positionOffsetCurr < 0.0f) || (positionOffsetCurr >= 1.0f)) { in verifyScrollCallbacksToHigherPage()
830 Assert.fail("Position offset at #" + i + " is " + positionOffsetCurr + in verifyScrollCallbacksToHigherPage()
837 Assert.fail("Position pixel offset at #" + i + " is " + positionOffsetCurr + in verifyScrollCallbacksToHigherPage()
845 positionOffsetCurr + " and page width which is " + pageWidth, in verifyScrollCallbacksToHigherPage()
846 positionOffsetPixelCurr, positionOffsetCurr * pageWidth, 1.0f); in verifyScrollCallbacksToHigherPage()
854 if (positionOffsetNext <= positionOffsetCurr) { in verifyScrollCallbacksToHigherPage()
855 Assert.fail("Position offset at #" + i + " is " + positionOffsetCurr + in verifyScrollCallbacksToHigherPage()
928 float positionOffsetCurr = positionOffsets.get(i); in verifyScrollCallbacksToLowerPage() local
929 if ((positionOffsetCurr < 0.0f) || (positionOffsetCurr >= 1.0f)) { in verifyScrollCallbacksToLowerPage()
[all …]