Searched refs:selectedPos (Results 1 - 5 of 5) sorted by relevance

/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
H A DWearableNavigationDrawerPresenter.java87 * Notifies all listeners that the item at {@code selectedPos} has been selected.
90 void notifyItemSelectedListeners(int selectedPos) { argument
92 listener.onItemSelected(selectedPos);
/frameworks/base/core/java/com/android/internal/app/
H A DResolverComparator.java378 int selectedPos = new ArrayList<ComponentName>(mTargetsDict.keySet())
380 if (selectedPos >= 0 && mTargets != null) {
389 mRanker.train(mTargets, selectedPos);
420 private void logMetrics(int selectedPos) { argument
427 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos);
/frameworks/base/core/java/android/widget/
H A DExpandableListView.java929 final int selectedPos = getSelectedItemPosition();
931 // The case where there is no selection (selectedPos == -1) is also handled here.
932 return getExpandableListPosition(selectedPos);
H A DListView.java2658 * @param selectedPos Current selected position to move from
2663 View selectedView, int selectedPos, int direction) {
2669 nextSelected = selectedPos != INVALID_POSITION && selectedPos >= mFirstPosition ?
2670 selectedPos + 1 :
2679 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ?
2680 selectedPos - 1 :
2706 int selectedPos = mSelectedPosition;
2708 int nextSelectedPosition = nextSelectedPositionForDirection(selectedView, selectedPos, directio
2662 nextSelectedPositionForDirection( View selectedView, int selectedPos, int direction) argument
[all...]
H A DAbsListView.java5375 int selectedPos;
5383 selectedPos = toPosition;
5385 final View selected = getChildAt(selectedPos - mFirstPosition);
5399 selectedPos = firstPosition;
5416 selectedPos = firstPosition + i;
5424 selectedPos = firstPosition + childCount - 1;
5439 selectedPos = firstPosition + i;
5455 selectedPos = lookForSelectablePosition(selectedPos, down);
5456 if (selectedPos >
[all...]

Completed in 159 milliseconds