/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
SchedulesHeaderRow.java | 27 private int mItemCount; 31 mItemCount = itemCount; 53 mItemCount = itemCount; 74 return mItemCount;
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
GroupingListAdapter.java | 61 private int mItemCount; 93 mItemCount = mGroupMetadata.size(); 117 return mItemCount; 150 mItemCount = 0;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
AsyncListUtil.java | 68 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...] |
AdapterView.java | 183 int mItemCount; 607 return mItemCount; 835 mOldItemCount = mItemCount; 836 mItemCount = getAdapter().getCount(); 841 && mOldItemCount == 0 && mItemCount > 0) { 862 mOldItemCount = mItemCount; 863 mItemCount = 0; [all...] |
AbsSpinner.java | 124 mOldItemCount = mItemCount; 125 mItemCount = mAdapter.getCount(); 131 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 136 if (mItemCount == 0) { 315 if (mItemCount > 0 && mSelectedPosition >= 0) { 342 return mItemCount;
|
ListView.java | 307 if (mFirstPosition + childCount < mItemCount) { 574 mOldItemCount = mItemCount; 575 mItemCount = mAdapter.getCount(); 585 position = lookForSelectablePosition(mItemCount - 1, false); 592 if (mItemCount == 0) { 653 return (lastVisiblePosition < mItemCount - 1) 684 if ((mSelectedPosition < mItemCount - 1) 783 while (nextTop < end && pos < mItemCount) { 843 mFirstPosition = Math.min(mFirstPosition, 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 | 84 mConfig.mItemCount = 5; 86 mConfig.mSpanCount = mConfig.mItemCount + 1; 88 mConfig.mSpanCount = Math.min(mConfig.mItemCount - 1, mConfig.mSpanCount); 91 RecyclerView rv = setupBasic(mConfig, new GridTestAdapter(mConfig.mItemCount) {
|
StaggeredGridLayoutManagerGapTest.java | 67 if (mConfig.mItemCount < 100) { 74 smoothScrollToPosition(mConfig.mItemCount / 2);
|
BaseGridLayoutManagerTest.java | 48 return setupBasic(config, new GridTestAdapter(config.mItemCount)); 110 int mItemCount = 1000; 116 mItemCount = itemCount; 135 + ",mItemCount=" + mItemCount
|
PagerSnapHelperTest.java | 111 int expectedPosition = mConfig.mItemCount / 2 + (mConfig.mReverseLayout 202 int expectedPosition = mConfig.mItemCount / 2 + (mConfig.mReverseLayout 215 scrollToPosition(mConfig.mItemCount / 2);
|
FocusSearchNavigationTest.java | 239 private int mItemCount; 242 mItemCount = itemCount; 268 return mItemCount;
|
RecyclerViewFastScrollerTest.java | 364 private int mItemCount; 381 mItemCount = itemCount; 410 return mItemCount;
|
BaseLinearLayoutManagerTest.java | 97 ? new TestAdapter(config.mItemCount, childLayoutParams) 284 int mItemCount = DEFAULT_ITEM_COUNT; 326 mItemCount = itemCount; 343 + ",mItemCount=" + mItemCount
|
GridLayoutManagerCacheTest.java | 92 mRecyclerView.scrollToPosition(mConfig.mItemCount / 2);
|
GridLayoutManagerNoOpUpdateTest.java | 122 GridTestAdapter adapter = new GridTestAdapter(mConfig.mItemCount);
|
StaggeredGridLayoutManagerCacheTest.java | 106 mRecyclerView.scrollToPosition(mConfig.mItemCount / 2);
|
LinearLayoutManagerSavedStateTest.java | 156 return config.mItemCount == 0; 190 return config.mItemCount == 0; 247 List<Config> variations = addConfigVariation(createBaseVariations(), "mItemCount", 0, 300);
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityRecord.java | 83 int mItemCount = UNDEFINED; 344 return mItemCount; 356 mItemCount = itemCount; 804 mItemCount = record.mItemCount; 832 mItemCount = UNDEFINED; 865 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();
|