Home
last modified time | relevance | path

Searched refs:isGif (Results 1 – 5 of 5) 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/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/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()