Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java70 NotificationGroup newItem = mNewList.get(newItemPosition); in areItemsTheSame() local
72 return sameGroupUniqueIdentifiers(oldItem, newItem); in areItemsTheSame()
87 NotificationGroup newItem) { in sameGroupUniqueIdentifiers() argument
89 if (oldItem == newItem) { in sameGroupUniqueIdentifiers()
93 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers()
98 oldItem.getGroupSummaryNotification(), newItem.getGroupSummaryNotification()); in sameGroupUniqueIdentifiers()
106 static boolean sameNotificationKey(AlertEntry oldItem, AlertEntry newItem) { in sameNotificationKey() argument
107 if (oldItem == newItem) { in sameNotificationKey()
112 && newItem != null in sameNotificationKey()
113 && 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.java225 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() argument
244 if (newItem && count.value == 1) { in addItem()
255 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()
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...