/frameworks/base/core/java/android/widget/ |
D | GridView.java | 223 mOldItemCount = mItemCount; in setAdapter() 224 mItemCount = mAdapter.getCount(); in setAdapter() 235 position = lookForSelectablePosition(mItemCount - 1, false); in setAdapter() 258 if (position < 0 || position >= mItemCount) { in lookForSelectablePosition() 325 while (nextTop < end && pos < mItemCount) { in fillDown() 360 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow() 457 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1); in fillFromTop() 467 lastPosition = Math.min(lastPosition, mItemCount - 1); in fillFromBottom() 469 final int invertedPosition = mItemCount - 1 - lastPosition; in fillFromBottom() 470 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)); in fillFromBottom() [all …]
|
D | Gallery.java | 342 return mItemCount; in computeHorizontalScrollRange() 441 int extremeItemPosition = motionToLeft != mIsRtl ? mItemCount - 1 : 0; 659 if (mItemCount == 0) { in layout() 726 int numItems = mItemCount; in fillToGalleryLeftRtl() 738 mFirstPosition = curPosition = mItemCount - 1; in fillToGalleryLeftRtl() 743 while (curRightEdge > galleryLeft && curPosition < mItemCount) { in fillToGalleryLeftRtl() 829 int numItems = mItemCount; in fillToGalleryRightLtr() 840 mFirstPosition = curPosition = mItemCount - 1; in fillToGalleryRightLtr() 1287 if (mItemCount > 0) { in onKeyUp() 1314 if (mItemCount > 0 && targetPosition >= 0 && targetPosition < mItemCount) { in moveDirection() [all …]
|
D | AdapterView.java | 194 int mItemCount; field in AdapterView 619 return mItemCount; in getCount() 847 mOldItemCount = mItemCount; in onChanged() 848 mItemCount = getAdapter().getCount(); in onChanged() 853 && mOldItemCount == 0 && mItemCount > 0) { in onChanged() 874 mOldItemCount = mItemCount; in onInvalidated() 875 mItemCount = 0; in onInvalidated() 1045 return super.canAnimate() && mItemCount > 0; in canAnimate() 1049 final int count = mItemCount; in handleDataChanged() 1140 int count = mItemCount; in findSyncPosition() [all …]
|
D | AbsSpinner.java | 126 mOldItemCount = mItemCount; in setAdapter() 127 mItemCount = mAdapter.getCount(); in setAdapter() 133 int position = mItemCount > 0 ? 0 : INVALID_POSITION; in setAdapter() 138 if (mItemCount == 0) { in setAdapter() 318 if (mItemCount > 0 && mSelectedPosition >= 0) { in getSelectedView() 345 return mItemCount; in getCount()
|
D | ListView.java | 311 if (mFirstPosition + childCount < mItemCount) { in adjustViewsUpOrDown() 578 mOldItemCount = mItemCount; in setAdapter() 579 mItemCount = mAdapter.getCount(); in setAdapter() 589 position = lookForSelectablePosition(mItemCount - 1, false); in setAdapter() 596 if (mItemCount == 0) { in setAdapter() 657 return (lastVisiblePosition < mItemCount - 1) in showingBottomFadingEdge() 688 if ((mSelectedPosition < mItemCount - 1) in requestChildRectangleOnScreen() 788 while (nextTop < end && pos < mItemCount) { in fillDown() 849 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1); in fillFromTop() 987 if (selectedPosition != mItemCount - 1) { in getBottomSelectionPixel() [all …]
|
D | AbsListView.java | 1368 if (childCount != mItemCount) return false; in contentFits() 1598 mFastScroll.onScroll(mFirstPosition, getChildCount(), mItemCount); in invokeOnItemScrollListener() 1601 mOnScrollListener.onScroll(this, mFirstPosition, getChildCount(), mItemCount); in invokeOnItemScrollListener() 1918 boolean haveChildren = getChildCount() > 0 && mItemCount > 0; in onSaveInstanceState() 1942 if (firstPos >= mItemCount) { in onSaveInstanceState() 1943 firstPos = mItemCount - 1; in onSaveInstanceState() 2088 mOldItemCount = mItemCount; in onFocusChanged() 2089 mItemCount = mAdapter.getCount(); in onFocusChanged() 2162 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0); in computeVerticalScrollOffset() 2166 final int count = mItemCount; in computeVerticalScrollOffset() [all …]
|
D | ExpandableListView.java | 382 final int lastChildFlPos = mItemCount - getFooterViewsCount() - headerViewsCount - 1; in dispatchDraw() 628 final int footerViewsStart = mItemCount - getFooterViewsCount(); in isHeaderOrFooterPosition()
|
D | AdapterViewAnimator.java | 972 mItemCount = mAdapter.getCount(); in setAdapter()
|
D | Spinner.java | 659 if (mItemCount == 0) { in layout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | PersisterQueueTests.java | 318 private final AtomicInteger mItemCount = new AtomicInteger(0);; field in PersisterQueueTests.TestWriteQueueItemFactory 322 return mItemCount.get(); in getTotalProcessedItemCount() 335 return new TestItem(mItemCount, mLatch); in createItem() 339 return new FilterableTestItem(shouldKeepOnFilter, mItemCount, mLatch); in createFilterableItem() 345 private AtomicInteger mItemCount; field in PersisterQueueTests.TestItem 349 mItemCount = itemCount; in TestItem() 355 mItemCount.getAndIncrement(); in process() 373 private FilterableTestItem(boolean shouldKeepOnFilter, AtomicInteger mItemCount, in FilterableTestItem() argument 375 super(mItemCount, mLatch); in FilterableTestItem()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 86 int mItemCount = UNDEFINED; field in AccessibilityRecord 415 return mItemCount; in getItemCount() 427 mItemCount = itemCount; in setItemCount() 893 mItemCount = record.mItemCount; in init() 922 mItemCount = UNDEFINED; in clear() 955 append(builder, "ItemCount", mItemCount); in appendTo()
|
D | AccessibilityNodeInfo.java | 4628 ci.mHierarchical, ci.mSelectionMode, ci.mItemCount, in initCopyInfos() 6127 private int mItemCount; field in AccessibilityNodeInfo.CollectionInfo 6142 other.mSelectionMode, other.mItemCount, in obtain() 6211 mItemCount = UNDEFINED; in CollectionInfo() 6239 mItemCount = itemCount; in CollectionInfo() 6291 return mItemCount; in getItemCount() 6319 mItemCount = UNDEFINED; in clear() 6333 private int mItemCount = UNDEFINED; field in AccessibilityNodeInfo.CollectionInfo.Builder 6401 mItemCount = itemCount; in setItemCount() 6428 collectionInfo.mItemCount = mItemCount; in build()
|
D | AccessibilityEvent.java | 1632 record.mItemCount = parcel.readInt(); in readAccessibilityRecordFromParcel() 1700 parcel.writeInt(record.mItemCount); in writeAccessibilityRecordToParcel()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 112 private int mItemCount; field in StaggeredGridView 432 if (mFirstPosition != 0 || getChildCount() != mItemCount) { in contentFits() 1006 while (nextCol >= 0 && mItemBottoms[nextCol] < fillTo && position < mItemCount) { in fillDown() 1278 mOldItemCount = mItemCount = adapter != null ? adapter.getCount() : 0; in setAdapter() 1550 mOldItemCount = mItemCount; in onChanged() 1551 mItemCount = mAdapter.getCount(); in onChanged()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 3133 mState.mItemCount = mAdapter.getItemCount(); in onMeasure() 3135 mState.mItemCount = 0; in onMeasure() 3561 mState.mItemCount = mAdapter.getItemCount(); in dispatchLayoutStep1() 3646 mState.mItemCount = mAdapter.getItemCount(); in dispatchLayoutStep2() 3725 mState.mPreviousLayoutItemCount = mState.mItemCount; in dispatchLayoutStep3() 11314 int mItemCount = 0; field in RecyclerView.State 11350 mItemCount = 0; in reset() 11365 mItemCount = adapter.getItemCount(); in prepareForNestedPrefetch() 11517 : mItemCount; in getItemCount() 11525 + ", mItemCount=" + mItemCount in toString()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 58098 Landroid/view/accessibility/AccessibilityRecord;->mItemCount:I 65573 Landroid/widget/AdapterView;->mItemCount:I
|