Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java577 final int checkedPos = mAdapterView.getCheckedItemPosition(); in onRestoreInstanceState() local
578 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() argument
621 ResolveInfo ri = mAdapter.resolveInfoForPosition(checkedPos, filtered); in setAlwaysButtonEnabled()
1775 final int checkedPos = mAdapterView.getCheckedItemPosition(); in onItemClick() local
1776 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION; in onItemClick()
1777 if (mAlwaysUseOption && (!hasValidSelection || mLastSelected != checkedPos)) { in onItemClick()
[all …]