Home
last modified time | relevance | path

Searched refs:isGif (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DImageRequest.java112 if (!mDescriptor.isStatic() && isGif()) { in loadMediaInternal()
128 protected boolean isGif() throws FileNotFoundException { in isGif() method in ImageRequest
129 return ImageUtils.isGif(getInputStreamForResource()); in isGif()
DNetworkUriImageRequest.java54 protected boolean isGif() throws FileNotFoundException { in isGif() method in NetworkUriImageRequest
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java109 return isGif() || isAnimatedWebp(); in isGifOrAnimatedWebp()
112 public boolean isGif() { in isGif() method in Item
195 if (isGif() || isAnimatedWebp()) { in getContentDescription()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java297 public static boolean isGif(String contentType, Uri contentUri) { in isGif() method in ImageUtils
306 return ImageUtils.isGif(inputStream); in isGif()
319 public static boolean isGif(InputStream inputStream) { in isGif() method in ImageUtils
474 return ImageUtils.isGif(mContentType, mUri) ? resizeGifImage() : resizeStaticImage(); in resize()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/
DItemTest.java173 assertThat(gifItem.isGif()).isTrue(); in testIsGifOrAnimatedWebp()
186 assertThat(animatedWebpItem.isGif()).isFalse(); in testIsGifOrAnimatedWebp()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DImageLoader.java121 if (item.isGif()) { in loadImagePreview()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java343 final boolean isGif = ImageUtils.isGif(contentType, part.getContentUri()); in makePduBody()
344 contentType = isGif ? ContentType.IMAGE_GIF : contentType; in makePduBody()
345 srcName = String.format(isGif ? "image%06d.gif" : "image%06d.jpg", index); in makePduBody()
686 final String contentTypeOfResizedImage = ImageUtils.isGif(contentType, imageUri) in getResizedImageAsPart()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java503 if (ImageUtils.isGif(mContentType, mContentUri)) { in getMinimumSizeInBytesForSending()