Searched refs:oldItem (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationDiff.java | 67 NotificationGroup oldItem = mOldList.get(oldItemPosition); in areItemsTheSame() local 69 return sameGroupUniqueIdentifiers(oldItem, newItem); in areItemsTheSame() 85 NotificationGroup oldItem, NotificationGroup newItem) { in sameGroupUniqueIdentifiers() argument 87 if (oldItem == newItem) { in sameGroupUniqueIdentifiers() 91 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers() 96 oldItem.getGroupSummaryNotification(), newItem.getGroupSummaryNotification())) { in sameGroupUniqueIdentifiers() 109 StatusBarNotification oldItem, StatusBarNotification newItem) { in sameNotificationKey() argument 110 if (oldItem == newItem) { in sameNotificationKey() 114 return oldItem != null in sameNotificationKey() 116 && Objects.equals(oldItem.getKey(), newItem.getKey()); in sameNotificationKey() [all …]
|
/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/Media/src/com/android/car/media/browse/ |
D | BrowseAdapter.java | 70 public boolean areItemsTheSame(@NonNull BrowseViewData oldItem, 72 return Objects.equals(oldItem.mMediaItem, newItem.mMediaItem) 73 && Objects.equals(oldItem.mText, newItem.mText); 77 public boolean areContentsTheSame(@NonNull BrowseViewData oldItem, 79 return oldItem.equals(newItem);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 330 public boolean areContentsTheSame(ListItem oldItem, ListItem newItem) { in VerticalListAdapter() 331 return comparator.compare(oldItem, newItem) == 0; in VerticalListAdapter() 402 ListItem oldItem = (ListItem) mItems.get(j); 403 if (!newItemSet.contains(oldItem)) { 404 toRemove.add(oldItem);
|