java.lang.Object | ||
↳ | com.facebook.imagepipeline.image.CloseableImage | |
↳ | com.facebook.imagepipeline.image.CloseableAnimatedImage |
Encapsulates the data needed in order for AnimatedDrawable
to render a AnimatedImage
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CloseableAnimatedImage(AnimatedImageResult imageResult) | |||||||||||
CloseableAnimatedImage(AnimatedImageResult imageResult, boolean isStateful) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
close()
Closes this instance and releases the resources.
| ||||||||||
synchronized int | getHeight() | ||||||||||
synchronized AnimatedImage | getImage() | ||||||||||
synchronized AnimatedImageResult | getImageResult() | ||||||||||
synchronized int | getSizeInBytes() | ||||||||||
synchronized int | getWidth() | ||||||||||
synchronized boolean |
isClosed()
Returns whether this instance is closed.
| ||||||||||
boolean |
isStateful()
Whether or not this image contains state for a particular view of the image (for example, the
image for an animated GIF might contain the current frame being viewed).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.facebook.imagepipeline.image.CloseableImage
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imagepipeline.image.HasImageMetadata
| |||||||||||
From interface
com.facebook.imagepipeline.image.ImageInfo
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
java.lang.AutoCloseable
|
Closes this instance and releases the resources.
Returns whether this instance is closed.
Whether or not this image contains state for a particular view of the image (for example, the image for an animated GIF might contain the current frame being viewed). This means that the image should not be stored in the bitmap cache.