Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/widget/
H A DListView.java2730 nextSelectedPosition = focusResult.getSelectedPosition(); in arrowScrollImpl()
2735 if (nextSelectedPosition != INVALID_POSITION) { in arrowScrollImpl()
2737 setSelectedPositionInt(nextSelectedPosition); in arrowScrollImpl()
2738 setNextSelectedPositionInt(nextSelectedPosition); in arrowScrollImpl()
2740 selectedPos = nextSelectedPosition; in arrowScrollImpl()
2935 private int amountToScroll(int direction, int nextSelectedPosition) { in amountToScroll() argument
2943 if (nextSelectedPosition != INVALID_POSITION) { in amountToScroll()
2944 indexToMakeVisible = nextSelectedPosition - mFirstPosition; in amountToScroll()
2964 if (nextSelectedPosition != INVALID_POSITION in amountToScroll()
2981 if (nextSelectedPosition != INVALID_POSITION) { in amountToScroll()
[all …]