Home
last modified time | relevance | path

Searched refs:newItem (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java75 NotificationGroup newItem = mNewList.get(newItemPosition); in areItemsTheSame() local
77 return sameGroupUniqueIdentifiers(oldItem, newItem); in areItemsTheSame()
92 NotificationGroup newItem) { in sameGroupUniqueIdentifiers() argument
94 if (oldItem == newItem) { in sameGroupUniqueIdentifiers()
98 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers()
103 oldItem.getGroupSummaryNotification(), newItem.getGroupSummaryNotification()); in sameGroupUniqueIdentifiers()
111 static boolean sameNotificationKey(AlertEntry oldItem, AlertEntry newItem) { in sameNotificationKey() argument
112 if (oldItem == newItem) { in sameNotificationKey()
117 && newItem != null in sameNotificationKey()
118 && Objects.equals(oldItem.getKey(), newItem.getKey()); in sameNotificationKey()
[all …]
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java82 @NonNull BrowseViewData newItem) {
83 return Objects.equals(oldItem.mMediaItem, newItem.mMediaItem)
84 && Objects.equals(oldItem.mText, newItem.mText);
89 @NonNull BrowseViewData newItem) {
90 return oldItem.equals(newItem);
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java425 for (EitItem newItem : items) { in handleEvents()
426 if (newItem.getEndTimeUtcMillis() < currentTime) { in handleEvents()
429 long newItemStartTime = newItem.getStartTimeUtcMillis(); in handleEvents()
430 long newItemEndTime = newItem.getEndTimeUtcMillis(); in handleEvents()
443 newItem, in handleEvents()
462 newItem, in handleEvents() local
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java373 for (WorkspaceItemInfo newItem : newItems) {
374 if (!oldItems.contains(newItem) && !newItem.equals(dropped)) {
375 moveIn.add(newItem);
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java217 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() argument
231 if (newItem) { in addItem()
249 if (newItem && item.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in addItem()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java874 SparseArray<MergedItem> userItems, MergedItem newItem) { in addOtherUserItem() argument
875 MergedItem userItem = userItems.get(newItem.mUserId); in addOtherUserItem()
878 UserInfo info = mUm.getUserInfo(newItem.mUserId); in addOtherUserItem()
887 userItem = new MergedItem(newItem.mUserId); in addOtherUserItem()
888 userItems.put(newItem.mUserId, userItem); in addOtherUserItem()
899 userItem.mChildren.add(newItem); in addOtherUserItem()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java330 public boolean areContentsTheSame(ListItem oldItem, ListItem newItem) { in VerticalListAdapter()
331 return comparator.compare(oldItem, newItem) == 0; in VerticalListAdapter()