/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | GroupingListAdapterTests.java | 109 assertEquals(3, mAdapter.getItemCount()); in testGroupingWithoutGroups() 119 assertEquals(2, mAdapter.getItemCount()); in testGroupingWithCollapsedGroupAtTheBeginning() 129 assertEquals(4, mAdapter.getItemCount()); in testGroupingWithExpandedGroupAtTheBeginning() 142 assertEquals(2, mAdapter.getItemCount()); in testGroupingWithExpandCollapseCycleAtTheBeginning() 151 assertEquals(3, mAdapter.getItemCount()); in testGroupingWithCollapsedGroupInTheMiddle() 162 assertEquals(6, mAdapter.getItemCount()); in testGroupingWithExpandedGroupInTheMiddle() 175 assertEquals(3, mAdapter.getItemCount()); in testGroupingWithCollapsedGroupAtTheEnd() 186 assertEquals(6, mAdapter.getItemCount()); in testGroupingWithExpandedGroupAtTheEnd() 199 assertEquals(6, mAdapter.getItemCount()); in testGroupingWithMultipleCollapsedGroups() 217 assertEquals(10, mAdapter.getItemCount()); in testGroupingWithMultipleExpandedGroups() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Folder.java | 696 setupContentForNumItems(getItemCount()); in onDropCompleted() 791 return getItemCount() >= mMaxNumItems; in isFull() 910 public int getItemCount() { in getItemCount() method in Folder 928 setupContentForNumItems(getItemCount()); in onCloseComplete() 931 if (getItemCount() <= 1) { in onCloseComplete() 950 if (getItemCount() == 1) { in replaceFolderWithFinalItem() 957 if (getItemCount() <= 1) { in replaceFolderWithFinalItem() 988 View lastChild = getItemAt(getItemCount() - 1); in updateTextViewFocus() 989 getItemAt(getItemCount() - 1); in updateTextViewFocus() 1023 setupContentDimensions(getItemCount()); in onDrop() [all …]
|
D | FolderIcon.java | 538 if (mFolder.getItemCount() == 0 && !mAnimating) return;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Folder.java | 407 if (getItemCount() <= 1) { in bind() 866 if (getItemCount() <= mContent.itemsPerPage()) { in onDropCompleted() 1081 public int getItemCount() { in getItemCount() method in Folder 1082 return mContent.getItemCount(); in getItemCount() 1098 if (getItemCount() <= 1) { in onCloseComplete() 1118 if (getItemCount() == 1) { in replaceFolderWithFinalItem() 1124 if (getItemCount() <= 1) { in replaceFolderWithFinalItem() 1286 if (getItemCount() <= 1) { in onRemove()
|
D | FolderPagedView.java | 176 int rank = getItemCount(); in allocateRankForNewItem() 371 public int getItemCount() { in getItemCount() method in FolderPagedView 402 return !ALLOW_FOLDER_SCROLL && getItemCount() >= mMaxItemsPerPage; in isFull()
|
D | FolderIcon.java | 608 if (mFolder.getItemCount() == 0 && !mAnimating) return;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFragment.java | 224 final int totalItemCount = mRecyclerView.getAdapter().getItemCount(); in isScrolledToBottom() 230 if (mAdapter.getItemCount() > 0) { in scrollToBottom() 231 scrollToPosition(mAdapter.getItemCount() - 1, smoothScroll); in scrollToBottom() 633 final int count = layoutManager.getItemCount(); in scrollToPosition() 652 return Math.max(mAdapter.getItemCount() - 1 - lastVisibleItem, 0); in getScrollPositionFromBottom() 871 final int position = Math.max(mAdapter.getItemCount() - 1 - positionFromBottom, 0); in onConversationMessagesCursorUpdated() 1236 return mAdapter != null && mAdapter.getItemCount() > 0; in hasMessages()
|
D | ConversationFastScroller.java | 410 final int itemCount = mRv.getAdapter().getItemCount(); in handleDragMove()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogAdapter.java | 364 return getItemCount() == 0; in isEmpty() 577 public int getItemCount() { in getItemCount() method in CallLogAdapter 578 return super.getItemCount() + ((isShowingRecentsTab() || mShowPromoCard) ? 1 : 0); in getItemCount() 583 if (position == getItemCount() - 1 && isShowingRecentsTab()) { in getItemViewType()
|
D | GroupingListAdapter.java | 218 public int getItemCount() { in getItemCount() method in GroupingListAdapter
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | PermissionsFrameFragment.java | 158 boolean isEmpty = adapter.getItemCount() == 0; in onCreateAdapter() 167 boolean isEmpty = adapter.getItemCount() == 0; in onCreateAdapter()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetFactory.java | 133 final int count = getItemCount(); in getCount() 148 protected int getItemCount() {
|
D | WidgetConversationListService.java | 89 || (mShouldShowViewMore && position >= getItemCount())) { in getViewAt()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | BeamShareActivity.java | 141 if (clipData != null && clipData.getItemCount() > 0) { in parseShareIntentAndFinish() 142 for (int i = 0; i < clipData.getItemCount(); i++) { in parseShareIntentAndFinish()
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | DialogAdapter.java | 87 public int getItemCount() { in getItemCount() method in DialogAdapter
|
/packages/apps/Settings/src/com/android/settings/ |
D | DropDownPreference.java | 129 public int getItemCount() { in getItemCount() method in DropDownPreference
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CursorRecyclerAdapter.java | 152 public int getItemCount() { in getItemCount() method in CursorRecyclerAdapter
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ConversationFragmentTest.java | 145 assertEquals("bad cursor", cursor.getCount(), listView.getAdapter().getItemCount()); in testLoadListView()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsListAdapter.java | 89 public int getItemCount() { in getItemCount() method in WidgetsListAdapter
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | Picker.java | 418 public int getItemCount() { in getItemCount() method in Picker.Adapter
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsGridAdapter.java | 535 public int getItemCount() { in getItemCount() method in AllAppsGridAdapter
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSettings.java | 465 if (mLockscreen.getItemCount() > 1) { in initLockscreenNotifications()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | DialogActionAdapter.java | 107 public int getItemCount() { in getItemCount() method in DialogActionAdapter
|
D | SettingsLayoutAdapter.java | 157 public int getItemCount() { in getItemCount() method in SettingsLayoutAdapter
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | ImportVCardActivity.java | 555 for (int i = 0; i < clipData.getItemCount(); i++) { in onActivityResult()
|