Home
last modified time | relevance | path

Searched refs:UNSPECIFIED_SIZE (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DImageRequestDescriptor.java67 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()
DMessagePartVideoThumbnailRequestDescriptor.java26 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()
DUriImageRequestDescriptor.java28 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()
DImageRequest.java44 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()
DFileImageRequestDescriptor.java38 this(path, desiredWidth, desiredHeight, FileImageRequest.UNSPECIFIED_SIZE, in FileImageRequestDescriptor()
39 FileImageRequest.UNSPECIFIED_SIZE, canUseThumbnail, canCompress, isStatic); in FileImageRequestDescriptor()
DMessagePartImageRequestDescriptor.java58 updatedWidth != MessagePartData.UNSPECIFIED_SIZE && in updateSourceDimensions()
59 updatedHeight != MessagePartData.UNSPECIFIED_SIZE && in updateSourceDimensions()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java85 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 …]
DAttachmentPreviewFactory.java178 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()
DAsyncImageView.java166 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/
DMessagePartData.java54 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()
DPendingAttachmentData.java70 return createPendingAttachmentData(null, contentType, sourceUri, UNSPECIFIED_SIZE, in createPendingAttachmentData()
71 UNSPECIFIED_SIZE); in createPendingAttachmentData()
DGalleryGridItemData.java95 sourceWidth = ImageRequest.UNSPECIFIED_SIZE; in bind()
98 sourceHeight = ImageRequest.UNSPECIFIED_SIZE; in bind()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java199 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/
DImageRequestTest.java64 Matchers.eq(ImageRequest.UNSPECIFIED_SIZE), in testLoadImageUnspecifiedSize()
65 Matchers.eq(ImageRequest.UNSPECIFIED_SIZE)); in testLoadImageUnspecifiedSize()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java563 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/
DDatabaseHelper.java353 + MessagingContentProvider.UNSPECIFIED_SIZE + "),"
355 + MessagingContentProvider.UNSPECIFIED_SIZE + "),"
DMessagingContentProvider.java144 public static final int UNSPECIFIED_SIZE = -1; field in MessagingContentProvider
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java876 int width = ImageRequest.UNSPECIFIED_SIZE; in stopVideo()
877 int height = ImageRequest.UNSPECIFIED_SIZE; in stopVideo()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java1756 part.getDataUri(), MessagePartData.UNSPECIFIED_SIZE, in createMmsMessagePart()
1757 MessagePartData.UNSPECIFIED_SIZE); in createMmsMessagePart()