Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DListUtil.java72 public final void arrowScrollToSelectedPosition(int desiredPos) { in arrowScrollToSelectedPosition() argument
73 if (desiredPos > mListView.getSelectedItemPosition()) { in arrowScrollToSelectedPosition()
74 arrowDownToSelectedPosition(desiredPos); in arrowScrollToSelectedPosition()
76 arrowUpToSelectedPosition(desiredPos); in arrowScrollToSelectedPosition()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java709 final int desiredPos = mCoords[1] + height / getLineCount(); in scrollBottomIntoView() local
710 if (currentPos > desiredPos) { in scrollBottomIntoView()
711 mScrollView.scrollBy(0, currentPos - desiredPos); in scrollBottomIntoView()