Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java68 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/
DBrowseAdapter.java71 @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/
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.java344 for (WorkspaceItemInfo newItem : newItems) {
345 if (!oldItems.contains(newItem) && !newItem.equals(dropped)) {
346 moveIn.add(newItem);
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java307 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() argument
326 if (newItem && count.value == 1) { in addItem()
337 if (newItem) { in addItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java868 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/
DRunningState.java868 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/
DSelectFromListWizardFragment.java330 public boolean areContentsTheSame(ListItem oldItem, ListItem newItem) { in VerticalListAdapter()
331 return comparator.compare(oldItem, newItem) == 0; in VerticalListAdapter()