Package 

Class BaseCloseableStaticBitmap

  • All Implemented Interfaces:
    com.facebook.common.references.HasBitmap , com.facebook.fresco.middleware.HasExtraData , com.facebook.imagepipeline.image.CloseableBitmap , com.facebook.imagepipeline.image.CloseableImage , com.facebook.imagepipeline.image.CloseableStaticBitmap , com.facebook.imagepipeline.image.HasImageMetadata , com.facebook.imagepipeline.image.ImageInfo , java.io.Closeable , java.lang.AutoCloseable

    @ThreadSafe() 
    public class BaseCloseableStaticBitmap
    extends BaseCloseableImage implements CloseableStaticBitmap
                        

    CloseableImage that contains one Bitmap.

    • Method Summary

      Modifier and Type Method Description
      void close() Releases the bitmap to the pool.
      synchronized CloseableReference<Bitmap> convertToBitmapReference() Convert this object to a CloseableReference<Bitmap>.
      synchronized CloseableReference<Bitmap> cloneUnderlyingBitmapReference() Get a cloned bitmap reference for the underlying original CloseableReference<Bitmap>.
      synchronized boolean isClosed() Returns whether this instance is closed.
      Bitmap getUnderlyingBitmap() Gets the underlying bitmap.
      int getSizeInBytes()
      int getWidth()
      int getHeight()
      int getRotationAngle()
      int getExifOrientation()
      QualityInfo getQualityInfo() Returns quality information for the image.
      static void setUseSimpleCloseableStaticBitmap(boolean useSimpleCloseableStaticBitmap)
      static boolean shouldUseSimpleCloseableStaticBitmap()
      • Methods inherited from class com.facebook.imagepipeline.image.BaseCloseableImage

        getExtra, getExtra, getExtras, getImageInfo, isStateful, putExtra, putExtras
      • Methods inherited from class java.io.Closeable

        close
      • Methods inherited from class com.facebook.fresco.middleware.HasExtraData

        getExtra, getExtras, putExtra, putExtras
      • Methods inherited from class com.facebook.imagepipeline.image.CloseableStaticBitmap

        of, of, of, of
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait