/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListenerTest.java | 65 int firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() local 70 assertTrue("Arrow scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling() 72 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() 80 assertTrue("Page scroll did not happen", mFirstVisibleItem < firstVisibleItem); in testKeyScrolling() 82 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() 91 assertTrue("Full scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling() 98 int firstVisibleItem = mFirstVisibleItem; in testTouchScrolling() local 101 assertTrue("Touch scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testTouchScrolling() 105 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument 106 mFirstVisibleItem = firstVisibleItem; in onScroll()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridScrollListenerTest.java | 65 int firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() local 71 assertTrue("Arrow scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling() 73 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() 82 assertTrue("Page scroll did not happen", mFirstVisibleItem < firstVisibleItem); in testKeyScrolling() 84 firstVisibleItem = mFirstVisibleItem; in testKeyScrolling() 93 assertTrue("Full scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testKeyScrolling() 102 int firstVisibleItem = mFirstVisibleItem; in testTouchScrolling() local 105 assertTrue("Touch scroll did not happen", mFirstVisibleItem > firstVisibleItem); in testTouchScrolling() 109 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument 110 mFirstVisibleItem = firstVisibleItem; in onScroll()
|
D | GridScrollListener.java | 61 …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/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ListViewScrollHandlingDelegate.java | 75 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument 76 if (firstVisibleItem + visibleItemCount >= totalItemCount) { in onScroll()
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 533 final int firstVisibleItem = mList.getFirstVisiblePosition(); in onItemCountChanged() local 534 setThumbPos(getPosFromItemCount(firstVisibleItem, childCount, itemCount)); in onItemCountChanged() 943 public void onScroll(int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument 951 setThumbPos(getPosFromItemCount(firstVisibleItem, visibleItemCount, totalItemCount)); in onScroll() 956 if (mFirstVisibleItem != firstVisibleItem) { in onScroll() 957 mFirstVisibleItem = firstVisibleItem; in onScroll() 1262 int firstVisibleItem, int visibleItemCount, int totalItemCount) { in getPosFromItemCount() argument 1280 return (float) firstVisibleItem / (totalItemCount - visibleItemCount); in getPosFromItemCount() 1285 firstVisibleItem -= mHeaderCount; in getPosFromItemCount() 1286 if (firstVisibleItem < 0) { in getPosFromItemCount() [all …]
|
D | CalendarViewLegacyDelegate.java | 767 AbsListView view, int firstVisibleItem, int visibleItemCount, in setUpListView() 769 CalendarViewLegacyDelegate.this.onScroll(view, firstVisibleItem, in setUpListView() 860 private void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
|
D | ListPopupWindow.java | 1349 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
|
D | AbsListView.java | 830 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DayPickerView.java | 255 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 675 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onCreate() 678 if (firstVisibleItem > 0 || view.getChildAt(0).getTop() < 0) { in onCreate()
|