Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java62 int firstVisiblePosition = arrowScroll(inst); in testKeyScrolling() local
69 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrolling()
80 int firstVisiblePosition = arrowScroll(inst); in testKeyScrollingToTouchMode() local
88 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrollingToTouchMode()
99 int firstVisiblePosition = mListView.getFirstVisiblePosition(); in arrowScroll() local
100 assertTrue("Arrow scroll did not happen", firstVisiblePosition > 0); in arrowScroll()
112 return firstVisiblePosition; in arrowScroll()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfThinItemsTest.java108 final int firstVisiblePosition = firstChild.getId(); in testScrollToTop() local
111 int topThreshold = (firstVisiblePosition > 0) ? in testScrollToTop()
/frameworks/base/core/java/android/widget/
DAbsListView.java7688 final int firstVisiblePosition = getFirstVisiblePosition(); in getHeightForPosition() local
7690 final int index = position - firstVisiblePosition; in getHeightForPosition()