Searched refs:checkedPos (Results 1 – 1 of 1) sorted by relevance
577 final int checkedPos = mAdapterView.getCheckedItemPosition(); in onRestoreInstanceState() local578 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION; in onRestoreInstanceState()579 mLastSelected = checkedPos; in onRestoreInstanceState()580 setAlwaysButtonEnabled(hasValidSelection, checkedPos, true); in onRestoreInstanceState()583 mAdapterView.setSelection(checkedPos); in onRestoreInstanceState()617 private void setAlwaysButtonEnabled(boolean hasValidSelection, int checkedPos, in setAlwaysButtonEnabled() argument621 ResolveInfo ri = mAdapter.resolveInfoForPosition(checkedPos, filtered); in setAlwaysButtonEnabled()1775 final int checkedPos = mAdapterView.getCheckedItemPosition(); in onItemClick() local1776 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION; in onItemClick()1777 if (mAlwaysUseOption && (!hasValidSelection || mLastSelected != checkedPos)) { in onItemClick()[all …]