Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java3326 final ArrayList<Integer> selectedPositions = new ArrayList<Integer>(); in testSmoothScrollSelectionEvents() local
3330 selectedPositions.add(position); in testSmoothScrollSelectionEvents()
3338 assertTrue(selectedPositions.size() > 0); in testSmoothScrollSelectionEvents()
3339 assertEquals(0, selectedPositions.get(selectedPositions.size() - 1).intValue()); in testSmoothScrollSelectionEvents()
3340 for (int i = selectedPositions.size() - 2; i >= 0; i--) { in testSmoothScrollSelectionEvents()
3341 assertFalse(0 == selectedPositions.get(i).intValue()); in testSmoothScrollSelectionEvents()
3366 final ArrayList<Integer> selectedPositions = new ArrayList<Integer>(); in testSmoothScrollSelectionEventsLinear() local
3370 selectedPositions.add(position); in testSmoothScrollSelectionEventsLinear()
3378 assertTrue(selectedPositions.size() > 0); in testSmoothScrollSelectionEventsLinear()
3379 assertEquals(0, selectedPositions.get(selectedPositions.size() - 1).intValue()); in testSmoothScrollSelectionEventsLinear()
[all …]