Lines Matching refs:mItemCount

222                 if (mFirstPosition + childCount < mItemCount) {
459 mOldItemCount = mItemCount;
460 mItemCount = mAdapter.getCount();
470 position = lookForSelectablePosition(mItemCount - 1, false);
477 if (mItemCount == 0) {
539 return (lastVisiblePosition < mItemCount - 1)
570 if ((mSelectedPosition < mItemCount - 1)
669 while (nextTop < end && pos < mItemCount) {
728 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1);
866 if (selectedPosition != mItemCount - 1) {
1124 mItemCount = mAdapter == null ? 0 : mAdapter.getCount();
1125 if (mItemCount > 0 && (widthMode == MeasureSpec.UNSPECIFIED ||
1237 // mItemCount - 1 since endPosition parameter is inclusive
1366 if (lastPosition == mItemCount - 1 && childCount > 0) {
1438 if (lastPosition < mItemCount - 1 || lastBottom > end) {
1439 if (lastPosition == mItemCount - 1) {
1445 if (lastPosition < mItemCount - 1) {
1452 } else if (lastPosition == mItemCount - 1) {
1533 if (mItemCount == 0) {
1537 } else if (mItemCount != mAdapter.getCount()) {
1606 sel = fillUp(mItemCount - 1, childrenBottom);
1627 final int position = lookForSelectablePosition(mItemCount - 1, false);
1629 sel = fillUp(mItemCount - 1, childrenBottom);
1632 if (mSelectedPosition >= 0 && mSelectedPosition < mItemCount) {
1635 } else if (mFirstPosition < mItemCount) {
1701 if (mItemCount > 0) {
1881 return super.canAnimate() && mItemCount > 0;
2216 nextPage = Math.min(mItemCount - 1, mSelectedPosition + getChildCount() - 1);
2226 if (down && position > mItemCount - getChildCount()) {
2268 if (mSelectedPosition < mItemCount - 1) {
2269 int position = lookForSelectablePosition(mItemCount - 1, true);
2591 if (positionToMakeVisible < mItemCount - 1) {
2608 if ((mFirstPosition + numChildren) == mItemCount) {
2750 (mFirstPosition + getChildCount() - 1) < mItemCount;
2849 if (positionOfNewFocus < mItemCount - 1) {
2899 if (lastVisiblePosition < mItemCount - 1) {
3089 final int itemCount = mItemCount;