Home
last modified time | relevance | path

Searched refs:totalItemCount (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DListViewScrollHandlingDelegate.java75 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
76 if (firstVisibleItem + visibleItemCount >= totalItemCount) { in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListener.java61 …c void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
63 mText.setText("Showing " + firstVisibleItem + "-" + lastItem + "/" + totalItemCount); in onScroll()
DGridScrollListenerTest.java109 …c void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
112 mTotalItemCount = totalItemCount; in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java105 …c void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
108 mTotalItemCount = totalItemCount; in onScroll()
/frameworks/base/core/java/android/widget/
DFastScroller.java943 public void onScroll(int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
949 final boolean hasMoreItems = totalItemCount - visibleItemCount > 0; in onScroll()
951 setThumbPos(getPosFromItemCount(firstVisibleItem, visibleItemCount, totalItemCount)); in onScroll()
1262 int firstVisibleItem, int visibleItemCount, int totalItemCount) { in getPosFromItemCount() argument
1268 if (visibleItemCount == 0 || totalItemCount == 0) { in getPosFromItemCount()
1276 if (visibleItemCount == totalItemCount) { in getPosFromItemCount()
1280 return (float) firstVisibleItem / (totalItemCount - visibleItemCount); in getPosFromItemCount()
1289 totalItemCount -= mHeaderCount; in getPosFromItemCount()
1310 nextSectionPos = totalItemCount - 1; in getPosFromItemCount()
1314 positionsInSection = totalItemCount - sectionPos; in getPosFromItemCount()
[all …]
DCalendarViewLegacyDelegate.java766 int totalItemCount) { in setUpListView()
768 visibleItemCount, totalItemCount); in setUpListView()
859 int totalItemCount) { in onScroll() argument
DListPopupWindow.java1367 int totalItemCount) { in onScroll() argument
DAbsListView.java834 int totalItemCount); in onScroll() argument