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.java551 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() local
552 return (mFirstPosition > 0) || (getChildAt(0).getTop() > listTop); in showingTopFadingEdge()
2488 final int listTop = mListPadding.top; in nextSelectedPositionForDirection() local
2489 if (selectedView != null && selectedView.getTop() >= listTop) { in nextSelectedPositionForDirection()
2730 final int listTop = mListPadding.top; in amountToScroll() local
2785 int goalTop = listTop; in amountToScroll()
2803 final int max = listTop - getChildAt(0).getTop(); in amountToScroll()
2904 final int listTop = mListPadding.top + in arrowScrollFocused() local
2907 (selectedView != null && selectedView.getTop() > listTop) ? in arrowScrollFocused()
2909 listTop; in arrowScrollFocused()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java3992 int listTop = list.size() - 1; in getDumpActivitiesLocked() local
3993 if (listTop >= 0) { in getDumpActivitiesLocked()
3994 activities.add(list.get(listTop)); in getDumpActivitiesLocked()