/packages/apps/Dialer/src/com/android/dialer/calllog/ |
GroupingListAdapter.java | 44 private int mItemCount; 111 mItemCount = mGroupMetadata.size(); 135 return mItemCount; 168 mItemCount = 0;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
AsyncListUtil.java | 68 private int mItemCount = 0; 151 if (position < 0 || position >= mItemCount) { 152 throw new IndexOutOfBoundsException(position + " is not within 0 and " + mItemCount); 171 return mItemCount; 179 if (mTmpRange[1] >= mItemCount) { 201 Math.max(mTmpRange[1], Math.min(mTmpRangeExtended[1], mItemCount - 1)); 217 mItemCount = itemCount; 245 int endPosition = tile.mStartPosition + tile.mItemCount; 297 private int mItemCount; 306 mItemCount = mDataCallback.refreshData() [all...] |
TileList.java | 89 public int mItemCount; 98 return mStartPosition <= pos && pos < mStartPosition + mItemCount;
|
/frameworks/base/core/java/android/widget/ |
GridView.java | 205 mOldItemCount = mItemCount; 206 mItemCount = mAdapter.getCount(); 217 position = lookForSelectablePosition(mItemCount - 1, false); 240 if (position < 0 || position >= mItemCount) { 306 while (nextTop < end && pos < mItemCount) { 341 last = Math.min(startPos + mNumColumns, mItemCount); 437 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1); 447 lastPosition = Math.min(lastPosition, mItemCount - 1); 449 final int invertedPosition = mItemCount - 1 - lastPosition; 450 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)) [all...] |
Gallery.java | 332 return mItemCount; 429 int extremeItemPosition = motionToLeft != mIsRtl ? mItemCount - 1 : 0; 645 if (mItemCount == 0) { 711 int numItems = mItemCount; 723 mFirstPosition = curPosition = mItemCount - 1; 728 while (curRightEdge > galleryLeft && curPosition < mItemCount) { 813 int numItems = mItemCount; 824 mFirstPosition = curPosition = mItemCount - 1; [all...] |
AbsSpinner.java | 114 mOldItemCount = mItemCount; 115 mItemCount = mAdapter.getCount(); 121 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 126 if (mItemCount == 0) { 305 if (mItemCount > 0 && mSelectedPosition >= 0) { 332 return mItemCount;
|
AdapterView.java | 181 int mItemCount; 599 return mItemCount; 827 mOldItemCount = mItemCount; 828 mItemCount = getAdapter().getCount(); 833 && mOldItemCount == 0 && mItemCount > 0) { 854 mOldItemCount = mItemCount; 855 mItemCount = 0; [all...] |
ListView.java | 238 if (mFirstPosition + childCount < mItemCount) { 492 mOldItemCount = mItemCount; 493 mItemCount = mAdapter.getCount(); 503 position = lookForSelectablePosition(mItemCount - 1, false); 510 if (mItemCount == 0) { 571 return (lastVisiblePosition < mItemCount - 1) 602 if ((mSelectedPosition < mItemCount - 1) 701 while (nextTop < end && pos < mItemCount) { 761 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1); 899 if (selectedPosition != mItemCount - 1) [all...] |
AbsListView.java | [all...] |
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
BottomSheetWithFragment.java | 93 private final int mItemCount; 97 mItemCount = itemCount; 112 return mItemCount;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerRtlTest.java | 82 mConfig.mItemCount = 5; 84 mConfig.mSpanCount = mConfig.mItemCount + 1; 86 mConfig.mSpanCount = Math.min(mConfig.mItemCount - 1, mConfig.mSpanCount); 89 RecyclerView rv = setupBasic(mConfig, new GridTestAdapter(mConfig.mItemCount) {
|
StaggeredGridLayoutManagerGapTest.java | 66 if (mConfig.mItemCount < 100) { 73 smoothScrollToPosition(mConfig.mItemCount / 2);
|
BaseGridLayoutManagerTest.java | 45 return setupBasic(config, new GridTestAdapter(config.mItemCount)); 107 int mItemCount = 1000; 113 mItemCount = itemCount; 132 ", mItemCount=" + mItemCount +
|
FocusSearchNavigationTest.java | 237 private int mItemCount; 240 mItemCount = itemCount; 266 return mItemCount;
|
BaseLinearLayoutManagerTest.java | 89 mTestAdapter = config.mTestAdapter == null ? new TestAdapter(config.mItemCount) 272 int mItemCount = DEFAULT_ITEM_COUNT; 314 mItemCount = itemCount; 331 ", mItemCount=" + mItemCount +
|
GridLayoutManagerNoOpUpdateTest.java | 120 GridTestAdapter adapter = new GridTestAdapter(mConfig.mItemCount);
|
LinearLayoutManagerSavedStateTest.java | 155 return config.mItemCount == 0; 189 return config.mItemCount == 0; 246 List<Config> variations = addConfigVariation(createBaseVariations(), "mItemCount", 0, 300);
|
BaseStaggeredGridLayoutManagerTest.java | 79 setupByConfig(config, new GridTestAdapter(config.mItemCount, config.mOrientation)); 398 int mItemCount = DEFAULT_ITEM_COUNT; 434 mItemCount = itemCount; 449 " itemCount:" + mItemCount + [all...] |
GridLayoutManagerBaseConfigSetTest.java | 50 config.mItemCount = 150;
|
GridLayoutManagerSnappingTest.java | 167 scrollToPosition(mConfig.mItemCount / 2);
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityRecord.java | 83 int mItemCount = UNDEFINED; 324 return mItemCount; 336 mItemCount = itemCount; 782 mItemCount = record.mItemCount; 810 mItemCount = UNDEFINED; 842 builder.append("; ItemCount: " + mItemCount);
|
AccessibilityEvent.java | [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 63 private int mItemCount; 241 remaining > 0 && startPosition + i >= 0 && startPosition + i < mItemCount; 489 if (childCount != mItemCount) return false; 511 while (nextLeft < end && pos < mItemCount) { 652 mOldItemCount = mItemCount = adapter != null ? adapter.getCount() : 0; 864 mOldItemCount = mItemCount; 865 mItemCount = mAdapter.getCount();
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 112 private int mItemCount; 432 if (mFirstPosition != 0 || getChildCount() != mItemCount) { [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
TileListTest.java | 140 window.mItemCount = items.length;
|