/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ThumbnailLoadTask.java | 70 final Uri thumbnailUri = attachment.thumbnailUri; in setupThumbnailPreview() local 76 if ((thumbnailUri != null || contentUri != null) in setupThumbnailPreview() 81 task.execute(thumbnailUri, contentUri); in setupThumbnailPreview() 82 } else if (thumbnailUri == null && contentUri == null) { in setupThumbnailPreview() 105 private Bitmap loadBitmap(final Uri thumbnailUri) { in loadBitmap() argument 106 if (thumbnailUri == null) { in loadBitmap() 111 final int orientation = getOrientation(thumbnailUri); in loadBitmap() 115 fd = mHolder.getResolver().openAssetFileDescriptor(thumbnailUri, "r"); in loadBitmap() 150 LogUtils.i(LOG_TAG, "Unable to decode thumbnail %s: %s %s", thumbnailUri, in loadBitmap() 165 private int getOrientation(final Uri thumbnailUri) { in getOrientation() argument [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Attachment.java | 138 public Uri thumbnailUri; field in Attachment 191 thumbnailUri = in.readParcelable(null); in Attachment() 214 thumbnailUri = parseOptionalUri( in Attachment() 235 thumbnailUri = parseOptionalUri(srcJson, AttachmentColumns.THUMBNAIL_URI); in Attachment() 267 thumbnailUri = uri; in Attachment() 315 thumbnailUri = parseOptionalUri(values.getAsString(AttachmentColumns.THUMBNAIL_URI)); in Attachment() 341 values.put(AttachmentColumns.THUMBNAIL_URI, thumbnailUri.toString()); in toContentValues() 364 dest.writeParcelable(thumbnailUri, flags); in writeToParcel() 384 result.put(AttachmentColumns.THUMBNAIL_URI, stringify(thumbnailUri)); in toJSON() 506 uri = thumbnailUri; in getUriForRendition() [all …]
|
D | EmlAttachmentProvider.java | 269 .add(attachment.thumbnailUri) // thumbnailUri in addRow()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterpriseContactsCursorWrapper.java | 170 final String thumbnailUri = originalCursor.getString(thumbnailUriIndex); in getCorpThumbnailUri() local 171 if (thumbnailUri == null) { in getCorpThumbnailUri() 176 final int uriCode = sUriMatcher.match(Uri.parse(thumbnailUri)); in getCorpThumbnailUri()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 350 public Builder setThumbnailUri(String thumbnailUri) { in setThumbnailUri() argument 351 mThumbnailUri = thumbnailUri; in setThumbnailUri() 516 String thumbnailUri, boolean searchable, Uri dataUri, long dataBytes, in RecordedProgram() argument 542 mThumbnailUri = thumbnailUri; in RecordedProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsContent.java | 257 private Builder setThumbnailUri(String thumbnailUri) { in setThumbnailUri() argument 258 mThumbnailUri = thumbnailUri; in setThumbnailUri()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleNotifications.java | 559 final Uri thumbnailUri = getThumbnailUri(avatarUri); in getDisplayPhotoUri() local 560 if (thumbnailUri == null) { in getDisplayPhotoUri() 563 final List<String> originalPaths = thumbnailUri.getPathSegments(); in getDisplayPhotoUri() 576 return thumbnailUri.buildUpon().path(newPathBuilder.toString()).build(); in getDisplayPhotoUri()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | Program.java | 763 public Builder setThumbnailUri(String thumbnailUri) { in setThumbnailUri() argument 764 mProgram.mThumbnailUri = thumbnailUri; in setThumbnailUri()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | AttachmentsView.java | 268 attachment.thumbnailUri = contentUri; in generateLocalAttachment()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 7544 String thumbnailUri = getStoredValue( in testPhotoUriForDisplayPhoto() local 7547 assertFalse(photoUri.equals(thumbnailUri)); in testPhotoUriForDisplayPhoto() 7566 String thumbnailUri = getStoredValue( in testPhotoUriForThumbnailPhoto() local 7569 assertEquals(photoUri, thumbnailUri); in testPhotoUriForThumbnailPhoto() 7608 String thumbnailUri = getStoredValue( in testWriteNewPhotoToAssetFile() local 7611 assertFalse(TextUtils.isEmpty(thumbnailUri)); in testWriteNewPhotoToAssetFile() 7612 assertNotSame(photoUri, thumbnailUri); in testWriteNewPhotoToAssetFile() 7620 mResolver.openInputStream(Uri.parse(thumbnailUri))); in testWriteNewPhotoToAssetFile() 7854 String thumbnailUri = getStoredValue(contactUri, Contacts.PHOTO_THUMBNAIL_URI); in testOverwritePhotoWithThumbnail() local 7855 assertEquals(photoUri, thumbnailUri); in testOverwritePhotoWithThumbnail()
|