Home
last modified time | relevance | path

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

/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DCarNotificationDiff.java80 NotificationGroup newItem = mNewList.get(newItemPosition); in areItemsTheSame() local
102 if (oldItem == newItem) { in sameGroupUniqueIdentifiers()
111 if (oldItem.isSeen() != newItem.isSeen()) { in sameGroupUniqueIdentifiers()
126 if (oldItem == newItem) { in sameNotificationKey()
131 && newItem != null in sameNotificationKey()
142 return sameNotificationKey(oldItem, newItem) in sameNotificationKeyAndFlags()
159 if (newItem.isHeaderOrFooter()) { in areContentsTheSame()
168 if (oldItem.getChildCount() != newItem.getChildCount()) { in areContentsTheSame()
195 if (oldItem == newItem) { in sameNotificationContent()
199 if (oldItem == null || newItem == null) { in sameNotificationContent()
[all …]
/aosp12/frameworks/libs/net/common/framework/com/android/net/module/util/
H A DLinkPropertiesUtils.java54 for (T newItem : newItems) { in CompareResult()
55 if (!removed.remove(newItem)) { in CompareResult()
56 added.add(newItem); in CompareResult()
102 for (T newItem : newItems) { in CompareOrUpdateResult()
103 T oldItem = updateTracker.remove(keyCalculator.apply(newItem)); in CompareOrUpdateResult()
105 if (!oldItem.equals(newItem)) { in CompareOrUpdateResult()
107 updated.add(newItem); in CompareOrUpdateResult()
111 added.add(newItem); in CompareOrUpdateResult()
/aosp12/packages/apps/Car/Media/src/com/android/car/media/browse/
H A 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);
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputNotificationRebuilder.java104 RemoteInputHistoryItem newItem = uri != null in rebuildWithRemoteInputInserted() local
111 Stream.of(newItem), in rebuildWithRemoteInputInserted()
114 : new RemoteInputHistoryItem[] { newItem }; in rebuildWithRemoteInputInserted()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DBgDataModel.java219 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() argument
220 addItem(context, item, newItem, null); in addItem()
224 Context context, ItemInfo item, boolean newItem, @Nullable LoaderMemoryLogger logger) { in addItem() argument
246 if (newItem) { in addItem()
264 if (newItem && item.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in addItem()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DPreviewItemManager.java373 for (WorkspaceItemInfo newItem : newItems) {
374 if (!oldItems.contains(newItem) && !newItem.equals(dropped)) {
375 moveIn.add(newItem);
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
H A 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
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A DWalletCardCarousel.java440 WalletCardViewInfo newItem = newData.get(i); in isUiEquivalent() local
441 if (!oldItem.isUiEquivalent(newItem)) { in isUiEquivalent()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DSelectFromListWizardFragment.java330 public boolean areContentsTheSame(ListItem oldItem, ListItem newItem) { in VerticalListAdapter()
331 return comparator.compare(oldItem, newItem) == 0; in VerticalListAdapter()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerService.java776 static <T> void addOrderedItem(ArrayList<T> array, T newItem, Comparator<T> comparator) {
777 int where = Collections.binarySearch(array, newItem, comparator);
781 array.add(where, newItem);
/aosp12/packages/apps/TV/libs/
H A Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java3799 HistoryItem newItem = new HistoryItem(); in addHistoryBufferLocked() local
3800 newItem.setTo(cur); in addHistoryBufferLocked()
3802 addHistoryBufferLocked(elapsedRealtimeMs, HistoryItem.CMD_UPDATE, newItem); in addHistoryBufferLocked()