Home
last modified time | relevance | path

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

/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/base/core/java/android/widget/
DActionMenuView.java193 int visibleItemCount = 0; in onMeasureExactFormat() local
205 visibleItemCount++; in onMeasureExactFormat()
239 final boolean centerSingleExpandedItem = hasOverflow && visibleItemCount == 2; in onMeasureExactFormat()
299 final boolean singleItem = !hasOverflow && visibleItemCount == 1; in onMeasureExactFormat()
301 (cellsRemaining < visibleItemCount - 1 || singleItem || maxCellsUsed > 1)) { in onMeasureExactFormat()
DFastScroller.java874 public void onScroll(int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
880 final boolean hasMoreItems = totalItemCount - visibleItemCount > 0; in onScroll()
882 setThumbPos(getPosFromItemCount(firstVisibleItem, visibleItemCount, totalItemCount)); in onScroll()
1198 int firstVisibleItem, int visibleItemCount, int totalItemCount) { in getPosFromItemCount() argument
1206 return (float) firstVisibleItem / (totalItemCount - visibleItemCount); in getPosFromItemCount()
1255 if (firstVisibleItem > 0 && firstVisibleItem + visibleItemCount == totalItemCount) { in getPosFromItemCount()
1256 final View lastChild = mList.getChildAt(visibleItemCount - 1); in getPosFromItemCount()
DDayPickerView.java244 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DCalendarView.java1351 AbsListView view, int firstVisibleItem, int visibleItemCount, in setUpListView()
1354 visibleItemCount, totalItemCount); in setUpListView()
1460 private void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
DListPopupWindow.java1779 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
DAbsListView.java763 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/frameworks/support/v7/appcompat/src/android/support/v7/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()
DListPopupWindow.java1737 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDayPickerView.java255 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument