Searched refs:checkedItemPositions (Results 1 – 2 of 2) sorted by relevance
25 private SparseBooleanArray checkedItemPositions = new SparseBooleanArray(); field in ShadowListView66 boolean newValue = !checkedItemPositions.get(position, false); in performItemClick()67 checkedItemPositions.put(position, newValue); in performItemClick()69 boolean newValue = !checkedItemPositions.get(position, false); in performItemClick()71 checkedItemPositions.clear(); in performItemClick()72 checkedItemPositions.put(position, true); in performItemClick()187 checkedItemPositions.clear(); in setItemChecked()188 checkedItemPositions.put(position, value); in setItemChecked()190 checkedItemPositions.put(position, value); in setItemChecked()196 if (choiceMode != ListView.CHOICE_MODE_SINGLE || checkedItemPositions.size() != 1) in getCheckedItemPosition()[all …]
42 private SparseBooleanArray checkedItemPositions; field in ListViewTest414 assertThat(listView.getCheckedItemPositions(), equalTo(checkedItemPositions)); in givenChoiceModeIsMultipleAndMultipleItemsAreChecked_whenGettingCheckedItemPositions_thenReturnCheckedPositions()543 checkedItemPositions = new SparseBooleanArray(); in withAnyItemsChecked()546 checkedItemPositions.put(i, true); in withAnyItemsChecked()