Searched refs:newItem (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationDiff.java | 68 NotificationGroup newItem = mNewList.get(newItemPosition); 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() 115 && newItem != null in sameNotificationKey() 116 && Objects.equals(oldItem.getKey(), newItem.getKey()); in sameNotificationKey() [all …]
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseAdapter.java | 71 @NonNull BrowseViewData newItem) { 72 return Objects.equals(oldItem.mMediaItem, newItem.mMediaItem) 73 && Objects.equals(oldItem.mText, newItem.mText); 78 @NonNull BrowseViewData newItem) { 79 return oldItem.equals(newItem);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 420 for (EitItem newItem : items) { in handleEvents() 421 if (newItem.getEndTimeUtcMillis() < currentTime) { in handleEvents() 424 long newItemStartTime = newItem.getStartTimeUtcMillis(); in handleEvents() 425 long newItemEndTime = newItem.getEndTimeUtcMillis(); in handleEvents() 438 newItem, in handleEvents() 457 newItem, in handleEvents() local
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BgDataModel.java | 300 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() argument 319 if (newItem && count.value == 1) { in addItem() 330 if (newItem) { in addItem()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | RunningState.java | 868 SparseArray<MergedItem> userItems, MergedItem newItem) { in addOtherUserItem() argument 869 MergedItem userItem = userItems.get(newItem.mUserId); in addOtherUserItem() 872 UserInfo info = mUm.getUserInfo(newItem.mUserId); in addOtherUserItem() 881 userItem = new MergedItem(newItem.mUserId); in addOtherUserItem() 882 userItems.put(newItem.mUserId, userItem); in addOtherUserItem() 893 userItem.mChildren.add(newItem); in addOtherUserItem()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 868 SparseArray<MergedItem> userItems, MergedItem newItem) { in addOtherUserItem() argument 869 MergedItem userItem = userItems.get(newItem.mUserId); in addOtherUserItem() 872 UserInfo info = mUm.getUserInfo(newItem.mUserId); in addOtherUserItem() 881 userItem = new MergedItem(newItem.mUserId); in addOtherUserItem() 882 userItems.put(newItem.mUserId, userItem); in addOtherUserItem() 893 userItem.mChildren.add(newItem); in addOtherUserItem()
|
/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()
|