-
- All Implemented Interfaces:
-
com.facebook.common.references.HasBitmap,com.facebook.fresco.middleware.HasExtraData,com.facebook.imagepipeline.image.CloseableImage,com.facebook.imagepipeline.image.HasImageMetadata,com.facebook.imagepipeline.image.ImageInfo,java.io.Closeable,java.lang.AutoCloseable
public class CloseableAnimatedImage extends DefaultCloseableImageEncapsulates the data needed in order for
{@code AnimatedDrawable}to render a{@code * AnimatedImage}.
-
-
Constructor Summary
Constructors Constructor Description CloseableAnimatedImage(AnimatedImageResult imageResult)CloseableAnimatedImage(AnimatedImageResult imageResult, boolean isStateful)
-
Method Summary
Modifier and Type Method Description synchronized intgetWidth()synchronized intgetHeight()voidclose()synchronized booleanisClosed()synchronized intgetSizeInBytes()booleanisStateful()synchronized AnimatedImageResultgetImageResult()synchronized AnimatedImagegetImage()-
Methods inherited from class com.facebook.imagepipeline.image.BaseCloseableImage
getExtra, getExtras, getImageInfo, getQualityInfo, isStateful, putExtra, putExtras -
Methods inherited from class com.facebook.imagepipeline.image.CloseableImage
close, getHeight, getSizeInBytes, getWidth, isClosed -
Methods inherited from class com.facebook.fresco.middleware.HasExtraData
getExtra -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CloseableAnimatedImage
CloseableAnimatedImage(AnimatedImageResult imageResult)
-
CloseableAnimatedImage
CloseableAnimatedImage(AnimatedImageResult imageResult, boolean isStateful)
-
-
Method Detail
-
getWidth
synchronized int getWidth()
-
getHeight
synchronized int getHeight()
-
close
void close()
-
isClosed
synchronized boolean isClosed()
-
getSizeInBytes
synchronized int getSizeInBytes()
-
isStateful
boolean isStateful()
-
getImageResult
@Nullable() synchronized AnimatedImageResult getImageResult()
-
getImage
@Nullable() synchronized AnimatedImage getImage()
-
-
-
-