Searched refs:checkedPos (Results 1 – 1 of 1) sorted by relevance
490 final int checkedPos = mListView.getCheckedItemPosition(); in onRestoreInstanceState() local491 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION; in onRestoreInstanceState()492 mLastSelected = checkedPos; in onRestoreInstanceState()493 setAlwaysButtonEnabled(hasValidSelection, checkedPos, true); in onRestoreInstanceState()496 mListView.setSelection(checkedPos); in onRestoreInstanceState()517 final int checkedPos = mListView.getCheckedItemPosition(); in onItemClick() local518 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION; in onItemClick()519 if (mAlwaysUseOption && (!hasValidSelection || mLastSelected != checkedPos)) { in onItemClick()520 setAlwaysButtonEnabled(hasValidSelection, checkedPos, true); in onItemClick()523 mListView.smoothScrollToPosition(checkedPos); in onItemClick()[all …]