/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/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/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/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | WirelessDebuggingFragment.java | 221 FingerprintAndPairDevice[] newList = mAdbManager.getPairedDevices(); in updatePreferenceState() local 223 for (FingerprintAndPairDevice pair : newList) { in updatePreferenceState() 307 private void updatePairedDevicePreferences(Map<String, PairDevice> newList) { in updatePairedDevicePreferences() argument 308 if (newList == null) { in updatePairedDevicePreferences() 316 if (!newList.containsKey(p.getKey())) { in updatePairedDevicePreferences() 320 p.setPairedDevice(newList.get(p.getKey())); in updatePairedDevicePreferences() 326 newList.entrySet()) { in updatePairedDevicePreferences()
|
/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 | 201 ArrayList<GroupTask> newList = new ArrayList<>(taskGroups.size() + 1); in applyLoadPlan() local 202 newList.addAll(taskGroups); in applyLoadPlan() 203 newList.add(new GroupTask(mHomeTask, null, null)); in applyLoadPlan() 204 taskGroups = newList; in applyLoadPlan()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/ |
D | DataSourcesViewModel.kt | 233 fun setEditedPriorityList(newList: List<AppMetadata>) { in <lambda>() 234 _editedPriorityList.value = newList in <lambda>() 237 fun setEditedPotentialAppSources(newList: List<AppMetadata>) { in <lambda>() 238 _editedPotentialAppSources.value = newList in <lambda>()
|
/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/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>()
|
D | ReorderAppCardTouchHelper.kt | 89 fun setAppCards(newList: MutableList<AppCardContainer>, from: Optional<Int>, to: Optional<Int>) in onRowMoved()
|
/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/ |
D | HealthPermissionTypesViewModel.kt | 96 fun setEditedPriorityList(newList: List<AppMetadata>) { in setEditedPriorityList() 97 _editedPriorityList.postValue(newList) in setEditedPriorityList()
|
/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/apps/Settings/src/com/android/settings/localepicker/ |
D | LocaleDragAndDropAdapter.java | 315 final Locale[] newList = new Locale[count]; in doTheUpdate() local 319 newList[i] = li.getLocale(); in doTheUpdate() 322 final LocaleList ll = new LocaleList(newList); in doTheUpdate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | LinkedNode.java | 68 public static <T extends LinkedNode> List<T> newList() { in newList() method in LinkedNode
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AlphabeticalAppsList.java | 471 MyDiffCallback(List<AdapterItem> oldList, List<AdapterItem> newList) { in MyDiffCallback() argument 473 mNewList = newList; in MyDiffCallback()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
D | PeopleAndOptionsFragment.java | 253 public void updateParticipants(final List<ParticipantData> newList) { in updateParticipants() argument 255 addAll(newList); in updateParticipants()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStub.java | 598 SparseArray<ConfigDeclaration> result, SparseArray<ConfigDeclaration> newList) { in combineConfigDeclarations() argument 599 for (int i = 0; i < newList.size(); i++) { in combineConfigDeclarations() 600 result.put(newList.keyAt(i), newList.valueAt(i)); in combineConfigDeclarations()
|