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.java584 private void setAlwaysButtonEnabled(boolean hasValidSelection, int checkedPos, in setAlwaysButtonEnabled() argument
588 ResolveInfo ri = mAdapter.resolveInfoForPosition(checkedPos, filtered); in setAlwaysButtonEnabled()
1941 final int checkedPos = mAdapterView.getCheckedItemPosition(); in onItemClick() local
1942 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()