/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 44 import com.android.messaging.util.UriUtil; 229 mContentUri = UriUtil.uriFromString(cursor.getString(INDEX_CONTENT_URI)); in bind() 240 values.put(PartColumns.CONTENT_URI, UriUtil.stringFromUri(mContentUri)); in populate() 347 mContentUri = UriUtil.uriFromString(in.readString()); in MessagePartData() 358 dest.writeString(UriUtil.stringFromUri(mContentUri)); in writeToParcel() 486 final long originalImageSize = UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending() 498 return UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending() 500 final int mediaDurationMs = UriUtil.getMediaDurationMs(mContentUri); in getMinimumSizeInBytesForSending() 505 return UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending()
|
D | PendingAttachmentData.java | 27 import com.android.messaging.util.UriUtil; 108 final Uri persistedUri = UriUtil.persistContentToScratchSpace(contentUri); in loadAttachmentForDraft()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 31 import com.android.messaging.util.UriUtil; 82 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBind() 95 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBindMultiSelectUnSelected() 108 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBindMultiSelectSelected() 137 verifyContent(view, UriUtil.getUriForResourceFile(path).toString(), in testBindTwice()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | AvatarRequest.java | 35 import com.android.messaging.util.UriUtil; 53 if (UriUtil.isLocalResourceUri(mDescriptor.uri)) { in getInputStreamForResource() 57 Assert.isTrue(UriUtil.isLocalResourceUri(primaryUri)); in getInputStreamForResource() 76 final boolean isLocalResourceUri = UriUtil.isLocalResourceUri(mDescriptor.uri) || in loadMediaInternal()
|
D | VideoThumbnailRequestDescriptor.java | 21 import com.android.messaging.util.UriUtil; 27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in VideoThumbnailRequestDescriptor()
|
D | FileImageRequestDescriptor.java | 21 import com.android.messaging.util.UriUtil; 49 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in FileImageRequestDescriptor()
|
D | AvatarRequestDescriptor.java | 25 import com.android.messaging.util.UriUtil; 46 Assert.isTrue(uri == null || UriUtil.isLocalResourceUri(uri) || in AvatarRequestDescriptor()
|
D | UriImageRequestDescriptor.java | 21 import com.android.messaging.util.UriUtil; 84 if (uri == null || UriUtil.isLocalUri(uri)) { in buildSyncMediaRequest()
|
D | VCardRequest.java | 27 import com.android.messaging.util.UriUtil; 270 avatarUri = UriUtil.persistContentToScratchSpace(inputStream); in onEntryCreated()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ShareIntentActivity.java | 38 import com.android.messaging.util.UriUtil; 79 if (UriUtil.isFileUri(contentUri)) { in onAttachFragment() 122 if (UriUtil.isFileUri(imageUri)) { in onAttachFragment()
|
D | ConversationListItemView.java | 60 import com.android.messaging.util.UriUtil; 479 previewImageUri = UriUtil.getUriForResourceId( in bind()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 44 public class UriUtil { class 198 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContentToScratchSpace() 255 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContent()
|
D | AvatarUriUtil.java | 137 Assert.isTrue(UriUtil.isLocalResourceUri(uri) || AvatarUriUtil.isAvatarUri(uri)); in joinAvatarUriToGroup() 173 if (UriUtil.isLocalResourceUri(profilePhotoUri)) { in createAvatarUri()
|
D | ImageUtils.java | 229 if (UriUtil.isMediaStoreUri(uri)) { in getContentType()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | LaunchConversationActivity.java | 36 import com.android.messaging.util.UriUtil; 64 String[] recipients = UriUtil.parseRecipientsFromSmsMmsUri(intent.getData()); in onCreate()
|
D | ConversationFragment.java | 106 import com.android.messaging.util.UriUtil; 1341 attachment.persistedUri = UriUtil.persistContent(attachment.uri, in doInBackgroundTimed()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | VCardDetailFragment.java | 45 import com.android.messaging.util.UriUtil; 147 UriUtil.persistContentToScratchSpace(vCardUri); in onOptionsItemSelected()
|
D | AttachmentPreviewFactory.java | 49 import com.android.messaging.util.UriUtil; 132 final String filePath = UriUtil.getFilePathFromUri(uri); in getImageRequestDescriptorForAttachment()
|
D | UIIntentsImpl.java | 71 import com.android.messaging.util.UriUtil; 258 Uri.parse(UriUtil.SCHEME_TEL + phoneNumber)); in launchPhoneCallActivity()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleNotifications.java | 82 import com.android.messaging.util.UriUtil; 540 } else if (UriUtil.isLocalResourceUri(avatarUri)) { in getThumbnailUri() 1212 .setSound(UriUtil.getUriForResourceId(context, R.raw.message_failure)); in notifyEmergencySmsFailed()
|
D | MessageNotificationState.java | 59 import com.android.messaging.util.UriUtil; 1310 .setSound(UriUtil.getUriForResourceId(context, R.raw.message_failure)); in checkFailedMessages()
|
D | BugleDatabaseOperations.java | 50 import com.android.messaging.util.UriUtil; 1104 !UriUtil.isBugleAppResource(messagePartData.getContentUri())) { in readMessagePartsData()
|