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.java712 final int desiredPos = mCoords[1] + height / getLineCount(); in scrollBottomIntoView() local
713 if (currentPos > desiredPos) { in scrollBottomIntoView()
714 mScrollView.scrollBy(0, currentPos - desiredPos); in scrollBottomIntoView()