Home
last modified time | relevance | path

Searched refs:newList (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingFragment.java324 Map<String, PairDevice> newList = mAdbManager.getPairedDevices(); in onEnabled() local
325 updatePairedDevicePreferences(newList); in onEnabled()
355 private void updatePairedDevicePreferences(Map<String, PairDevice> newList) { in updatePairedDevicePreferences() argument
358 if (newList == null) { in updatePairedDevicePreferences()
366 for (Map.Entry<String, PairDevice> entry : newList.entrySet()) { in updatePairedDevicePreferences()
384 if (newList.get(entry.getKey()) == null) { in updatePairedDevicePreferences()
391 p.setPairedDevice(newList.get(entry.getKey())); in updatePairedDevicePreferences()
398 newList.entrySet()) { in updatePairedDevicePreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplicationsController.java125 final List<Preference> newList = new ArrayList<>(apps.size() + 1); in updateAppList() local
133 newList.add(mCallback.bindPreference(recycle, entry)); in updateAppList()
142 if (newList.size() > 0) { in updateAppList()
143 for (Preference prefToAdd : newList) { in updateAppList()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DFallbackRecentsView.java190 ArrayList<Task> newList = new ArrayList<>(tasks.size() + 1); in applyLoadPlan() local
191 newList.addAll(tasks); in applyLoadPlan()
192 newList.add(Task.from(new TaskKey(mRunningTaskInfo), mRunningTaskInfo, false)); in applyLoadPlan()
193 tasks = newList; in applyLoadPlan()
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java257 List<TvInputInfo> newList = new ArrayList<>(mInputs); in buildInputs() local
259 newList.remove(input); in buildInputs()
261 if (newList.size() > 0 && mSetupUtils.isNewInput(newList.get(0).getId())) { in buildInputs()
262 mNewlyAddedInputId = newList.get(0).getId(); in buildInputs()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersBasePreferenceController.java105 List<Preference> newList) { in userListsAreDifferent() argument
106 if (currentList.size() != newList.size()) { in userListsAreDifferent()
112 if (preferencesAreDifferent(currentList.get(i), newList.get(i))) { in userListsAreDifferent()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobSchedulerWrapper.java262 private synchronized List<JobInfo> newJobsSince(List<JobInfo> oldList, List<JobInfo> newList) { in newJobsSince() argument
263 return findDiffBetween(newList, oldList); in newJobsSince()
267 List<JobInfo> oldList, List<JobInfo> newList) { in completedJobsSince() argument
269 List<JobInfo> completedJobsList = findDiffBetween(oldList, newList); in completedJobsSince()
/packages/services/Telephony/src/com/android/phone/
DShortcutViewUtils.java332 List<EmergencyNumber> newList = new ArrayList<>(emergencyNumberList.size()); in removeCarrierSpecificPrefixes() local
357 if (!newList.contains(newNumber)) { in removeCarrierSpecificPrefixes()
358 newList.add(newNumber); in removeCarrierSpecificPrefixes()
361 return newList; in removeCarrierSpecificPrefixes()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultDiffCallback.java33 List<? extends SearchResult> newList) { in SearchResultDiffCallback() argument
35 mNewList = newList; in SearchResultDiffCallback()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleDragAndDropAdapter.java262 final Locale[] newList = new Locale[count]; in doTheUpdate() local
266 newList[i] = li.getLocale(); in doTheUpdate()
269 final LocaleList ll = new LocaleList(newList); in doTheUpdate()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java262 final Locale[] newList = new Locale[count]; in doTheUpdate() local
266 newList[i] = li.getLocale(); in doTheUpdate()
269 final LocaleList ll = new LocaleList(newList); in doTheUpdate()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DSimSelectorView.java137 public void bindData(final List<SubscriptionListEntry> newList) { in bindData() argument
139 addAll(newList); in bindData()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java49 List<NotificationGroup> newList) { in CarNotificationDiff() argument
52 mNewList = newList; in CarNotificationDiff()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DSettingsActivity.java125 public void setSettingsItems(final List<SettingsItem> newList) { in setSettingsItems() argument
127 addAll(newList); in setSettingsItems()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java65 ArrayList<MediaSession.QueueItem> newList = new ArrayList<MediaSession.QueueItem>(); in getQueueFromDescriptions() local
68 newList.add( in getQueueFromDescriptions()
73 return newList; in getQueueFromDescriptions()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleAndOptionsFragment.java253 public void updateParticipants(final List<ParticipantData> newList) { in updateParticipants() argument
255 addAll(newList); in updateParticipants()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DLinkedNode.java68 public static <T extends LinkedNode> List<T> newList() { in newList() method in LinkedNode
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java2973 HashMap<Long, BluetoothMapConvoListingElement> newList = in refreshSmsMmsConvoVersions() local
3017 newList.put(id, convoElement); in refreshSmsMmsConvoVersions()
3023 setSmsMmsConvoList(newList); in refreshSmsMmsConvoVersions()
3070 HashMap<Long, BluetoothMapConvoListingElement> newList = in refreshImEmailConvoVersions() local
3120 newList.put(id, convoElement); in refreshImEmailConvoVersions()
3126 setImEmailConvoList(newList); in refreshImEmailConvoVersions()