Searched refs:mItemCount (Results 1 - 12 of 12) sorted by relevance
/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 179 mOldItemCount = mItemCount; 180 mItemCount = mAdapter.getCount(); 191 position = lookForSelectablePosition(mItemCount - 1, false); 214 if (position < 0 || position >= mItemCount) { 280 while (nextTop < end && pos < mItemCount) { 305 last = Math.min(startPos + mNumColumns, mItemCount); 398 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1); 408 lastPosition = Math.min(lastPosition, mItemCount - 1); 410 final int invertedPosition = mItemCount - 1 - lastPosition; 411 lastPosition = mItemCount [all...] |
H A D | AbsSpinner.java | 112 mOldItemCount = mItemCount; 113 mItemCount = mAdapter.getCount(); 119 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 124 if (mItemCount == 0) { 301 if (mItemCount > 0 && mSelectedPosition >= 0) { 328 return mItemCount;
|
H A D | AdapterView.java | 178 int mItemCount; field in class:AdapterView 575 return mItemCount; 788 mOldItemCount = mItemCount; 789 mItemCount = getAdapter().getCount(); 794 && mOldItemCount == 0 && mItemCount > 0) { 815 mOldItemCount = mItemCount; 816 mItemCount = 0; 949 return super.canAnimate() && mItemCount > 0; 953 final int count = mItemCount; 1032 int count = mItemCount; [all...] |
H A D | ListView.java | 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 [all...] |
H A D | Gallery.java | 310 return mItemCount; 399 int extremeItemPosition = motionToLeft != mIsRtl ? mItemCount - 1 : 0; 614 if (mItemCount == 0) { 679 int numItems = mItemCount; 691 mFirstPosition = curPosition = mItemCount - 1; 696 while (curRightEdge > galleryLeft && curPosition < mItemCount) { 781 int numItems = mItemCount; 792 mFirstPosition = curPosition = mItemCount - 1; 1215 if (mItemCount > 0) { 1242 if (mItemCount > [all...] |
H A D | AbsListView.java | 1125 if (childCount != mItemCount) return false; 1273 mFastScroller.onScroll(this, mFirstPosition, getChildCount(), mItemCount); 1276 mOnScrollListener.onScroll(this, mFirstPosition, getChildCount(), mItemCount); 1516 boolean haveChildren = getChildCount() > 0 && mItemCount > 0; 1532 // which case mItemCount may not be 0, but if we try to 1540 if (firstPos >= mItemCount) { 1541 firstPos = mItemCount - 1; 1680 mOldItemCount = mItemCount; 1681 mItemCount = mAdapter.getCount(); 1752 (int)((float)mScrollY / getHeight() * mItemCount * 10 [all...] |
H A D | FastScroller.java | 98 private int mItemCount = -1; field in class:FastScroller 444 if (mItemCount != totalItemCount && visibleItemCount > 0) { 445 mItemCount = totalItemCount; 446 mLongList = mItemCount / visibleItemCount >= MIN_PAGES;
|
H A D | ExpandableListView.java | 250 final int lastChildFlPos = mItemCount - getFooterViewsCount() - headerViewsCount - 1; 485 final int footerViewsStart = mItemCount - getFooterViewsCount();
|
H A D | AdapterViewAnimator.java | 947 mItemCount = mAdapter.getCount();
|
H A D | Spinner.java | 325 if (mItemCount == 0) {
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 70 int mItemCount = UNDEFINED; field in class:AccessibilityRecord 256 return mItemCount; 268 mItemCount = itemCount; 696 mItemCount = record.mItemCount; 722 mItemCount = UNDEFINED; 747 builder.append("; ItemCount: " + mItemCount);
|
H A D | AccessibilityEvent.java | 832 record.mItemCount = parcel.readInt(); 881 parcel.writeInt(record.mItemCount); 926 builder.append("; ItemCount: " + record.mItemCount);
|
Completed in 1027 milliseconds