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.java261 int selectedPos = new ArrayList<ComponentName>(mTargetsDict.keySet()) in updateModel() local
263 if (selectedPos >= 0 && mTargets != null) { in updateModel()
272 mRanker.train(mTargets, selectedPos); in updateModel()
305 private void logMetrics(int selectedPos) { in logMetrics() argument
312 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
/frameworks/base/core/java/android/widget/
DListView.java2681 View selectedView, int selectedPos, int direction) { in nextSelectedPositionForDirection() argument
2687 nextSelected = selectedPos != INVALID_POSITION && selectedPos >= mFirstPosition ? in nextSelectedPositionForDirection()
2688 selectedPos + 1 : in nextSelectedPositionForDirection()
2697 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ? in nextSelectedPositionForDirection()
2698 selectedPos - 1 : in nextSelectedPositionForDirection()
2724 int selectedPos = mSelectedPosition; in arrowScrollImpl() local
2726 … int nextSelectedPosition = nextSelectedPositionForDirection(selectedView, selectedPos, direction); in arrowScrollImpl()
2742 selectedPos = nextSelectedPosition; in arrowScrollImpl()
2785 positionSelectorLikeFocus(selectedPos, selectedView); in arrowScrollImpl()
DAbsListView.java5467 int selectedPos; in resurrectSelection() local
5475 selectedPos = toPosition; in resurrectSelection()
5477 final View selected = getChildAt(selectedPos - mFirstPosition); in resurrectSelection()
5491 selectedPos = firstPosition; in resurrectSelection()
5508 selectedPos = firstPosition + i; in resurrectSelection()
5516 selectedPos = firstPosition + childCount - 1; in resurrectSelection()
5531 selectedPos = firstPosition + i; in resurrectSelection()
5547 selectedPos = lookForSelectablePosition(selectedPos, down); in resurrectSelection()
5548 if (selectedPos >= firstPosition && selectedPos <= getLastVisiblePosition()) { in resurrectSelection()
5551 setSelectionInt(selectedPos); in resurrectSelection()
[all …]
DExpandableListView.java942 final int selectedPos = getSelectedItemPosition(); in getSelectedPosition() local
945 return getExpandableListPosition(selectedPos); in getSelectedPosition()