Home
last modified time | relevance | path

Searched refs:firstVisibleItem (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java63 int firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() local
69 assertTrue("Arrow scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling()
71 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling()
75 assertTrue("Page scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling()
77 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling()
86 assertTrue("Full scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling()
95 int firstVisibleItem = mFirstVisibleItem; in testTouchScrolling() local
98 assertTrue("Touch scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testTouchScrolling()
102 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
103 mFirstVisibleItem = firstVisibleItem; in onScroll()
DGridScrollListener.java61 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
62 int lastItem = firstVisibleItem + visibleItemCount - 1; in onScroll()
63 mText.setText("Showing " + firstVisibleItem + "-" + lastItem + "/" + totalItemCount); in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java62 int firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() local
67 assertTrue("Arrow scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling()
69 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling()
72 assertTrue("Page scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling()
74 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling()
83 assertTrue("Full scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling()
90 int firstVisibleItem = mFirstVisibleItem; in testTouchScrolling() local
93 assertTrue("Touch scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testTouchScrolling()
97 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
98 mFirstVisibleItem = firstVisibleItem; in onScroll()
/frameworks/base/core/java/android/widget/
DFastScroller.java503 final int firstVisibleItem = mList.getFirstVisiblePosition(); in onItemCountChanged() local
504 setThumbPos(getPosFromItemCount(firstVisibleItem, childCount, itemCount)); in onItemCountChanged()
874 public void onScroll(int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
882 setThumbPos(getPosFromItemCount(firstVisibleItem, visibleItemCount, totalItemCount)); in onScroll()
887 if (mFirstVisibleItem != firstVisibleItem) { in onScroll()
888 mFirstVisibleItem = firstVisibleItem; in onScroll()
1198 int firstVisibleItem, int visibleItemCount, int totalItemCount) { in getPosFromItemCount() argument
1206 return (float) firstVisibleItem / (totalItemCount - visibleItemCount); in getPosFromItemCount()
1209 firstVisibleItem -= mHeaderCount; in getPosFromItemCount()
1210 if (firstVisibleItem < 0) { in getPosFromItemCount()
[all …]
DDayPickerView.java244 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DCalendarView.java1351 AbsListView view, int firstVisibleItem, int visibleItemCount, in setUpListView()
1353 LegacyCalendarViewDelegate.this.onScroll(view, firstVisibleItem, in setUpListView()
1460 private void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DListPopupWindow.java1779 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
DAbsListView.java763 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDayPickerView.java255 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java1737 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,