Home
last modified time | relevance | path

Searched refs:thumbnailUri (Results 1 – 9 of 9) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DThumbnailLoadTask.java70 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/
DAttachment.java138 public Uri thumbnailUri; field in Attachment
183 thumbnailUri = in.readParcelable(null); in Attachment()
205 thumbnailUri = parseOptionalUri( in Attachment()
225 thumbnailUri = parseOptionalUri(srcJson, AttachmentColumns.THUMBNAIL_URI); in Attachment()
251 thumbnailUri = uri; in Attachment()
298 thumbnailUri = parseOptionalUri(values.getAsString(AttachmentColumns.THUMBNAIL_URI)); in Attachment()
323 values.put(AttachmentColumns.THUMBNAIL_URI, thumbnailUri.toString()); in toContentValues()
345 dest.writeParcelable(thumbnailUri, flags); in writeToParcel()
364 result.put(AttachmentColumns.THUMBNAIL_URI, stringify(thumbnailUri)); in toJSON()
485 uri = thumbnailUri; in getUriForRendition()
[all …]
DEmlAttachmentProvider.java269 .add(attachment.thumbnailUri) // thumbnailUri in addRow()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterpriseContactsCursorWrapper.java170 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/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java559 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/
DProgram.java439 public Builder setThumbnailUri(String thumbnailUri) { in setThumbnailUri() argument
440 mProgram.mThumbnailUri = thumbnailUri; in setThumbnailUri()
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordedProgram.java328 public Builder setThumbnail(String thumbnailUri) { in setThumbnail() argument
329 return setThumbnail(toUri(thumbnailUri)); in setThumbnail()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAttachmentsView.java233 attachment.thumbnailUri = contentUri; in generateLocalAttachment()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java7438 String thumbnailUri = getStoredValue( in testPhotoUriForDisplayPhoto() local
7441 assertFalse(photoUri.equals(thumbnailUri)); in testPhotoUriForDisplayPhoto()
7460 String thumbnailUri = getStoredValue( in testPhotoUriForThumbnailPhoto() local
7463 assertEquals(photoUri, thumbnailUri); in testPhotoUriForThumbnailPhoto()
7502 String thumbnailUri = getStoredValue( in testWriteNewPhotoToAssetFile() local
7505 assertFalse(TextUtils.isEmpty(thumbnailUri)); in testWriteNewPhotoToAssetFile()
7506 assertNotSame(photoUri, thumbnailUri); in testWriteNewPhotoToAssetFile()
7514 mResolver.openInputStream(Uri.parse(thumbnailUri))); in testWriteNewPhotoToAssetFile()
7748 String thumbnailUri = getStoredValue(contactUri, Contacts.PHOTO_THUMBNAIL_URI); in testOverwritePhotoWithThumbnail() local
7749 assertEquals(photoUri, thumbnailUri); in testOverwritePhotoWithThumbnail()