Searched refs:selectedPos (Results 1 – 4 of 4) sorted by relevance
603 int selectedPos = -1; in notifyOnTargetSelected() local605 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() argument642 log.addTaggedData(MetricsEvent.FIELD_RANKED_POSITION, selectedPos); in logMetrics()
2679 View selectedView, int selectedPos, int direction) { in nextSelectedPositionForDirection() argument2685 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() local2724 … int nextSelectedPosition = nextSelectedPositionForDirection(selectedView, selectedPos, direction); in arrowScrollImpl()2740 selectedPos = nextSelectedPosition; in arrowScrollImpl()2783 positionSelectorLikeFocus(selectedPos, selectedView); in arrowScrollImpl()
5762 int selectedPos; in resurrectSelection() local5770 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 …]
948 final int selectedPos = getSelectedItemPosition(); in getSelectedPosition() local951 return getExpandableListPosition(selectedPos); in getSelectedPosition()