Home
last modified time | relevance | path

Searched refs:visibleItemCount (Results 1 – 10 of 10) 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 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
62 int lastItem = firstVisibleItem + visibleItemCount - 1; in onScroll()
DGridScrollListenerTest.java109 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
111 mVisibleItemCount = visibleItemCount; in onScroll()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java105 …public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCo… in onScroll() argument
107 mVisibleItemCount = visibleItemCount; in onScroll()
/frameworks/base/core/java/android/widget/
DActionMenuView.java203 int visibleItemCount = 0; in onMeasureExactFormat() local
215 visibleItemCount++; in onMeasureExactFormat()
249 final boolean centerSingleExpandedItem = hasOverflow && visibleItemCount == 2; in onMeasureExactFormat()
309 final boolean singleItem = !hasOverflow && visibleItemCount == 1; in onMeasureExactFormat()
311 (cellsRemaining < visibleItemCount - 1 || singleItem || maxCellsUsed > 1)) { in onMeasureExactFormat()
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()
1331 if (firstVisibleItem > 0 && firstVisibleItem + visibleItemCount == totalItemCount) { in getPosFromItemCount()
1332 final View lastChild = mList.getChildAt(visibleItemCount - 1); in getPosFromItemCount()
DCalendarViewLegacyDelegate.java765 AbsListView view, int firstVisibleItem, int visibleItemCount, in setUpListView()
768 visibleItemCount, totalItemCount); in setUpListView()
858 private void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DListPopupWindow.java1349 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DAbsListView.java830 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java725 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onCreate()