public class SkiaPooledImageRegionDecoder extends java.lang.Object implements ImageRegionDecoder
| Constructor and Description |
|---|
SkiaPooledImageRegionDecoder() |
SkiaPooledImageRegionDecoder(android.graphics.Bitmap.Config bitmapConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowAdditionalDecoder(int numberOfDecoders,
long fileLength) |
android.graphics.Bitmap |
decodeRegion(android.graphics.Rect sRect,
int sampleSize) |
android.graphics.Point |
init(android.content.Context context,
android.net.Uri uri) |
boolean |
isReady() |
void |
recycle() |
static void |
setDebug(boolean debug) |
public SkiaPooledImageRegionDecoder()
public SkiaPooledImageRegionDecoder(android.graphics.Bitmap.Config bitmapConfig)
public static void setDebug(boolean debug)
public android.graphics.Point init(android.content.Context context,
android.net.Uri uri)
throws java.lang.Exception
init in interface ImageRegionDecoderjava.lang.Exceptionpublic android.graphics.Bitmap decodeRegion(android.graphics.Rect sRect,
int sampleSize)
decodeRegion in interface ImageRegionDecoderpublic boolean isReady()
isReady in interface ImageRegionDecoderpublic void recycle()
recycle in interface ImageRegionDecoderprotected boolean allowAdditionalDecoder(int numberOfDecoders,
long fileLength)