Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DResolverRankerServiceResolverComparator.java603 int selectedPos = -1; in notifyOnTargetSelected() local
605 selectedPos = new ArrayList<>(mTargetsDictPerUser in notifyOnTargetSelected()
609 if (selectedPos >= 0 && mTargets != null) { in notifyOnTargetSelected()
618 mRanker.train(mTargets, selectedPos); in notifyOnTargetSelected()
636 private void logMetrics(int selectedPos) { in logMetrics() argument
642 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
/frameworks/base/core/java/android/widget/
DListView.java2679 View selectedView, int selectedPos, int direction) { in nextSelectedPositionForDirection() argument
2685 nextSelected = selectedPos != INVALID_POSITION && selectedPos >= mFirstPosition ? in nextSelectedPositionForDirection()
2686 selectedPos + 1 : in nextSelectedPositionForDirection()
2695 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ? in nextSelectedPositionForDirection()
2696 selectedPos - 1 : in nextSelectedPositionForDirection()
2722 int selectedPos = mSelectedPosition; in arrowScrollImpl() local
2724 … int nextSelectedPosition = nextSelectedPositionForDirection(selectedView, selectedPos, direction); in arrowScrollImpl()
2740 selectedPos = nextSelectedPosition; in arrowScrollImpl()
2783 positionSelectorLikeFocus(selectedPos, selectedView); in arrowScrollImpl()
DAbsListView.java5762 int selectedPos; in resurrectSelection() local
5770 selectedPos = toPosition; in resurrectSelection()
5772 final View selected = getChildAt(selectedPos - mFirstPosition); in resurrectSelection()
5786 selectedPos = firstPosition; in resurrectSelection()
5803 selectedPos = firstPosition + i; in resurrectSelection()
5811 selectedPos = firstPosition + childCount - 1; in resurrectSelection()
5826 selectedPos = firstPosition + i; in resurrectSelection()
5842 selectedPos = lookForSelectablePosition(selectedPos, down); in resurrectSelection()
5843 if (selectedPos >= firstPosition && selectedPos <= getLastVisiblePosition()) { in resurrectSelection()
5846 setSelectionInt(selectedPos); in resurrectSelection()
[all …]
DExpandableListView.java948 final int selectedPos = getSelectedItemPosition(); in getSelectedPosition() local
951 return getExpandableListPosition(selectedPos); in getSelectedPosition()