Home
last modified time | relevance | path

Searched refs:toRemove (Results 1 – 14 of 14) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.java354 final RingtoneHolder toRemove = (RingtoneHolder) items.get(mIndexOfRingtoneToRemove); in onContextItemSelected() local
359 final boolean hasPermissions = toRemove.hasPermissions(); in onContextItemSelected()
360 ConfirmRemoveCustomRingtoneDialogFragment.show(manager, toRemove.getUri(), hasPermissions); in onContextItemSelected()
427 private void removeCustomRingtone(Uri toRemove) { in removeCustomRingtone() argument
428 new RemoveCustomRingtoneTask(toRemove).execute(); in removeCustomRingtone()
440 static void show(FragmentManager manager, Uri toRemove, boolean hasPermissions) { in show() argument
446 args.putParcelable(ARG_RINGTONE_URI_TO_REMOVE, toRemove); in show()
458 final Uri toRemove = arguments.getParcelable(ARG_RINGTONE_URI_TO_REMOVE); in onCreateDialog() local
464 ((RingtonePickerActivity) getActivity()).removeCustomRingtone(toRemove); in onCreateDialog()
654 final RingtoneHolder toRemove = getRingtoneHolder(mRemoveUri); in onPostExecute() local
[all …]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DScheduledProgramReaper.java44 List<ScheduledRecording> toRemove = new ArrayList<>(); in run() local
52 toRemove.add(r); in run()
57 toRemove.add(r); in run()
60 if (!toRemove.isEmpty()) { in run()
61 mDvrDataManager.removeScheduledRecording(ScheduledRecording.toArray(toRemove)); in run()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java237 final Set<Preference> toRemove = new HashSet<>(existingCount); in updateWifiList() local
239 toRemove.add(mWifiNetworksCategory.getPreference(i)); in updateWifiList()
253 toRemove.remove(pref); in updateWifiList()
268 for (final Preference preference : toRemove) { in updateWifiList()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java97 List<Long> toRemove = new ArrayList<>(); in closeOlderImages() local
101 toRemove.add(imageTimestamp); in closeOlderImages()
104 for (Long timestamp : toRemove) { in closeOlderImages()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailAsyncTask.java86 final ArrayList<EmailAsyncTask<?, ?, ?>> toRemove = in cancelOthers() local
91 toRemove.add(task); in cancelOthers()
94 for (EmailAsyncTask<?, ?, ?> task : toRemove) { in cancelOthers()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DReservableTicketPool.java381 List<Waiter> toRemove = new ArrayList<>(); in abortWaitersOnCapacityDecrease() local
384 toRemove.add(waiter); in abortWaitersOnCapacityDecrease()
387 for (Waiter waiter : toRemove) { in abortWaitersOnCapacityDecrease()
/packages/apps/Settings/src/com/android/settings/notification/
DAppNotificationSettings.java255 List<Preference> toRemove = new ArrayList<>(); in onGroupBlockStateChanged() local
260 toRemove.add(pref); in onGroupBlockStateChanged()
263 for (Preference pref : toRemove) { in onGroupBlockStateChanged()
/packages/apps/TV/src/com/android/tv/dvr/
DBaseDvrDataManager.java311 List<SeriesRecording> toRemove = new ArrayList<>(); in checkAndRemoveEmptySeriesRecording() local
315 toRemove.add(seriesRecording); in checkAndRemoveEmptySeriesRecording()
318 removeSeriesRecording(SeriesRecording.toArray(toRemove)); in checkAndRemoveEmptySeriesRecording()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DAppNotificationSettings.java254 List<Preference> toRemove = new ArrayList<>(); in onGroupBlockStateChanged() local
259 toRemove.add(pref); in onGroupBlockStateChanged()
262 for (Preference pref : toRemove) { in onGroupBlockStateChanged()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java136 private void removeCall(Call toRemove) { in removeCall() argument
137 mCalls.remove(toRemove); in removeCall()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java151 DbEntry toRemove = items.get(items.size() / 2);
155 if (entry.weight < toRemove.weight) {
156 toRemove = entry;
160 mEntryToRemove.add(toRemove.id);
161 items.remove(toRemove);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java400 ArrayList<ListItem> toRemove = new ArrayList<ListItem>();
404 toRemove.add(oldItem);
407 for (ListItem item : toRemove) {
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationUpdater.java157 Folder toRemove, boolean isDestructive, boolean isBatch, in getDeferredRemoveFolder() argument
DAbstractActivityController.java3932 Folder toRemove, boolean isDestructive, boolean isBatch,
3935 folderOps.add(new FolderOperation(toRemove, false));