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.java74 public final void arrowScrollToSelectedPosition(int desiredPos) { in arrowScrollToSelectedPosition() argument
75 if (desiredPos > mListView.getSelectedItemPosition()) { in arrowScrollToSelectedPosition()
76 arrowDownToSelectedPosition(desiredPos); in arrowScrollToSelectedPosition()
78 arrowUpToSelectedPosition(desiredPos); in arrowScrollToSelectedPosition()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java567 final int desiredPos = mCoords[1] + height / getLineCount(); in scrollBottomIntoView() local
568 if (currentPos > desiredPos) { in scrollBottomIntoView()
569 mScrollView.scrollBy(0, currentPos - desiredPos); in scrollBottomIntoView()