Lines Matching refs:childCount
502 public void onItemCountChanged(int childCount, int itemCount) {
503 if (mOldItemCount != itemCount || mOldChildCount != childCount) {
505 mOldChildCount = childCount;
507 final boolean hasMoreItems = itemCount - childCount > 0;
510 setThumbPos(getPosFromItemCount(firstVisibleItem, childCount, itemCount));
513 updateLongList(childCount, itemCount);
517 private void updateLongList(int childCount, int itemCount) {
518 final boolean longList = childCount > 0 && itemCount / childCount >= MIN_PAGES;