-
- 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.HasImageMetadata,com.facebook.imagepipeline.image.ImageInfo,java.io.Closeable,java.lang.AutoCloseable
public interface CloseableStaticBitmap implements CloseableBitmap
-
-
Method Summary
Modifier and Type Method Description abstract CloseableReference<Bitmap>cloneUnderlyingBitmapReference()abstract intgetExifOrientation()abstract intgetRotationAngle()abstract CloseableReference<Bitmap>convertToBitmapReference()static CloseableStaticBitmapof(Bitmap bitmap, ResourceReleaser<Bitmap> resourceReleaser, QualityInfo qualityInfo, int rotationAngle)Creates a new instance of a CloseableStaticBitmap. static CloseableStaticBitmapof(CloseableReference<Bitmap> bitmapReference, QualityInfo qualityInfo, int rotationAngle)Creates a new instance of a CloseableStaticBitmap from an existing CloseableReference. static CloseableStaticBitmapof(Bitmap bitmap, ResourceReleaser<Bitmap> resourceReleaser, QualityInfo qualityInfo, int rotationAngle, int orientation)Creates a new instance of a CloseableStaticBitmap from an existing CloseableReference. static CloseableStaticBitmapof(CloseableReference<Bitmap> bitmapReference, QualityInfo qualityInfo, int rotationAngle, int exifOrientation)Creates a new instance of a CloseableStaticBitmap from an existing CloseableReference. -
Methods inherited from class com.facebook.imagepipeline.image.CloseableBitmap
getUnderlyingBitmap -
Methods inherited from class com.facebook.imagepipeline.image.CloseableImage
close, getHeight, getImageInfo, getQualityInfo, getSizeInBytes, getWidth, isClosed, isStateful -
Methods inherited from class java.io.Closeable
close -
Methods inherited from class com.facebook.imagepipeline.image.HasImageMetadata
getExtras -
Methods inherited from class com.facebook.fresco.middleware.HasExtraData
getExtra, getExtras, putExtra, putExtras -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
cloneUnderlyingBitmapReference
abstract CloseableReference<Bitmap> cloneUnderlyingBitmapReference()
-
getExifOrientation
abstract int getExifOrientation()
-
getRotationAngle
abstract int getRotationAngle()
-
convertToBitmapReference
abstract CloseableReference<Bitmap> convertToBitmapReference()
-
of
static CloseableStaticBitmap of(Bitmap bitmap, ResourceReleaser<Bitmap> resourceReleaser, QualityInfo qualityInfo, int rotationAngle)
Creates a new instance of a CloseableStaticBitmap.
- Parameters:
bitmap- the bitmap to wrapresourceReleaser- ResourceReleaser to release the bitmap to
-
of
static CloseableStaticBitmap of(CloseableReference<Bitmap> bitmapReference, QualityInfo qualityInfo, int rotationAngle)
Creates a new instance of a CloseableStaticBitmap from an existing CloseableReference. TheCloseableStaticBitmap will hold a reference to the Bitmap until it's closed.
- Parameters:
bitmapReference- the bitmap reference.
-
of
static CloseableStaticBitmap of(Bitmap bitmap, ResourceReleaser<Bitmap> resourceReleaser, QualityInfo qualityInfo, int rotationAngle, int orientation)
Creates a new instance of a CloseableStaticBitmap from an existing CloseableReference. TheCloseableStaticBitmap will hold a reference to the Bitmap until it's closed.
- Parameters:
bitmap- the bitmap to wrapresourceReleaser- ResourceReleaser to release the bitmap to
-
of
static CloseableStaticBitmap of(CloseableReference<Bitmap> bitmapReference, QualityInfo qualityInfo, int rotationAngle, int exifOrientation)
Creates a new instance of a CloseableStaticBitmap from an existing CloseableReference. TheCloseableStaticBitmap will hold a reference to the Bitmap until it's closed.
- Parameters:
bitmapReference- the bitmap reference.
-
-
-
-