Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsListView.java262 SparseBooleanArray mCheckStates; field in AbsListView
900 if (mCheckStates != null) { in setAdapter()
901 mCheckStates.clear(); in setAdapter()
938 if (mChoiceMode != CHOICE_MODE_NONE && mCheckStates != null) { in isItemChecked()
939 return mCheckStates.get(position); in isItemChecked()
955 if (mChoiceMode == CHOICE_MODE_SINGLE && mCheckStates != null && mCheckStates.size() == 1) { in getCheckedItemPosition()
956 return mCheckStates.keyAt(0); in getCheckedItemPosition()
973 return mCheckStates; in getCheckedItemPositions()
1006 if (mCheckStates != null) { in clearChoices()
1007 mCheckStates.clear(); in clearChoices()
[all …]
DListView.java1936 if (mChoiceMode != CHOICE_MODE_NONE && mCheckStates != null) { in setupChild()
1938 ((Checkable) child).setChecked(mCheckStates.get(position)); in setupChild()
1941 child.setActivated(mCheckStates.get(position)); in setupChild()
3804 if (mChoiceMode != CHOICE_MODE_NONE && mCheckStates != null && mAdapter != null) {
3805 final SparseBooleanArray states = mCheckStates;
DGridView.java1502 if (mChoiceMode != CHOICE_MODE_NONE && mCheckStates != null) { in setupChild()
1504 ((Checkable) child).setChecked(mCheckStates.get(position)); in setupChild()
1507 child.setActivated(mCheckStates.get(position)); in setupChild()