Searched refs:oldItem (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationDiff.java | 79 NotificationGroup oldItem = mOldList.get(oldItemPosition); in areItemsTheSame() local 82 return sameGroupUniqueIdentifiers(oldItem, newItem, mShowRecentsAndOlderHeaders); in areItemsTheSame() 99 static boolean sameGroupUniqueIdentifiers(NotificationGroup oldItem, in sameGroupUniqueIdentifiers() argument 102 if (oldItem == newItem) { in sameGroupUniqueIdentifiers() 106 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers() 111 if (oldItem.isSeen() != newItem.isSeen()) { in sameGroupUniqueIdentifiers() 117 oldItem.getGroupSummaryNotification(), newItem.getGroupSummaryNotification()); in sameGroupUniqueIdentifiers() 125 static boolean sameNotificationKey(AlertEntry oldItem, AlertEntry newItem) { in sameNotificationKey() argument 126 if (oldItem == newItem) { in sameNotificationKey() 130 return oldItem != null in sameNotificationKey() [all …]
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | LinkPropertiesUtils.java | 96 for (T oldItem : oldItems) { in CompareOrUpdateResult() 97 updateTracker.put(keyCalculator.apply(oldItem), oldItem); in CompareOrUpdateResult() local 103 T oldItem = updateTracker.remove(keyCalculator.apply(newItem)); in CompareOrUpdateResult() local 104 if (oldItem != null) { in CompareOrUpdateResult() 105 if (!oldItem.equals(newItem)) { in CompareOrUpdateResult()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/ |
D | DevicePolicyGroupListAdapter.java | 53 public boolean areItemsTheSame(DevicePolicyGroup oldItem, in DevicePolicyGroupListAdapter() 55 return oldItem.equals(newItem); in DevicePolicyGroupListAdapter() 59 public boolean areContentsTheSame(DevicePolicyGroup oldItem, in DevicePolicyGroupListAdapter() 61 return oldItem.equals(newItem); in DevicePolicyGroupListAdapter()
|
D | ProvisionInfoListAdapter.java | 46 public boolean areItemsTheSame(@NonNull ProvisionInfo oldItem, in ProvisionInfoListAdapter() 48 return oldItem.equals(newItem); in ProvisionInfoListAdapter() 52 public boolean areContentsTheSame(@NonNull ProvisionInfo oldItem, in ProvisionInfoListAdapter() 54 return oldItem.equals(newItem); in ProvisionInfoListAdapter()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsDiffCallback.java | 53 WidgetsListBaseEntry oldItem = mOldEntries.get(oldItemPosition); in areItemsTheSame() local 55 return oldItem.getClass().equals(newItem.getClass()) in areItemsTheSame() 56 && oldItem.mPkgItem.equals(newItem.mPkgItem); in areItemsTheSame()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/option/ui/adapter/ |
D | OptionItemAdapter.kt | 68 val oldItem = oldItems[oldItemPosition] in setItems() constant 70 return oldItem.key.value == newItem.key.value in setItems() 77 val oldItem = oldItems[oldItemPosition] in setItems() constant 79 return oldItem == newItem in setItems()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 478 for (EitItem oldItem : oldItems) { in handleEvents() 479 EitItem item = newEitItemMap.get(oldItem.getEventId()); in handleEvents() 481 outdatedOldItems.add(oldItem); in handleEvents() 487 if (oldItem.getDescription() != null in handleEvents() 489 && oldItem.getEventId() == item.getEventId() in handleEvents() 490 && oldItem.getStartTime() == item.getStartTime() in handleEvents() 491 && oldItem.getLengthInSecond() == item.getLengthInSecond() in handleEvents() 492 && Objects.equals(oldItem.getContentRating(), item.getContentRating()) in handleEvents() 493 && Objects.equals(oldItem.getBroadcastGenre(), item.getBroadcastGenre()) in handleEvents() 494 && Objects.equals(oldItem.getCanonicalGenre(), item.getCanonicalGenre())) { in handleEvents() [all …]
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/ |
D | DockAdapter.kt | 151 oldItem: DockAppItem, in getChangePayload() 154 if (oldItem.type != newItem.type) { in getChangePayload() 157 return super.getChangePayload(oldItem, newItem) in getChangePayload()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 329 public boolean areContentsTheSame(ListItem oldItem, ListItem newItem) { in VerticalListAdapter() 330 return comparator.compare(oldItem, newItem) == 0; in VerticalListAdapter() 401 ListItem oldItem = (ListItem) mItems.get(j); 402 if (!newItemSet.contains(oldItem)) { 403 toRemove.add(oldItem);
|