/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/ |
D | ManageApplicationsController.java | 125 final List<PreferenceCompat> newList = new ArrayList<>(apps.size() + 1); in updateAppList() local 128 newList.add(mCallback.createAppPreference(entry)); in updateAppList() 130 newList.add(new PreferenceCompat(HEADER_KEY)); in updateAppList() 131 if (newList.size() == 1) { in updateAppList() 132 newList.add(mCallback.getEmptyPreference()); in updateAppList() 134 mUIUpdateCallback.notifyUpdateAll(mStateIdentifier, newList); in updateAppList()
|
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/ |
D | QCListTest.java | 50 QCList newList = writeAndLoadFromBundle(list); in createFromParcel_accurateData() local 51 assertThat(newList.getType()).isEqualTo(QC_TYPE_LIST); in createFromParcel_accurateData() 52 assertThat(newList.getRows().size()).isEqualTo(1); in createFromParcel_accurateData()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | WirelessDebuggingFragment.java | 320 FingerprintAndPairDevice[] newList = mAdbManager.getPairedDevices(); in onEnabled() local 322 for (FingerprintAndPairDevice pair : 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/ |
D | ManageApplicationsController.java | 136 final List<Preference> newList = new ArrayList<>(apps.size() + 1); in updateAppList() local 144 newList.add(mCallback.bindPreference(recycle, entry)); in updateAppList() 153 if (newList.size() > 0) { in updateAppList() 154 for (Preference prefToAdd : newList) { in updateAppList()
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | LocalePickerBaseListPreferenceController.java | 121 public void onSearchListChanged(@NonNull List<LocaleStore.LocaleInfo> newList, in onSearchListChanged() argument 129 newList = getSortedSuggestedLocaleFromSearchList(newList, sortedList); in onSearchListChanged() 131 newList = getSortedSuggestedRegionFromSearchList(prefix, newList, sortedList); in onSearchListChanged() 133 setupPreference(newList, existingPreferences); in onSearchListChanged()
|
D | AppLocaleSuggestedListPreferenceController.java | 122 public void onSearchListChanged(@NonNull List<LocaleStore.LocaleInfo> newList, in onSearchListChanged() argument 132 newList = LocaleUtils.getSortedLocaleFromSearchList(newList, sortedList, mIsCountryMode); in onSearchListChanged() 133 setupSuggestedPreference(newList, existingSuggestedPreferences); in onSearchListChanged()
|
D | AppLocaleAllListPreferenceController.java | 135 public void onSearchListChanged(@NonNull List<LocaleStore.LocaleInfo> newList, in onSearchListChanged() argument 141 newList = LocaleUtils.getSortedLocaleFromSearchList(newList, sortedList, mIsCountryMode); in onSearchListChanged() 142 setupSupportedPreference(newList, existingSupportedPreferences); in onSearchListChanged()
|
D | RegionAndNumberingSystemPickerFragment.java | 206 List<LocaleStore.LocaleInfo> newList = new ArrayList<>(mOriginalLocaleInfos); in performFiltering() local 207 newList.addAll(mSystemLocaleAllListPreferenceController.getSuggestedLocaleList()); in performFiltering() 210 final int count = newList.size(); in performFiltering() 213 final LocaleStore.LocaleInfo value = newList.get(i); in performFiltering()
|
D | LocaleDragAndDropAdapter.java | 321 final Locale[] newList = new Locale[count]; in doTheUpdate() local 325 newList[i] = li.getLocale(); in doTheUpdate() 328 final LocaleList ll = new LocaleList(newList); in doTheUpdate()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationDiff.java | 51 @NonNull List<NotificationGroup> newList) { in CarNotificationDiff() argument 52 this(context, oldList, newList, ContentLimitingAdapter.UNLIMITED); in CarNotificationDiff() 56 @NonNull List<NotificationGroup> newList, int maxItems) { in CarNotificationDiff() argument 59 mNewList = newList; in CarNotificationDiff()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfilesBasePreferenceController.java | 112 List<Preference> newList) { in profileListsAreDifferent() argument 113 if (currentList.size() != newList.size()) { in profileListsAreDifferent() 119 if (preferencesAreDifferent(currentList.get(i), newList.get(i))) { in profileListsAreDifferent()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | WirelessDebuggingFragment.java | 222 FingerprintAndPairDevice[] newList = mAdbManager.getPairedDevices(); in updatePreferenceState() local 224 for (FingerprintAndPairDevice pair : newList) { in updatePreferenceState() 308 private void updatePairedDevicePreferences(Map<String, PairDevice> newList) { in updatePairedDevicePreferences() argument 309 if (newList == null) { in updatePairedDevicePreferences() 317 if (!newList.containsKey(p.getKey())) { in updatePairedDevicePreferences() 321 p.setPairedDevice(newList.get(p.getKey())); in updatePairedDevicePreferences() 327 newList.entrySet()) { in updatePairedDevicePreferences()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | LauncherItemDiffCallback.java | 31 public LauncherItemDiffCallback(List<LauncherItem> oldList, List<LauncherItem> newList) { in LauncherItemDiffCallback() argument 33 mNewList = newList; in LauncherItemDiffCallback()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | SearchResultDiffCallback.java | 33 List<? extends SearchResult> newList) { in SearchResultDiffCallback() argument 35 mNewList = newList; in SearchResultDiffCallback()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | SetupSourcesFragment.java | 257 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/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | JobSchedulerWrapper.java | 262 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/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | ThresholdGroup.java | 43 ArrayList<Threshold> newList = new ArrayList<>(ths); in alignGroupId() local 44 for (Threshold th : newList) { in alignGroupId() 47 return newList; in alignGroupId()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
D | FallbackRecentsView.java | 218 ArrayList<GroupTask> newList = new ArrayList<>(taskGroups.size() + 1); in applyLoadPlan() local 219 newList.addAll(taskGroups); in applyLoadPlan() 220 newList.add(new SingleTask(mHomeTask)); in applyLoadPlan() 221 taskGroups = newList; in applyLoadPlan()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ShortcutViewUtils.java | 332 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/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/ |
D | MediaBrowserWrapper.java | 180 ArrayList<GetFolderItemsCallback> newList = in getFolderItems() local 182 newList.add(callback); in getFolderItems() 183 mSubscribedIds.put(mediaId, newList); in getFolderItems()
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/reorder/ |
D | ReorderAppCardViewAdapter.kt | 98 newList: MutableList<AppCardContainer>, in <lambda>() 103 newList.forEach { in <lambda>()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | SimSelectorView.java | 137 public void bindData(final List<SubscriptionListEntry> newList) { in bindData() argument 139 addAll(newList); in bindData()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/viewmodel/ |
D | CategoriesViewModel.kt | 154 { oldList: List<CategoryModel>, newList: List<CategoryModel> -> in <lambda>() method 155 if (oldList.size != newList.size) { in <lambda>() 158 !oldList.containsAll(newList) in <lambda>()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | SettingsActivity.java | 125 public void setSettingsItems(final List<SettingsItem> newList) { in setSettingsItems() argument 127 addAll(newList); in setSettingsItems()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStub.java | 499 SparseArray<ConfigDeclaration> result, SparseArray<ConfigDeclaration> newList) { in combineConfigDeclarations() argument 500 for (int i = 0; i < newList.size(); i++) { in combineConfigDeclarations() 501 result.put(newList.keyAt(i), newList.valueAt(i)); in combineConfigDeclarations()
|