Home
last modified time | relevance | path

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

/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
DBaseViewPagerTest.java683 private void verifyScrollStateChange(ViewAction viewAction, int... expectedScrollStateChanges) { in verifyScrollStateChange() argument
691 int expectedScrollStateChangeCount = (expectedScrollStateChanges != null) ? in verifyScrollStateChange()
692 expectedScrollStateChanges.length : 0; in verifyScrollStateChange()
701 TestUtilsMatchers.matches(expectedScrollStateChanges)); in verifyScrollStateChange()
733 final int[] expectedScrollStateChanges = new int[] { in testPageScrollStateChangedSmooth() local
738 verifyScrollStateChange(ViewPagerActions.scrollRight(true), expectedScrollStateChanges); in testPageScrollStateChangedSmooth() local
740 verifyScrollStateChange(ViewPagerActions.scrollRight(true), expectedScrollStateChanges); in testPageScrollStateChangedSmooth() local
742 verifyScrollStateChange(ViewPagerActions.scrollLeft(true), expectedScrollStateChanges); in testPageScrollStateChangedSmooth() local
744 verifyScrollStateChange(ViewPagerActions.scrollLeft(true), expectedScrollStateChanges); in testPageScrollStateChangedSmooth() local
746 verifyScrollStateChange(ViewPagerActions.scrollToLast(true), expectedScrollStateChanges); in testPageScrollStateChangedSmooth() local
[all …]