Searched refs:mItemCount (Results 1 - 15 of 15) sorted by relevance
/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 185 mOldItemCount = mItemCount; 186 mItemCount = mAdapter.getCount(); 197 position = lookForSelectablePosition(mItemCount - 1, false); 220 if (position < 0 || position >= mItemCount) { 286 while (nextTop < end && pos < mItemCount) { 321 last = Math.min(startPos + mNumColumns, mItemCount); 416 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1); 426 lastPosition = Math.min(lastPosition, mItemCount - 1); 428 final int invertedPosition = mItemCount - 1 - lastPosition; 429 lastPosition = mItemCount [all...] |
H A D | Gallery.java | 321 return mItemCount; 418 int extremeItemPosition = motionToLeft != mIsRtl ? mItemCount - 1 : 0; 634 if (mItemCount == 0) { 700 int numItems = mItemCount; 712 mFirstPosition = curPosition = mItemCount - 1; 717 while (curRightEdge > galleryLeft && curPosition < mItemCount) { 802 int numItems = mItemCount; 813 mFirstPosition = curPosition = mItemCount - 1; 1233 if (mItemCount > 0) { 1256 if (mItemCount > [all...] |
H A D | AbsSpinner.java | 113 mOldItemCount = mItemCount; 114 mItemCount = mAdapter.getCount(); 120 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 125 if (mItemCount == 0) { 304 if (mItemCount > 0 && mSelectedPosition >= 0) { 331 return mItemCount;
|
H A D | AdapterView.java | 178 int mItemCount; field in class:AdapterView 582 return mItemCount; 801 mOldItemCount = mItemCount; 802 mItemCount = getAdapter().getCount(); 807 && mOldItemCount == 0 && mItemCount > 0) { 828 mOldItemCount = mItemCount; 829 mItemCount = 0; 973 return super.canAnimate() && mItemCount > 0; 977 final int count = mItemCount; 1058 int count = mItemCount; [all...] |
H A D | ListView.java | 227 if (mFirstPosition + childCount < mItemCount) { 479 mOldItemCount = mItemCount; 480 mItemCount = mAdapter.getCount(); 490 position = lookForSelectablePosition(mItemCount - 1, false); 497 if (mItemCount == 0) { 558 return (lastVisiblePosition < mItemCount - 1) 589 if ((mSelectedPosition < mItemCount - 1) 688 while (nextTop < end && pos < mItemCount) { 748 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1); 886 if (selectedPosition != mItemCount [all...] |
H A D | AbsListView.java | 1202 if (childCount != mItemCount) return false; 1414 mFastScroller.onScroll(mFirstPosition, getChildCount(), mItemCount); 1417 mOnScrollListener.onScroll(this, mFirstPosition, getChildCount(), mItemCount); 1736 boolean haveChildren = getChildCount() > 0 && mItemCount > 0; 1752 // which case mItemCount may not be 0, but if we try to 1760 if (firstPos >= mItemCount) { 1761 firstPos = mItemCount - 1; 1906 mOldItemCount = mItemCount; 1907 mItemCount = mAdapter.getCount(); 1980 (int)((float)mScrollY / getHeight() * mItemCount * 10 [all...] |
H A D | ExpandableListView.java | 369 final int lastChildFlPos = mItemCount - getFooterViewsCount() - headerViewsCount - 1; 615 final int footerViewsStart = mItemCount - getFooterViewsCount();
|
H A D | AdapterViewAnimator.java | 962 mItemCount = mAdapter.getCount();
|
H A D | Spinner.java | 522 if (mItemCount == 0) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AdapterViewICS.java | 180 int mItemCount; field in class:AdapterViewICS 591 return mItemCount; 803 mOldItemCount = mItemCount; 804 mItemCount = getAdapter().getCount(); 809 && mOldItemCount == 0 && mItemCount > 0) { 830 mOldItemCount = mItemCount; 831 mItemCount = 0; 916 return super.canAnimate() && mItemCount > 0; 920 final int count = mItemCount; 999 int count = mItemCount; [all...] |
H A D | AbsSpinnerICS.java | 94 mOldItemCount = mItemCount; 95 mItemCount = mAdapter.getCount(); 101 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 106 if (mItemCount == 0) { 288 if (mItemCount > 0 && mSelectedPosition >= 0) { 315 return mItemCount;
|
H A D | SpinnerICS.java | 318 if (mItemCount == 0) {
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 83 int mItemCount = UNDEFINED; field in class:AccessibilityRecord 318 return mItemCount; 330 mItemCount = itemCount; 770 mItemCount = record.mItemCount; 796 mItemCount = UNDEFINED; 821 builder.append("; ItemCount: " + mItemCount);
|
H A D | AccessibilityEvent.java | 1058 record.mItemCount = parcel.readInt(); 1110 parcel.writeInt(record.mItemCount); 1158 builder.append("; ItemCount: " + record.mItemCount);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 112 private int mItemCount; field in class:StaggeredGridView 432 if (mFirstPosition != 0 || getChildCount() != mItemCount) { 1006 while (nextCol >= 0 && mItemBottoms[nextCol] < fillTo && position < mItemCount) { 1278 mOldItemCount = mItemCount = adapter != null ? adapter.getCount() : 0; 1550 mOldItemCount = mItemCount; 1551 mItemCount = mAdapter.getCount();
|
Completed in 383 milliseconds