Searched refs:hasValidSelection (Results 1 – 1 of 1) sorted by relevance
573 private void setAlwaysButtonEnabled(boolean hasValidSelection, int checkedPos, in setAlwaysButtonEnabled() argument576 if (hasValidSelection) { in setAlwaysButtonEnabled()1924 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION; in onItemClick()1926 && (!hasValidSelection || mLastSelected != checkedPos)) { in onItemClick()1927 setAlwaysButtonEnabled(hasValidSelection, checkedPos, true); in onItemClick()1928 mOnceButton.setEnabled(hasValidSelection); in onItemClick()1929 if (hasValidSelection) { in onItemClick()