Home
last modified time | relevance | path

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

/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/data/
DMessagePartData.java44 import com.android.messaging.util.UriUtil;
242 mContentUri = UriUtil.uriFromString(cursor.getString(INDEX_CONTENT_URI)); in bind()
253 values.put(PartColumns.CONTENT_URI, UriUtil.stringFromUri(mContentUri)); in populate()
365 mContentUri = UriUtil.uriFromString(in.readString()); in MessagePartData()
376 dest.writeString(UriUtil.stringFromUri(mContentUri)); in writeToParcel()
504 final long originalImageSize = UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending()
515 return UriUtil.getContentSize(mContentUri); in getMinimumSizeInBytesForSending()
DGalleryGridItemData.java32 import com.android.messaging.util.UriUtil;
87 mAudioUri = UriUtil.getUriForResourceFile(filePath); in bind()
DPendingAttachmentData.java27 import com.android.messaging.util.UriUtil;
108 final Uri persistedUri = UriUtil.persistContentToScratchSpace(contentUri); in loadAttachmentForDraft()
/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;
26 super(UriUtil.getContentUriForMediaStoreId(id), 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.java40 import com.android.messaging.util.UriUtil;
92 if (UriUtil.isFileUri(contentUri)) { in onAttachFragment()
136 if (UriUtil.isFileUri(uri)) { 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.java45 public class UriUtil { class
211 if (UriUtil.isLocalResourceUri(sourceUri)) { in persistContentToScratchSpace()
268 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/datamodel/
DNoConfirmationSmsSendService.java34 import com.android.messaging.util.UriUtil;
87 final String recipients = UriUtil.parseRecipientsFromSmsMmsUri(intent.getData()); in onHandleIntent()
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;
1315 .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()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DLaunchConversationActivity.java36 import com.android.messaging.util.UriUtil;
66 UriUtil.parseRecipientsFromSmsMmsUri(intent.getData()); in onCreate()
DComposeMessageView.java73 import com.android.messaging.util.UriUtil;
652 totalSize += UriUtil.getContentSize(attachment.getContentUri()); in doInBackgroundTimed()
DConversationFragment.java107 import com.android.messaging.util.UriUtil;
1351 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;
271 Uri.parse(UriUtil.SCHEME_TEL + phoneNumber)); in launchPhoneCallActivity()