Home
last modified time | relevance | path

Searched refs:UriUtil (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java44 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()
DPendingAttachmentData.java27 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/
DGalleryGridItemViewTest.java31 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/
DAvatarRequest.java35 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()
DVideoThumbnailRequestDescriptor.java21 import com.android.messaging.util.UriUtil;
27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in VideoThumbnailRequestDescriptor()
DFileImageRequestDescriptor.java21 import com.android.messaging.util.UriUtil;
49 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in FileImageRequestDescriptor()
DAvatarRequestDescriptor.java25 import com.android.messaging.util.UriUtil;
46 Assert.isTrue(uri == null || UriUtil.isLocalResourceUri(uri) || in AvatarRequestDescriptor()
DUriImageRequestDescriptor.java21 import com.android.messaging.util.UriUtil;
84 if (uri == null || UriUtil.isLocalUri(uri)) { in buildSyncMediaRequest()
DVCardRequest.java27 import com.android.messaging.util.UriUtil;
270 avatarUri = UriUtil.persistContentToScratchSpace(inputStream); in onEntryCreated()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java38 import com.android.messaging.util.UriUtil;
79 if (UriUtil.isFileUri(contentUri)) { in onAttachFragment()
122 if (UriUtil.isFileUri(imageUri)) { in onAttachFragment()
DConversationListItemView.java60 import com.android.messaging.util.UriUtil;
479 previewImageUri = UriUtil.getUriForResourceId( in bind()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java44 public class UriUtil { class
198 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContentToScratchSpace()
255 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContent()
DAvatarUriUtil.java137 Assert.isTrue(UriUtil.isLocalResourceUri(uri) || AvatarUriUtil.isAvatarUri(uri)); in joinAvatarUriToGroup()
173 if (UriUtil.isLocalResourceUri(profilePhotoUri)) { in createAvatarUri()
DImageUtils.java229 if (UriUtil.isMediaStoreUri(uri)) { in getContentType()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DLaunchConversationActivity.java36 import com.android.messaging.util.UriUtil;
64 String[] recipients = UriUtil.parseRecipientsFromSmsMmsUri(intent.getData()); in onCreate()
DConversationFragment.java106 import com.android.messaging.util.UriUtil;
1341 attachment.persistedUri = UriUtil.persistContent(attachment.uri, in doInBackgroundTimed()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailFragment.java45 import com.android.messaging.util.UriUtil;
147 UriUtil.persistContentToScratchSpace(vCardUri); in onOptionsItemSelected()
DAttachmentPreviewFactory.java49 import com.android.messaging.util.UriUtil;
132 final String filePath = UriUtil.getFilePathFromUri(uri); in getImageRequestDescriptorForAttachment()
DUIIntentsImpl.java71 import com.android.messaging.util.UriUtil;
258 Uri.parse(UriUtil.SCHEME_TEL + phoneNumber)); in launchPhoneCallActivity()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java82 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()
DMessageNotificationState.java59 import com.android.messaging.util.UriUtil;
1310 .setSound(UriUtil.getUriForResourceId(context, R.raw.message_failure)); in checkFailedMessages()
DBugleDatabaseOperations.java50 import com.android.messaging.util.UriUtil;
1104 !UriUtil.isBugleAppResource(messagePartData.getContentUri())) { in readMessagePartsData()