Back to Fresco

CloseableAnimatedImage

docs/javadoc/reference/com/facebook/imagepipeline/image/CloseableAnimatedImage.html

3.6.016.8 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Enums

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public class

CloseableAnimatedImage

extends CloseableImage

| java.lang.Object | | ↳ | com.facebook.imagepipeline.image.CloseableImage | | | ↳ | com.facebook.imagepipeline.image.CloseableAnimatedImage |

Class Overview

Encapsulates the data needed in order for AnimatedDrawable to render a AnimatedImage.

Summary

Public Constructors
Public Methods
void
Closes this instance and releases the resources.
synchronized int
synchronized AnimatedImage
synchronized AnimatedImageResult
synchronized int
synchronized int
synchronized boolean
Returns whether this instance is closed.
boolean
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

| abstract void | close() Closes this instance and releases the resources. | | void | finalize() Ensures that the underlying resources are always properly released. | | Map<String, Object> | getExtras() | | QualityInfo | getQualityInfo() Returns quality information for the image. | | abstract int | getSizeInBytes() | | abstract 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). | | void | setImageExtras(Map<String, Object> extras) Sets extras that match mImageExtrasList to this image from supplied extras |

| | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface com.facebook.imagepipeline.image.HasImageMetadata

| abstract Map<String, Object> | getExtras() |

| | From interface com.facebook.imagepipeline.image.ImageInfo

| abstract int | getHeight() | | abstract QualityInfo | getQualityInfo() | | abstract int | getWidth() |

| | From interface java.io.Closeable

| abstract void | close() |

| | From interface java.lang.AutoCloseable

| abstract void | close() |

|

Public Constructors

public CloseableAnimatedImage(AnimatedImageResult imageResult)

public CloseableAnimatedImage(AnimatedImageResult imageResult, boolean isStateful)

Public Methods

public void close()

Closes this instance and releases the resources.

public synchronized int getHeight()

public synchronized AnimatedImage getImage()

public synchronized AnimatedImageResult getImageResult()

public synchronized int getSizeInBytes()

Returns
  • size in bytes of the bitmap(s)

public synchronized int getWidth()

public synchronized boolean isClosed()

Returns whether this instance is closed.

public 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). This means that the image should not be stored in the bitmap cache.

+Generated by Doclava. +