Searched refs:selectedPos (Results 1 – 4 of 4) sorted by relevance
261 int selectedPos = new ArrayList<ComponentName>(mTargetsDict.keySet()) in updateModel() local263 if (selectedPos >= 0 && mTargets != null) { in updateModel()272 mRanker.train(mTargets, selectedPos); in updateModel()305 private void logMetrics(int selectedPos) { in logMetrics() argument312 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
2681 View selectedView, int selectedPos, int direction) { in nextSelectedPositionForDirection() argument2687 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() local2726 … int nextSelectedPosition = nextSelectedPositionForDirection(selectedView, selectedPos, direction); in arrowScrollImpl()2742 selectedPos = nextSelectedPosition; in arrowScrollImpl()2785 positionSelectorLikeFocus(selectedPos, selectedView); in arrowScrollImpl()
5467 int selectedPos; in resurrectSelection() local5475 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 …]
942 final int selectedPos = getSelectedItemPosition(); in getSelectedPosition() local945 return getExpandableListPosition(selectedPos); in getSelectedPosition()