Searched refs:toDelete (Results 1 – 5 of 5) sorted by relevance
68 final ArrayList<Instance> toDelete = new ArrayList<Instance>(); in removeInstances() local77 toDelete.add(instance); in removeInstances()80 instances.removeAll(toDelete); in removeInstances()
2702 int toDelete = spanEnd; in removeChip() local2709 while (toDelete >= 0 && toDelete < text.length() && text.charAt(toDelete) == ' ') { in removeChip()2710 toDelete++; in removeChip()2713 if (spanStart >= 0 && toDelete > 0) { in removeChip()2714 text.delete(spanStart, toDelete); in removeChip()2866 DrawableRecipientChip toDelete = repl[0]; in onTextChanged() local2869 int deleteStart = editable.getSpanStart(toDelete); in onTextChanged()2870 int deleteEnd = editable.getSpanEnd(toDelete) + 1; in onTextChanged()2875 mRecipientChipDeletedListener.onRecipientChipDeleted(toDelete.getEntry()); in onTextChanged()2877 editable.removeSpan(toDelete); in onTextChanged()
292 final int toDelete = mSortedStatFiles[i].size() - MAX_FILES_PER_INTERVAL_TYPE[i]; in indexFilesLocked() local293 if (toDelete > 0) { in indexFilesLocked()294 for (int j = 0; j < toDelete; j++) { in indexFilesLocked()298 Slog.d(TAG, "Deleted " + toDelete + " stat files for interval " + i); in indexFilesLocked()
359 ArraySet<String> toDelete = new ArraySet<>(); in cleanUpRemovedUsersLocked() local366 toDelete.addAll(Arrays.asList(fileNames)); in cleanUpRemovedUsersLocked()371 toDelete.remove(Integer.toString(userInfo.id)); in cleanUpRemovedUsersLocked()374 final int deleteCount = toDelete.size(); in cleanUpRemovedUsersLocked()376 deleteRecursively(new File(mUsageStatsDir, toDelete.valueAt(i))); in cleanUpRemovedUsersLocked()
977 File toDelete = createNewFileNonZero(copiedDir, deletedFile.getName()); in testCopyObjectSuccessRecursive() local979 Assert.assertTrue(toDelete.delete()); in testCopyObjectSuccessRecursive()