Home
last modified time | relevance | path

Searched refs:firstVisiblePosition (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java61 int firstVisiblePosition = arrowScroll(inst); in testKeyScrolling() local
68 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrolling()
79 int firstVisiblePosition = arrowScroll(inst); in testKeyScrollingToTouchMode() local
87 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrollingToTouchMode()
98 int firstVisiblePosition = mListView.getFirstVisiblePosition(); in arrowScroll() local
99 assertTrue("Arrow scroll did not happen", firstVisiblePosition > 0); in arrowScroll()
111 return firstVisiblePosition; in arrowScroll()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java111 int firstVisiblePosition = listView.getFirstVisiblePosition();
113 int position = firstVisiblePosition + i;
134 int firstVisiblePosition = listView.getFirstVisiblePosition();
136 int position = firstVisiblePosition + i;
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfThinItemsTest.java99 final int firstVisiblePosition = firstChild.getId(); in testScrollToTop() local
102 int topThreshold = (firstVisiblePosition > 0) ? in testScrollToTop()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseLinearLayoutManagerTest.java232 int firstVisiblePosition = RecyclerView.NO_POSITION; field in BaseLinearLayoutManagerTest.VisibleChildren
243 "firstVisiblePosition=" + firstVisiblePosition + in toString()
511 if (position < visibleChildren.firstVisiblePosition || in traverseAndFindVisibleChildren()
512 visibleChildren.firstVisiblePosition == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
513 visibleChildren.firstVisiblePosition = position; in traverseAndFindVisibleChildren()
DLinearLayoutManagerBaseConfigSetTest.java163 + boundsLog, visibleChildren.firstVisiblePosition, in getFirstLastChildrenTest()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDayPickerView.java474 int firstVisiblePosition = getFirstVisiblePosition(); in performAccessibilityAction() local
475 int month = firstVisiblePosition % 12; in performAccessibilityAction()
476 int year = firstVisiblePosition / 12 + mController.getMinYear(); in performAccessibilityAction()
/frameworks/base/core/java/android/widget/
DAbsListView.java1486 final int firstVisiblePosition = getFirstVisiblePosition(); in sendAccessibilityEventInternal() local
1488 if (mLastAccessibilityScrollEventFromIndex == firstVisiblePosition in sendAccessibilityEventInternal()
1492 mLastAccessibilityScrollEventFromIndex = firstVisiblePosition; in sendAccessibilityEventInternal()
7081 final int firstVisiblePosition = getFirstVisiblePosition(); in getHeightForPosition() local
7083 final int index = position - firstVisiblePosition; in getHeightForPosition()