Home
last modified time | relevance | path

Searched refs:visibleItemCount (Results 1 – 17 of 17) sorted by relevance

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DAbsListViewBindingAdapter.java45 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in setOnScroll()
49 .onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount); in setOnScroll()
56 void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DListViewScrollHandlingDelegate.java79 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
81 if (firstVisibleItem + visibleItemCount >= totalItemCount) { in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListener.java61 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
62 int lastItem = firstVisibleItem + visibleItemCount - 1; in onScroll()
DGridScrollListenerTest.java102 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
104 mVisibleItemCount = visibleItemCount; in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java97 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
99 mVisibleItemCount = visibleItemCount; in onScroll()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DAbsListViewFlingWatcher.java64 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {} in onScroll() argument
/frameworks/base/core/java/android/widget/
DActionMenuView.java202 int visibleItemCount = 0; in onMeasureExactFormat() local
214 visibleItemCount++; in onMeasureExactFormat()
248 final boolean centerSingleExpandedItem = hasOverflow && visibleItemCount == 2; in onMeasureExactFormat()
308 final boolean singleItem = !hasOverflow && visibleItemCount == 1; in onMeasureExactFormat()
310 (cellsRemaining < visibleItemCount - 1 || singleItem || maxCellsUsed > 1)) { in onMeasureExactFormat()
DFastScroller.java930 public void onScroll(int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
936 final boolean hasMoreItems = totalItemCount - visibleItemCount > 0; in onScroll()
938 setThumbPos(getPosFromItemCount(firstVisibleItem, visibleItemCount, totalItemCount)); in onScroll()
1249 int firstVisibleItem, int visibleItemCount, int totalItemCount) { in getPosFromItemCount() argument
1255 if (visibleItemCount == 0 || totalItemCount == 0) { in getPosFromItemCount()
1263 if (visibleItemCount == totalItemCount) { in getPosFromItemCount()
1267 return (float) firstVisibleItem / (totalItemCount - visibleItemCount); in getPosFromItemCount()
1318 if (firstVisibleItem > 0 && firstVisibleItem + visibleItemCount == totalItemCount) { in getPosFromItemCount()
1319 final View lastChild = mList.getChildAt(visibleItemCount - 1); in getPosFromItemCount()
DCalendarViewLegacyDelegate.java767 AbsListView view, int firstVisibleItem, int visibleItemCount, in setUpListView()
770 visibleItemCount, totalItemCount); in setUpListView()
860 private void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DListPopupWindow.java1326 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DAbsListView.java785 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuView.java205 int visibleItemCount = 0; in onMeasureExactFormat() local
217 visibleItemCount++; in onMeasureExactFormat()
251 final boolean centerSingleExpandedItem = hasOverflow && visibleItemCount == 2; in onMeasureExactFormat()
311 final boolean singleItem = !hasOverflow && visibleItemCount == 1; in onMeasureExactFormat()
313 (cellsRemaining < visibleItemCount - 1 || singleItem || maxCellsUsed > 1)) { in onMeasureExactFormat()
DListPopupWindow.java1390 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DBrowseFragment.java213 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onCreateView()
215 if (mCanLoadNewPage && firstVisibleItem + visibleItemCount == totalItemCount) { in onCreateView()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DListenerBindingObject.java62 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/app/
DAlertController.java605 int visibleItemCount, int totalItemCount) { in setScrollIndicators()