/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequestDescriptor.java | 67 this(ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE, in ImageRequestDescriptor() 68 ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE, false, false, 0, 0); in ImageRequestDescriptor() 73 ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE, false, false, 0, 0); in ImageRequestDescriptor() 80 Assert.isTrue(desiredWidth == ImageRequest.UNSPECIFIED_SIZE || desiredWidth > 0); in ImageRequestDescriptor() 81 Assert.isTrue(desiredHeight == ImageRequest.UNSPECIFIED_SIZE || desiredHeight > 0); in ImageRequestDescriptor() 82 Assert.isTrue(sourceWidth == ImageRequest.UNSPECIFIED_SIZE || sourceWidth > 0); in ImageRequestDescriptor() 83 Assert.isTrue(sourceHeight == ImageRequest.UNSPECIFIED_SIZE || sourceHeight > 0); in ImageRequestDescriptor()
|
D | MessagePartVideoThumbnailRequestDescriptor.java | 26 super(messagePart, ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE, false); in MessagePartVideoThumbnailRequestDescriptor() 30 super(null, uri, ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE, in MessagePartVideoThumbnailRequestDescriptor() 31 ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE, false); in MessagePartVideoThumbnailRequestDescriptor()
|
D | UriImageRequestDescriptor.java | 28 this(uri, UriImageRequest.UNSPECIFIED_SIZE, UriImageRequest.UNSPECIFIED_SIZE, false, false, in UriImageRequestDescriptor() 47 this(uri, desiredWidth, desiredHeight, UriImageRequest.UNSPECIFIED_SIZE, in UriImageRequestDescriptor() 48 UriImageRequest.UNSPECIFIED_SIZE, allowCompression, isStatic, cropToCircle, in UriImageRequestDescriptor()
|
D | ImageRequest.java | 44 public static final int UNSPECIFIED_SIZE = MessagePartData.UNSPECIFIED_SIZE; field in ImageRequest 138 final boolean unknownSize = mDescriptor.sourceWidth == UNSPECIFIED_SIZE || in loadBitmapInternal() 139 mDescriptor.sourceHeight == UNSPECIFIED_SIZE; in loadBitmapInternal()
|
D | MessagePartImageRequestDescriptor.java | 58 updatedWidth != MessagePartData.UNSPECIFIED_SIZE && in updateSourceDimensions() 59 updatedHeight != MessagePartData.UNSPECIFIED_SIZE && in updateSourceDimensions()
|
D | FileImageRequestDescriptor.java | 38 this(path, desiredWidth, desiredHeight, FileImageRequest.UNSPECIFIED_SIZE, in FileImageRequestDescriptor() 39 FileImageRequest.UNSPECIFIED_SIZE, canUseThumbnail, canCompress, isStatic); in FileImageRequestDescriptor()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | VideoThumbnailView.java | 85 mVideoWidth = ImageRequest.UNSPECIFIED_SIZE; in VideoThumbnailView() 86 mVideoHeight = ImageRequest.UNSPECIFIED_SIZE; in VideoThumbnailView() 162 R.styleable.VideoThumbnailView_android_maxHeight, ImageRequest.UNSPECIFIED_SIZE); in VideoThumbnailView() 163 if (maxHeight != ImageRequest.UNSPECIFIED_SIZE) { in VideoThumbnailView() 203 return mVideoWidth != ImageRequest.UNSPECIFIED_SIZE && in hasVideoSize() 204 mVideoHeight != ImageRequest.UNSPECIFIED_SIZE; in hasVideoSize() 227 mVideoWidth = ImageRequest.UNSPECIFIED_SIZE; in setSource() 228 mVideoHeight = ImageRequest.UNSPECIFIED_SIZE; in setSource() 248 mVideoWidth = ImageRequest.UNSPECIFIED_SIZE; in setSource() 249 mVideoHeight = ImageRequest.UNSPECIFIED_SIZE; in setSource() [all …]
|
D | AttachmentPreviewFactory.java | 178 maxWidth = ImageRequest.UNSPECIFIED_SIZE; in createImagePreview() 181 maxHeight = ImageRequest.UNSPECIFIED_SIZE; in createImagePreview() 201 layoutParams.width = attachmentData.getWidth() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview() 203 layoutParams.height = attachmentData.getHeight() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview()
|
D | AsyncImageView.java | 166 if (descriptor.sourceWidth != ImageRequest.UNSPECIFIED_SIZE && in maybeSetupPlaceholderDrawable() 167 descriptor.sourceHeight != ImageRequest.UNSPECIFIED_SIZE) { in maybeSetupPlaceholderDrawable()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 54 public static final int UNSPECIFIED_SIZE = MessagingContentProvider.UNSPECIFIED_SIZE; field in MessagePartData 119 this(null, null, UNSPECIFIED_SIZE, UNSPECIFIED_SIZE); in MessagePartData() 126 this(null, messageText, ContentType.TEXT_PLAIN, null, UNSPECIFIED_SIZE, UNSPECIFIED_SIZE, in MessagePartData() 255 if (mWidth != UNSPECIFIED_SIZE) { in populate() 258 if (mHeight != UNSPECIFIED_SIZE) { in populate() 473 if (imageSize.width() != ImageRequest.UNSPECIFIED_SIZE && in decodeAndSaveSizeIfImage() 474 imageSize.height() != ImageRequest.UNSPECIFIED_SIZE) { in decodeAndSaveSizeIfImage()
|
D | GalleryGridItemData.java | 95 sourceWidth = ImageRequest.UNSPECIFIED_SIZE; in bind() 98 sourceHeight = ImageRequest.UNSPECIFIED_SIZE; in bind()
|
D | PendingAttachmentData.java | 70 return createPendingAttachmentData(null, contentType, sourceUri, UNSPECIFIED_SIZE, in createPendingAttachmentData() 71 UNSPECIFIED_SIZE); in createPendingAttachmentData()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 199 final boolean checkHeight = reqHeight != ImageRequest.UNSPECIFIED_SIZE; in calculateInSampleSize() 200 final boolean checkWidth = reqWidth != ImageRequest.UNSPECIFIED_SIZE; in calculateInSampleSize() 565 if (mWidth == MessagingContentProvider.UNSPECIFIED_SIZE || in ensureImageSizeSet() 566 mHeight == MessagingContentProvider.UNSPECIFIED_SIZE) { in ensureImageSizeSet() 909 return new Rect(0, 0, ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE); in decodeImageBounds()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | ImageRequestTest.java | 64 Matchers.eq(ImageRequest.UNSPECIFIED_SIZE), in testLoadImageUnspecifiedSize() 65 Matchers.eq(ImageRequest.UNSPECIFIED_SIZE)); in testLoadImageUnspecifiedSize()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 563 MessagePartData.UNSPECIFIED_SIZE, in updateMessageAttachments() 572 MessagePartData.UNSPECIFIED_SIZE, true /* allowCompression */, in updateMessageAttachments() 996 if (imageAttachment.getWidth() == MessagePartData.UNSPECIFIED_SIZE || in adjustImageViewBounds() 997 imageAttachment.getHeight() == MessagePartData.UNSPECIFIED_SIZE) { in adjustImageViewBounds()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseHelper.java | 353 + MessagingContentProvider.UNSPECIFIED_SIZE + ")," 355 + MessagingContentProvider.UNSPECIFIED_SIZE + "),"
|
D | MessagingContentProvider.java | 144 public static final int UNSPECIFIED_SIZE = -1; field in MessagingContentProvider
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 876 int width = ImageRequest.UNSPECIFIED_SIZE; in stopVideo() 877 int height = ImageRequest.UNSPECIFIED_SIZE; in stopVideo()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 1756 part.getDataUri(), MessagePartData.UNSPECIFIED_SIZE, in createMmsMessagePart() 1757 MessagePartData.UNSPECIFIED_SIZE); in createMmsMessagePart()
|