Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfItemsTallerThanScreenTest.java120 final int listTop = mListView.getTop() + mListView.getListPaddingTop(); in testScrollFirstItemOffScreen() local
122 mListView.getSelectedView().getTop() < listTop); in testScrollFirstItemOffScreen()
161 final int listTop = mListView.getListPaddingTop(); in testScrollUpAcrossFirstItem() local
162 assertEquals(listTop, mListView.getSelectedView().getTop()); in testScrollUpAcrossFirstItem()
172 assertEquals(listTop, mListView.getSelectedView().getTop()); in testScrollUpAcrossFirstItem()
DListWithOffScreenNextSelectableTest.java81 final int listTop = mListView.getListPaddingTop(); in testGoUpToOffScreenSelectable() local
93 listTop + mListView.getVerticalFadingEdgeLength(), firstVisibleView.getTop()); in testGoUpToOffScreenSelectable()
101 assertEquals(listTop, mListView.getSelectedView().getTop()); in testGoUpToOffScreenSelectable()
DListOfThinItemsTest.java87 int listTop = mListView.getListPaddingTop(); in testScrollToTop() local
94 final int topFadingEdge = listTop + mListView.getVerticalFadingEdgeLength(); in testScrollToTop()
101 topFadingEdge : listTop; in testScrollToTop()
/frameworks/base/core/java/android/widget/
DListView.java555 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() local
556 return (mFirstPosition > 0) || (getChildAt(0).getTop() > listTop); in showingTopFadingEdge()
2505 final int listTop = mListPadding.top; in nextSelectedPositionForDirection() local
2506 if (selectedView != null && selectedView.getTop() >= listTop) { in nextSelectedPositionForDirection()
2750 final int listTop = mListPadding.top; in amountToScroll() local
2805 int goalTop = listTop; in amountToScroll()
2823 final int max = listTop - getChildAt(0).getTop(); in amountToScroll()
2924 final int listTop = mListPadding.top + in arrowScrollFocused() local
2927 (selectedView != null && selectedView.getTop() > listTop) ? in arrowScrollFocused()
2929 listTop; in arrowScrollFocused()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java4236 int listTop = list.size() - 1; in getDumpActivitiesLocked() local
4237 if (listTop >= 0) { in getDumpActivitiesLocked()
4238 activities.add(list.get(listTop)); in getDumpActivitiesLocked()