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.java649 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() local
650 return (mFirstPosition > 0) || (getChildAt(0).getTop() > listTop); in showingTopFadingEdge()
2698 final int listTop = mListPadding.top; in nextSelectedPositionForDirection() local
2699 if (selectedView != null && selectedView.getTop() >= listTop) { in nextSelectedPositionForDirection()
2943 final int listTop = mListPadding.top; in amountToScroll() local
2998 int goalTop = listTop; in amountToScroll()
3016 final int max = listTop - getChildAt(0).getTop(); in amountToScroll()
3117 final int listTop = mListPadding.top + in arrowScrollFocused() local
3120 (selectedView != null && selectedView.getTop() > listTop) ? in arrowScrollFocused()
3122 listTop; in arrowScrollFocused()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java5381 int listTop = list.size() - 1; in getDumpActivitiesLocked() local
5382 if (listTop >= 0) { in getDumpActivitiesLocked()
5383 activities.add(list.get(listTop)); in getDumpActivitiesLocked()