Searched refs:itemCount (Results 1 – 4 of 4) sorted by relevance
208 final int itemCount = COUNTRY_LIST.length; in testSmoothScrollToPositionDownUpDown() local211 verifyScrollToPosition(itemCount - 10); in testSmoothScrollToPositionDownUpDown()215 verifyScrollToPosition(itemCount - 1); in testSmoothScrollToPositionDownUpDown()217 verifyScrollToPosition(itemCount / 2); in testSmoothScrollToPositionDownUpDown()222 final int itemCount = COUNTRY_LIST.length; in testSmoothScrollToPositionEveryRow() local224 for (int i = 0; i < itemCount; i++) { in testSmoothScrollToPositionEveryRow()229 for (int i = itemCount - 1; i >= 0; i--) { in testSmoothScrollToPositionEveryRow()366 final int itemCount = COUNTRY_LIST.length; in testSmoothScrollToPositionFromTop() local367 verifyScrollToPositionFromTop(itemCount - 1, 0, -1); in testSmoothScrollToPositionFromTop()368 verifyScrollToPositionFromTop(itemCount - 1, mListView.getHeight(), -1); in testSmoothScrollToPositionFromTop()[all …]
619 final int itemCount = 300; in testSmoothScrollByOffset() local621 mGridView.setAdapter(new MockGridViewAdapter(itemCount)); in testSmoothScrollByOffset()634 final int positionToScrollTo = itemCount - 10; in testSmoothScrollByOffset()
1169 final int itemCount = mLongCountryList.length; in testSmoothScrollByOffset() local1179 final int positionToScrollTo = itemCount - 10; in testSmoothScrollByOffset()
40 int itemCount = item.size(); in inAscendingOrder() local42 if (itemCount >= 2) { in inAscendingOrder()43 for (int i = 0; i < itemCount - 1; i++) { in inAscendingOrder()