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.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.java645 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() local
646 return (mFirstPosition > 0) || (getChildAt(0).getTop() > listTop); in showingTopFadingEdge()
2694 final int listTop = mListPadding.top; in nextSelectedPositionForDirection() local
2695 if (selectedView != null && selectedView.getTop() >= listTop) { in nextSelectedPositionForDirection()
2939 final int listTop = mListPadding.top; in amountToScroll() local
2994 int goalTop = listTop; in amountToScroll()
3012 final int max = listTop - getChildAt(0).getTop(); in amountToScroll()
3113 final int listTop = mListPadding.top + in arrowScrollFocused() local
3116 (selectedView != null && selectedView.getTop() > listTop) ? in arrowScrollFocused()
3118 listTop; in arrowScrollFocused()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java5418 int listTop = list.size() - 1; in getDumpActivitiesLocked() local
5419 if (listTop >= 0) { in getDumpActivitiesLocked()
5420 activities.add(list.get(listTop)); in getDumpActivitiesLocked()