Searched refs:lastItemIndex (Results 1 – 2 of 2) sorted by relevance
86 int lastItemIndex = mListView.getChildCount() - 1; in testMoveSelectionDownRequiringScroll() local88 for(int i = 0; i < lastItemIndex; i++) { in testMoveSelectionDownRequiringScroll()93 assertEquals("list position", lastItemIndex, mListView.getSelectedItemPosition()); in testMoveSelectionDownRequiringScroll()
131 final int lastItemIndex = parent.getAdapter().getItemCount() - 1; in shouldDrawDividerBelow() local138 } else if (dividerCondition == DIVIDER_CONDITION_BOTH || index == lastItemIndex) { in shouldDrawDividerBelow()146 if (index < lastItemIndex) { in shouldDrawDividerBelow()