Home
last modified time | relevance | path

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

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DAbsListViewBindingAdapter.java46 int totalItemCount) { in setOnScroll()
49 .onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount); in setOnScroll()
57 int totalItemCount); in onScroll() argument
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DListViewRequireScrollHelper.java74 int totalItemCount) { in onScroll() argument
75 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.java102 …c void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
105 mTotalItemCount = totalItemCount; in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java97 …c void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
100 mTotalItemCount = totalItemCount; in onScroll()
/frameworks/base/core/java/android/widget/
DFastScroller.java929 public void onScroll(int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
935 final boolean hasMoreItems = totalItemCount - visibleItemCount > 0; in onScroll()
937 setThumbPos(getPosFromItemCount(firstVisibleItem, visibleItemCount, totalItemCount)); in onScroll()
1248 int firstVisibleItem, int visibleItemCount, int totalItemCount) { in getPosFromItemCount() argument
1254 if (visibleItemCount == 0 || totalItemCount == 0) { in getPosFromItemCount()
1262 if (visibleItemCount == totalItemCount) { in getPosFromItemCount()
1266 return (float) firstVisibleItem / (totalItemCount - visibleItemCount); in getPosFromItemCount()
1275 totalItemCount -= mHeaderCount; in getPosFromItemCount()
1296 nextSectionPos = totalItemCount - 1; in getPosFromItemCount()
1300 positionsInSection = totalItemCount - sectionPos; in getPosFromItemCount()
[all …]
DCalendarViewLegacyDelegate.java744 int totalItemCount) { in setUpListView()
746 visibleItemCount, totalItemCount); in setUpListView()
837 int totalItemCount) { in onScroll() argument
DListPopupWindow.java1295 int totalItemCount) { in onScroll() argument
DAbsListView.java782 int totalItemCount); in onScroll() argument
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DBrowseFragment.java210 int totalItemCount) { in onCreateView()
211 if (mCanLoadNewPage && firstVisibleItem + visibleItemCount == totalItemCount) { in onCreateView()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DListenerBindingObject.java63 int totalItemCount) {} 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.java1348 int totalItemCount) { in onScroll() argument
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java570 int visibleItemCount, int totalItemCount) { in setScrollIndicators()