Searched refs:checkedPos (Results 1 – 1 of 1) sorted by relevance
584 private void setAlwaysButtonEnabled(boolean hasValidSelection, int checkedPos, in setAlwaysButtonEnabled() argument588 ResolveInfo ri = mAdapter.resolveInfoForPosition(checkedPos, filtered); in setAlwaysButtonEnabled()1941 final int checkedPos = mAdapterView.getCheckedItemPosition(); in onItemClick() local1942 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION; in onItemClick()1944 && (!hasValidSelection || mLastSelected != checkedPos) in onItemClick()1946 setAlwaysButtonEnabled(hasValidSelection, checkedPos, true); in onItemClick()1949 mAdapterView.smoothScrollToPosition(checkedPos); in onItemClick()1951 mLastSelected = checkedPos; in onItemClick()