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.java1530 final int firstVisiblePosition = getFirstVisiblePosition(); in sendAccessibilityEventUnchecked() local
1532 if (mLastAccessibilityScrollEventFromIndex == firstVisiblePosition in sendAccessibilityEventUnchecked()
1536 mLastAccessibilityScrollEventFromIndex = firstVisiblePosition; in sendAccessibilityEventUnchecked()
7304 final int firstVisiblePosition = getFirstVisiblePosition(); in getHeightForPosition() local
7306 final int index = position - firstVisiblePosition; in getHeightForPosition()