Home
last modified time | relevance | path

Searched refs:listTop (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfItemsTallerThanScreenTest.java123 final int listTop = mListView.getTop() + mListView.getListPaddingTop(); in testScrollFirstItemOffScreen() local
125 mListView.getSelectedView().getTop() < listTop); in testScrollFirstItemOffScreen()
164 final int listTop = mListView.getListPaddingTop(); in testScrollUpAcrossFirstItem() local
165 assertEquals(listTop, mListView.getSelectedView().getTop()); in testScrollUpAcrossFirstItem()
175 assertEquals(listTop, mListView.getSelectedView().getTop()); in testScrollUpAcrossFirstItem()
DListWithOffScreenNextSelectableTest.java84 final int listTop = mListView.getListPaddingTop(); in testGoUpToOffScreenSelectable() local
96 listTop + mListView.getVerticalFadingEdgeLength(), firstVisibleView.getTop()); in testGoUpToOffScreenSelectable()
104 assertEquals(listTop, mListView.getSelectedView().getTop()); in testGoUpToOffScreenSelectable()
DListOfThinItemsTest.java98 int listTop = mListView.getListPaddingTop(); in testScrollToTop() local
105 final int topFadingEdge = listTop + mListView.getVerticalFadingEdgeLength(); in testScrollToTop()
112 topFadingEdge : listTop; in testScrollToTop()
/frameworks/base/core/java/android/widget/
DListView.java643 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() local
644 return (mFirstPosition > 0) || (getChildAt(0).getTop() > listTop); in showingTopFadingEdge()
2692 final int listTop = mListPadding.top; in nextSelectedPositionForDirection() local
2693 if (selectedView != null && selectedView.getTop() >= listTop) { in nextSelectedPositionForDirection()
2937 final int listTop = mListPadding.top; in amountToScroll() local
2992 int goalTop = listTop; in amountToScroll()
3010 final int max = listTop - getChildAt(0).getTop(); in amountToScroll()
3111 final int listTop = mListPadding.top + in arrowScrollFocused() local
3114 (selectedView != null && selectedView.getTop() > listTop) ? in arrowScrollFocused()
3116 listTop; in arrowScrollFocused()
[all …]