Home
last modified time | relevance | path

Searched refs:thumbnailUri (Results 1 – 15 of 15) 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/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java204 Uri thumbnailUri = getThumbnailUri(movie.getId()); in loadData() local
205 if (thumbnailUri != null) { in loadData()
206 return movie.setThumbnailUri(thumbnailUri); in loadData()
216 Uri thumbnailUri = getThumbnailUri(episode.getId()); in loadData() local
217 if (thumbnailUri != null) { in loadData()
218 return episode.setThumbnailUri(thumbnailUri); in loadData()
270 Uri thumbnailUri = getThumbnailUri(other.getId()); in loadData() local
271 if (thumbnailUri != null) { in loadData()
272 updated |= other.setThumbnailUri(thumbnailUri); in loadData()
284 Uri thumbnailUri = null; in getThumbnailUri() local
[all …]
DEpisode.java65 public boolean setThumbnailUri(@NonNull Uri thumbnailUri) { in setThumbnailUri() argument
66 if (thumbnailUri.equals(mThumbnailUri)) { in setThumbnailUri()
69 mThumbnailUri = thumbnailUri; in setThumbnailUri()
DOther.java127 public boolean setThumbnailUri(@NonNull Uri thumbnailUri) { in setThumbnailUri() argument
128 if (thumbnailUri.equals(mThumbnailUri)) { in setThumbnailUri()
131 mThumbnailUri = thumbnailUri; in setThumbnailUri()
DMovie.java73 public boolean setThumbnailUri(@NonNull Uri thumbnailUri) { in setThumbnailUri() argument
74 if (thumbnailUri.equals(mThumbnailUri)) { in setThumbnailUri()
77 mThumbnailUri = thumbnailUri; in setThumbnailUri()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java138 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 …]
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/ThemePicker/src/com/android/customization/model/clock/
DContentProviderClockProvider.java110 String thumbnailUri = c.getString(c.getColumnIndex(COL_THUMBNAIL)); in doInBackground() local
112 Uri thumbnail = Uri.parse(thumbnailUri); in doInBackground()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContent.java291 private Builder setThumbnailUri(String thumbnailUri) { in setThumbnailUri() argument
292 mThumbnailUri = thumbnailUri; in setThumbnailUri()
/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.java850 public Builder setThumbnailUri(String thumbnailUri) { in setThumbnailUri() argument
851 mProgram.mThumbnailUri = thumbnailUri; in setThumbnailUri()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAttachmentsView.java268 attachment.thumbnailUri = contentUri; in generateLocalAttachment()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java292 public abstract Builder setThumbnailUri(String thumbnailUri); in setThumbnailUri() argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java7425 String thumbnailUri = getStoredValue( in testPhotoUriForDisplayPhoto() local
7428 assertFalse(photoUri.equals(thumbnailUri)); in testPhotoUriForDisplayPhoto()
7447 String thumbnailUri = getStoredValue( in testPhotoUriForThumbnailPhoto() local
7450 assertEquals(photoUri, thumbnailUri); in testPhotoUriForThumbnailPhoto()
7489 String thumbnailUri = getStoredValue( in testWriteNewPhotoToAssetFile() local
7492 assertFalse(TextUtils.isEmpty(thumbnailUri)); in testWriteNewPhotoToAssetFile()
7493 assertNotSame(photoUri, thumbnailUri); in testWriteNewPhotoToAssetFile()
7501 mResolver.openInputStream(Uri.parse(thumbnailUri))); in testWriteNewPhotoToAssetFile()
7735 String thumbnailUri = getStoredValue(contactUri, Contacts.PHOTO_THUMBNAIL_URI); in testOverwritePhotoWithThumbnail() local
7736 assertEquals(photoUri, thumbnailUri); in testOverwritePhotoWithThumbnail()