/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SchedulesHeaderRow.java | 29 public SchedulesHeaderRow(String title, String description, int itemCount) { in SchedulesHeaderRow() argument 31 mItemCount = itemCount; in SchedulesHeaderRow() 46 public void setItemCount(int itemCount) { in setItemCount() argument 47 mItemCount = itemCount; in setItemCount() 69 public DateHeaderRow(String title, String description, int itemCount, long deadLineMs) { in DateHeaderRow() argument 70 super(title, description, itemCount); in DateHeaderRow() 88 int itemCount, in SeriesRecordingHeaderRow() argument 91 super(title, description, itemCount); in SeriesRecordingHeaderRow()
|
D | SeriesScheduleRowAdapter.java | 241 public void notifyArrayItemRangeChanged(int positionStart, int itemCount) { in notifyArrayItemRangeChanged() argument 244 super.notifyArrayItemRangeChanged(positionStart, itemCount); in notifyArrayItemRangeChanged()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryAddonsAdapter.java | 290 public void onItemRangeChanged(int positionStart, int itemCount) { 295 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { 296 assert(itemCount == 1); 297 notifyItemRangeChanged(toViewPosition(positionStart), itemCount, payload); 301 public void onItemRangeInserted(int positionStart, int itemCount) { 302 assert(itemCount == 1); 306 notifyItemRangeInserted(toViewPosition(positionStart), itemCount); 310 public void onItemRangeRemoved(int positionStart, int itemCount) { 311 assert(itemCount == 1); 315 notifyItemRangeRemoved(toViewPosition(positionStart), itemCount); [all …]
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | LocaleLinearLayoutManager.java | 81 final int itemCount = this.getItemCount(); in onInitializeAccessibilityNodeInfoForItem() local 103 if (position + 1 < itemCount) { // it is not the last one in onInitializeAccessibilityNodeInfoForItem() 107 if (itemCount > 1) { in onInitializeAccessibilityNodeInfoForItem() 116 final int itemCount = this.getItemCount(); in performAccessibilityActionForItem() local 128 if (position + 1 < itemCount) { in performAccessibilityActionForItem() 140 if (position != itemCount - 1) { in performAccessibilityActionForItem() 141 mAdapter.onItemMove(position, itemCount - 1); in performAccessibilityActionForItem() 146 if (itemCount > 1) { in performAccessibilityActionForItem()
|
D | LocaleDragAndDropAdapter.java | 181 int itemCount = (null != mFeedItemList ? mFeedItemList.size() : 0); in getItemCount() local 182 if (itemCount < 2 || mRemoveMode) { in getItemCount() 187 return itemCount; in getItemCount() 210 int itemCount = mFeedItemList.size(); in setRemoveMode() local 211 for (int i = 0; i < itemCount; i++) { in setRemoveMode() 222 int itemCount = mFeedItemList.size(); in removeItem() local 223 if (itemCount <= 1) { in removeItem() 226 if (position < 0 || position >= itemCount) { in removeItem() 234 int itemCount = mFeedItemList.size(); in removeChecked() local 235 for (int i = itemCount - 1; i >= 0; i--) { in removeChecked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/ |
D | LocaleLinearLayoutManager.java | 81 final int itemCount = this.getItemCount(); in onInitializeAccessibilityNodeInfoForItem() local 103 if (position + 1 < itemCount) { // it is not the last one in onInitializeAccessibilityNodeInfoForItem() 107 if (itemCount > 1) { in onInitializeAccessibilityNodeInfoForItem() 116 final int itemCount = this.getItemCount(); in performAccessibilityActionForItem() local 128 if (position + 1 < itemCount) { in performAccessibilityActionForItem() 140 if (position != itemCount - 1) { in performAccessibilityActionForItem() 141 mAdapter.onItemMove(position, itemCount - 1); in performAccessibilityActionForItem() 146 if (itemCount > 1) { in performAccessibilityActionForItem()
|
D | LocaleDragAndDropAdapter.java | 181 int itemCount = (null != mFeedItemList ? mFeedItemList.size() : 0); in getItemCount() local 182 if (itemCount < 2 || mRemoveMode) { in getItemCount() 187 return itemCount; in getItemCount() 210 int itemCount = mFeedItemList.size(); in setRemoveMode() local 211 for (int i = 0; i < itemCount; i++) { in setRemoveMode() 222 int itemCount = mFeedItemList.size(); in removeItem() local 223 if (itemCount <= 1) { in removeItem() 226 if (position < 0 || position >= itemCount) { in removeItem() 234 int itemCount = mFeedItemList.size(); in removeChecked() local 235 for (int i = itemCount - 1; i >= 0; i--) { in removeChecked()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FilterEmptyPromptSet.java | 38 int itemCount = mBaseSet.getMediaItemCount(); in getMediaItemCount() local 39 if (itemCount > 0) { in getMediaItemCount() 40 return itemCount; in getMediaItemCount() 48 int itemCount = mBaseSet.getMediaItemCount(); in getMediaItem() local 49 if (itemCount > 0) { in getMediaItem()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestDocumentsAdapter.java | 53 public void onItemRangeChanged(int startPosition, int itemCount, Object payload) { in TestDocumentsAdapter() 55 int last = startPosition + itemCount; in TestDocumentsAdapter() 63 public void onItemRangeInserted(int startPosition, int itemCount) { in TestDocumentsAdapter() 67 public void onItemRangeRemoved(int startPosition, int itemCount) { in TestDocumentsAdapter() 71 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in TestDocumentsAdapter()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | GroupingListAdapter.java | 61 private int itemCount; field in GroupingListAdapter 93 itemCount = groupMetadata.size(); in changeCursor() 117 return itemCount; in getItemCount() 150 itemCount = 0; in reset()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TaskAdapter.java | 170 int itemCount = TASKS_START_POSITION; in getItemCount() local 173 itemCount += MAX_TASKS_TO_DISPLAY; in getItemCount() 175 itemCount += Math.min(mLoader.getCurrentTaskList().size(), MAX_TASKS_TO_DISPLAY); in getItemCount() 177 return itemCount; in getItemCount()
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | FastScroller.java | 94 final int itemCount = adapter.getItemCount(); in setRecyclerViewPosition() local 95 float scrolledPosition = getScrolledPercentage(y) * (float) itemCount; in setRecyclerViewPosition() 96 int targetPos = getValueInRange(0, itemCount - 1, (int) scrolledPosition); in setRecyclerViewPosition()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsPreferenceFragment.java | 91 public void onItemRangeChanged(int positionStart, int itemCount) { 96 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { 101 public void onItemRangeInserted(int positionStart, int itemCount) { 106 public void onItemRangeRemoved(int positionStart, int itemCount) { 111 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SettingsPreferenceFragment.java | 91 public void onItemRangeChanged(int positionStart, int itemCount) { 96 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { 101 public void onItemRangeInserted(int positionStart, int itemCount) { 106 public void onItemRangeRemoved(int positionStart, int itemCount) { 111 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 302 public void arrangeChildren(ArrayList<View> list, int itemCount) { in arrangeChildren() argument 303 arrangeChildren(list, itemCount, true); in arrangeChildren() 307 private void arrangeChildren(ArrayList<View> list, int itemCount, boolean saveChanges) { in arrangeChildren() argument 314 setupContentDimensions(itemCount); in arrangeChildren() 326 for (int i = 0; i < itemCount; i++) { in arrangeChildren()
|
D | Folder.java | 1032 public void rearrangeChildren(int itemCount) { in rearrangeChildren() argument 1034 mContent.arrangeChildren(views, Math.max(itemCount, views.size())); in rearrangeChildren() 1047 int itemCount = mInfo.contents.size(); in replaceFolderWithFinalItem() 1048 if (itemCount <= 1) { in replaceFolderWithFinalItem() 1051 if (itemCount == 1) { in replaceFolderWithFinalItem()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationViewAdapter.java | 386 int itemCount = mNotifications.size(); in getItemCount() local 388 if (mIsGroupNotificationAdapter && itemCount > mMaxNumberGroupChildrenShown) { in getItemCount() 398 return Math.min(itemCount, maxItemCount); in getItemCount() 400 return itemCount; in getItemCount()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtoneLoader.java | 80 final int itemCount = systemRingtoneCount + mCustomRingtones.size() + 3; in loadInBackground() local 82 final List<ItemAdapter.ItemHolder<Uri>> itemHolders = new ArrayList<>(itemCount); in loadInBackground()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsDeletionPreferenceGroup.java | 141 private void updatePreferenceText(int itemCount, long bytes, long mostRecent) { in updatePreferenceText() argument 145 if (itemCount != 0) { in updatePreferenceText()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | PermissionsFrameFragment.java | 161 public void onItemRangeInserted(int positionStart, int itemCount) { in onCreateAdapter() 166 public void onItemRangeRemoved(int positionStart, int itemCount) { in onCreateAdapter()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 585 int itemCount = mScope.adapter.getItemCount(); in buildIndex() local 586 List<String> index = new ArrayList<>(itemCount); in buildIndex() 587 for (int i = 0; i < itemCount; i++) { in buildIndex()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | PermissionsFrameFragment.java | 172 public void onItemRangeInserted(int positionStart, int itemCount) { in onBindPreferences() 177 public void onItemRangeRemoved(int positionStart, int itemCount) { in onBindPreferences()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridActivity.java | 230 int itemCount = Math.min(mColumnNumber, statsSize); in getMostRecentApps() local 231 while (itemsAdded < itemCount && currentIndex < statsSize) { in getMostRecentApps()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragment.java | 210 protected void notifyItemsChanged(int positionStart, int itemCount) { in notifyItemsChanged() argument 211 while (itemCount-- != 0) { in notifyItemsChanged()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFastScroller.java | 410 final int itemCount = mRv.getAdapter().getItemCount(); in handleDragMove() local 411 final int itemPos = (int)((itemCount - 1) * dragScrollRatio); in handleDragMove()
|