Home
last modified time | relevance | path

Searched refs:ImageRequest (Results 1 – 16 of 16) 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()
DDecodedImageResource.java202 mOriginalImageRequest instanceof ImageRequest<?>) { in loadMediaBlocking()
204 ((ImageRequest<?>) mOriginalImageRequest).getDescriptor(); in loadMediaBlocking()
DImageRequest.java42 public abstract class ImageRequest<D extends ImageRequestDescriptor> class
53 public ImageRequest(final Context context, final D descriptor) { in ImageRequest() method in ImageRequest
DVideoThumbnailRequest.java33 public class VideoThumbnailRequest extends ImageRequest<UriImageRequestDescriptor> {
DUriImageRequest.java28 public class UriImageRequest<D extends UriImageRequestDescriptor> extends ImageRequest<D> {
DCompositeImageRequest.java41 extends ImageRequest<D> {
DNetworkUriImageRequest.java38 ImageRequest<D> {
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java34 import com.android.messaging.datamodel.media.ImageRequest;
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()
[all …]
DAttachmentPreviewFactory.java40 import com.android.messaging.datamodel.media.ImageRequest;
178 maxWidth = ImageRequest.UNSPECIFIED_SIZE; in createImagePreview()
181 maxHeight = ImageRequest.UNSPECIFIED_SIZE; in createImagePreview()
DAsyncImageView.java38 import com.android.messaging.datamodel.media.ImageRequest;
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/
DGalleryGridItemData.java27 import com.android.messaging.datamodel.media.ImageRequest;
95 sourceWidth = ImageRequest.UNSPECIFIED_SIZE; in bind()
98 sourceHeight = ImageRequest.UNSPECIFIED_SIZE; in bind()
DMessagePartData.java35 import com.android.messaging.datamodel.media.ImageRequest;
473 if (imageSize.width() != ImageRequest.UNSPECIFIED_SIZE && in decodeAndSaveSizeIfImage()
474 imageSize.height() != ImageRequest.UNSPECIFIED_SIZE) { in decodeAndSaveSizeIfImage()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java42 import com.android.messaging.datamodel.media.ImageRequest;
199 final boolean checkHeight = reqHeight != ImageRequest.UNSPECIFIED_SIZE; in calculateInSampleSize()
200 final boolean checkWidth = reqWidth != ImageRequest.UNSPECIFIED_SIZE; in calculateInSampleSize()
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/mediapicker/
DCameraManager.java43 import com.android.messaging.datamodel.media.ImageRequest;
876 int width = ImageRequest.UNSPECIFIED_SIZE; in stopVideo()
877 int height = ImageRequest.UNSPECIFIED_SIZE; in stopVideo()