Lines Matching refs:nextSelectedPosition
2708 int nextSelectedPosition = nextSelectedPositionForDirection(selectedView, selectedPos, direction);
2709 int amountToScroll = amountToScroll(direction, nextSelectedPosition);
2714 nextSelectedPosition = focusResult.getSelectedPosition();
2719 if (nextSelectedPosition != INVALID_POSITION) {
2720 handleNewSelectionChange(selectedView, direction, nextSelectedPosition, focusResult != null);
2721 setSelectedPositionInt(nextSelectedPosition);
2722 setNextSelectedPositionInt(nextSelectedPosition);
2724 selectedPos = nextSelectedPosition;
2755 if (nextSelectedPosition == INVALID_POSITION && selectedView != null
2914 * @param nextSelectedPosition The position of the next selection, or
2919 private int amountToScroll(int direction, int nextSelectedPosition) {
2927 if (nextSelectedPosition != INVALID_POSITION) {
2928 indexToMakeVisible = nextSelectedPosition - mFirstPosition;
2948 if (nextSelectedPosition != INVALID_POSITION
2965 if (nextSelectedPosition != INVALID_POSITION) {
2966 indexToMakeVisible = nextSelectedPosition - mFirstPosition;
2972 indexToMakeVisible = nextSelectedPosition - mFirstPosition;
2985 if (nextSelectedPosition != INVALID_POSITION &&