@Implements(value=android.graphics.ImageDecoder.class, isInAndroidSdk=false, minSdk=28) public class ShadowImageDecoder extends java.lang.Object
Constructor and Description |
---|
ShadowImageDecoder() |
Modifier and Type | Method and Description |
---|---|
protected static void |
nClose(long nativePtr) |
protected static android.graphics.ImageDecoder |
nCreate(byte[] data,
int offset,
int length,
android.graphics.ImageDecoder.Source src) |
protected static android.graphics.ImageDecoder |
nCreate(java.nio.ByteBuffer buffer,
int position,
int limit,
android.graphics.ImageDecoder.Source src) |
protected static android.graphics.ImageDecoder |
nCreate(java.io.FileDescriptor fd,
android.graphics.ImageDecoder.Source src) |
protected static android.graphics.ImageDecoder |
nCreate(java.io.InputStream is,
byte[] storage,
android.graphics.ImageDecoder.Source source) |
protected static android.graphics.ImageDecoder |
nCreate(long asset,
android.graphics.ImageDecoder.Source source) |
protected static android.graphics.Bitmap |
nDecodeBitmap(long nativePtr,
android.graphics.ImageDecoder decoder,
boolean doPostProcess,
int width,
int height,
android.graphics.Rect cropRect,
boolean mutable,
int allocator,
boolean unpremulRequired,
boolean conserveMemory,
boolean decodeAsAlphaMask,
android.graphics.ColorSpace desiredColorSpace) |
protected static android.graphics.ColorSpace |
nGetColorSpace(long nativePtr) |
protected static java.lang.String |
nGetMimeType(long nativePtr) |
protected static void |
nGetPadding(long nativePtr,
android.graphics.Rect outRect) |
protected static android.util.Size |
nGetSampledSize(long nativePtr,
int sampleSize) |
@Implementation protected static android.graphics.ImageDecoder nCreate(long asset, android.graphics.ImageDecoder.Source source) throws java.io.IOException
java.io.IOException
@Implementation protected static android.graphics.ImageDecoder nCreate(java.nio.ByteBuffer buffer, int position, int limit, android.graphics.ImageDecoder.Source src) throws java.io.IOException
java.io.IOException
@Implementation protected static android.graphics.ImageDecoder nCreate(byte[] data, int offset, int length, android.graphics.ImageDecoder.Source src) throws java.io.IOException
java.io.IOException
@Implementation protected static android.graphics.ImageDecoder nCreate(java.io.InputStream is, byte[] storage, android.graphics.ImageDecoder.Source source)
@Implementation protected static android.graphics.ImageDecoder nCreate(java.io.FileDescriptor fd, android.graphics.ImageDecoder.Source src) throws java.io.IOException
java.io.IOException
@Implementation protected static android.graphics.Bitmap nDecodeBitmap(long nativePtr, android.graphics.ImageDecoder decoder, boolean doPostProcess, int width, int height, android.graphics.Rect cropRect, boolean mutable, int allocator, boolean unpremulRequired, boolean conserveMemory, boolean decodeAsAlphaMask, android.graphics.ColorSpace desiredColorSpace) throws java.io.IOException
java.io.IOException
@Implementation protected static android.util.Size nGetSampledSize(long nativePtr, int sampleSize)
@Implementation protected static void nGetPadding(long nativePtr, android.graphics.Rect outRect)
@Implementation protected static void nClose(long nativePtr)
@Implementation protected static java.lang.String nGetMimeType(long nativePtr)
@Implementation protected static android.graphics.ColorSpace nGetColorSpace(long nativePtr)