/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 132 public SaveImage(Context context, Uri sourceUri, Uri selectedImageUri, in SaveImage() argument 135 mSourceUri = sourceUri; in SaveImage() 147 public static File getFinalSaveDirectory(Context context, Uri sourceUri) { in getFinalSaveDirectory() argument 148 File saveDirectory = SaveImage.getSaveDirectory(context, sourceUri); in getFinalSaveDirectory() 159 public static File getNewFile(Context context, Uri sourceUri) { in getNewFile() argument 160 File saveDirectory = getFinalSaveDirectory(context, sourceUri); in getNewFile() 163 if (hasPanoPrefix(context, sourceUri)) { in getNewFile() 527 public static Uri makeAndInsertUri(Context context, Uri sourceUri) { in makeAndInsertUri() argument 530 File saveDirectory = getFinalSaveDirectory(context, sourceUri); in makeAndInsertUri() 532 return linkNewFileToUri(context, sourceUri, file, time, false); in makeAndInsertUri() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ImportVCardActivity.java | 245 for (Uri sourceUri : mSourceUris) { in run() 255 request = constructImportRequest(null, sourceUri, sourceDisplayName); in run() 416 private String getDisplayName(Uri sourceUri) { in getDisplayName() argument 417 if (sourceUri == null) { in getDisplayName() 426 cursor = resolver.query(sourceUri, in getDisplayName() 445 displayName = sourceUri.getLastPathSegment(); in getDisplayName() 453 private Uri copyTo(final Uri sourceUri, String filename) throws IOException { in copyTo() argument 455 sourceUri, filename)); in copyTo() 462 inputChannel = Channels.newChannel(resolver.openInputStream(sourceUri)); in copyTo() 498 private String readUriToLocalFile(Uri sourceUri) { in readUriToLocalFile() argument [all …]
|
D | ImportVCardDialogFragment.java | 40 void onImportVCardConfirmed(Uri sourceUri, String sourceDisplayName); in onImportVCardConfirmed() argument 47 public static void show(Activity activity, Uri sourceUri, in show() argument 55 args.putParcelable(ARG_SOURCE_URI, sourceUri); in show() 65 final Uri sourceUri = getArguments().getParcelable(ARG_SOURCE_URI); in onCreateDialog() local 76 listener.onImportVCardConfirmed(sourceUri, sourceDisplayName); in onCreateDialog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImageSavingTask.java | 33 Uri sourceUri; field in ImageSavingTask.SaveRequest 67 public void saveImage(Uri sourceUri, Uri selectedUri, in saveImage() argument 72 request.sourceUri = sourceUri; in saveImage() 86 Uri sourceUri = request.sourceUri; in doInBackground() local 96 updateBitmap.bitmap = createNotificationBitmap(previewImage, sourceUri, preset); in doInBackground() 98 SaveImage saveImage = new SaveImage(mProcessingService, sourceUri, in doInBackground() 148 private Bitmap createNotificationBitmap(Bitmap preview, Uri sourceUri, ImagePreset preset) { in createNotificationBitmap() argument 155 Bitmap bitmap = ImageLoader.loadConstrainedBitmap(sourceUri, getContext(), in createNotificationBitmap()
|
D | ProcessingService.java | 203 Uri sourceUri = Uri.parse(source); in onStartCommand() local 216 handleSaveRequest(sourceUri, selectedUri, destinationFile, preset, in onStartCommand() 235 public void handleSaveRequest(Uri sourceUri, Uri selectedUri, in handleSaveRequest() argument 253 mImageSavingTask.saveImage(sourceUri, selectedUri, destinationFile, in handleSaveRequest()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | PendingAttachmentData.java | 58 @NonNull final Uri sourceUri, final int width, final int height, in PendingAttachmentData() argument 60 super(caption, contentType, sourceUri, width, height, onlySingleAttachment); in PendingAttachmentData() 69 final Uri sourceUri) { in createPendingAttachmentData() argument 70 return createPendingAttachmentData(null, contentType, sourceUri, UNSPECIFIED_SIZE, in createPendingAttachmentData() 75 final String contentType, final Uri sourceUri, final int width, final int height) { in createPendingAttachmentData() argument 77 return new PendingAttachmentData(caption, contentType, sourceUri, width, height, in createPendingAttachmentData() 82 final String contentType, final Uri sourceUri, final int width, final int height, in createPendingAttachmentData() argument 85 return new PendingAttachmentData(caption, contentType, sourceUri, width, height, in createPendingAttachmentData()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VoicemailsQueryHelper.java | 55 private Uri sourceUri; field in VoicemailsQueryHelper 60 sourceUri = VoicemailContract.Voicemails.buildSourceUri(this.context.getPackageName()); in VoicemailsQueryHelper() 91 Cursor cursor = contentResolver.query(sourceUri, PROJECTION, selection, null, null); in getLocalVoicemails() 157 Uri uri = ContentUris.withAppendedId(sourceUri, voicemail.getId()); in markReadInDatabase() 182 Uri uri = ContentUris.withAppendedId(sourceUri, voicemail.getId()); in markCleanInDatabase() 189 Uri uri = ContentUris.withAppendedId(sourceUri, voicemail.getId()); in updateWithTranscription() 222 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique() 250 Uri uri = ContentUris.withAppendedId(sourceUri, voicemail.getId()); in markArchiveInDatabase() 265 contentResolver.query(sourceUri, PROJECTION, ARCHIVED_SELECTION, null, sortAndLimit)) { in oldestVoicemailsOnServer()
|
D | VoicemailStatusQueryHelper.java | 44 private Uri sourceUri; field in VoicemailStatusQueryHelper 49 sourceUri = VoicemailContract.Status.buildSourceUri(this.context.getPackageName()); in VoicemailStatusQueryHelper() 101 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | ArchivesProviderTest.java | 93 final Uri sourceUri = DocumentsContract.buildDocumentUri( in testOpen_Success() local 95 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testOpen_Success() 145 final Uri sourceUri = DocumentsContract.buildDocumentUri( in testOpen_Failure() local 147 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testOpen_Failure() 198 final Uri sourceUri = DocumentsContract.buildDocumentUri( in testOpen_ClosesOnRelease() local 200 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testOpen_ClosesOnRelease() 241 final Uri sourceUri = DocumentsContract.buildDocumentUri( in testNoNotificationAfterAllReleased() local 243 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testNoNotificationAfterAllReleased() 278 final Uri sourceUri = DocumentsContract.buildDocumentUri( in getDocumentMetadata_byDocumentId_shouldMatchSize() local 280 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in getDocumentMetadata_byDocumentId_shouldMatchSize()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 207 public static Uri persistContentToScratchSpace(final Uri sourceUri) { in persistContentToScratchSpace() argument 211 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContentToScratchSpace() 212 inputStream = context.getContentResolver().openInputStream(sourceUri); in persistContentToScratchSpace() 215 final URL url = new URL(sourceUri.toString()); in persistContentToScratchSpace() 264 final Uri sourceUri, final File outputDir, final String contentType) { in persistContent() argument 268 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContent() 269 inputStream = context.getContentResolver().openInputStream(sourceUri); in persistContent() 272 final URL url = new URL(sourceUri.toString()); in persistContent()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportInfoActivity.java | 261 Uri sourceUri = BugStorageProvider.buildUriWithSegment( in copyFilesToUsb() local 264 new File(mBugReport.getFilePath()).getName(), sourceUri, parentDocumentUri); in copyFilesToUsb() 314 private void copyFileToUsb(String filename, Uri sourceUri, Uri parentDocumentUri) in copyFileToUsb() argument 316 String mimeType = mResolver.getType(sourceUri); in copyFileToUsb() 322 try (InputStream input = mResolver.openInputStream(sourceUri); in copyFileToUsb()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | ImageLoader.java | 440 public static Bitmap loadBitmapWithBackouts(Context context, Uri sourceUri, int sampleSize) { in loadBitmapWithBackouts() argument 450 bmap = loadDownsampledBitmap(context, sourceUri, sampleSize); in loadBitmapWithBackouts() 469 public static Bitmap loadOrientedBitmapWithBackouts(Context context, Uri sourceUri, in loadOrientedBitmapWithBackouts() argument 471 Bitmap bitmap = loadBitmapWithBackouts(context, sourceUri, sampleSize); in loadOrientedBitmapWithBackouts() 475 int orientation = getMetadataOrientation(context, sourceUri); in loadOrientedBitmapWithBackouts()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 321 private void startBitmapIO(int flags, Bitmap currentBitmap, Uri sourceUri, Uri destUri, in startBitmapIO() argument 339 BitmapIOTask ioTask = new BitmapIOTask(sourceUri, destUri, format, flags, cropBounds, in startBitmapIO() 384 public BitmapIOTask(Uri sourceUri, Uri destUri, String outputFormat, int flags, in BitmapIOTask() argument 390 mInUri = sourceUri; in BitmapIOTask()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
D | ExportDialog.java | 159 Uri sourceUri = PrimaryImage.getImage().getUri(); in onClick() local 163 .getImage().getPreset(), dest, activity.getSelectedImageUri(), sourceUri, in onClick()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 876 Uri sourceUri = source.derivedUri; in isRecursiveCopy() local 886 try (ParcelFileDescriptor sourceFd = cr.openFile(sourceUri, "r", null)) { in isRecursiveCopy() 908 "Preventing copy from %s to %s", sourceUri, targetUri)); in isRecursiveCopy() 920 " for source %s and target %s", sourceUri, targetUri), t); in isRecursiveCopy()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 403 void fetchLookupAndId(final Uri sourceUri, final long expectedContactId, in fetchLookupAndId() argument 405 mContactsProvider.expectQuery(sourceUri) in fetchLookupAndId()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 975 final Uri sourceUri = sourceIsShadow ? Calls.SHADOW_CONTENT_URI : Calls.CONTENT_URI; in syncEntriesFrom() local 979 final Uri uri = ContentProvider.maybeAddUserId(sourceUri, sourceUserId); in syncEntriesFrom()
|