Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java573 private void setAlwaysButtonEnabled(boolean hasValidSelection, int checkedPos, in setAlwaysButtonEnabled() argument
576 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()