@Implements(value=android.graphics.BitmapFactory.class) public class ShadowBitmapFactory extends java.lang.Object
Constructor and Description |
---|
ShadowBitmapFactory() |
Modifier and Type | Method and Description |
---|---|
static android.graphics.Bitmap |
create(java.lang.String name,
android.graphics.BitmapFactory.Options options) |
static android.graphics.Bitmap |
create(java.lang.String name,
android.graphics.BitmapFactory.Options options,
android.graphics.Point widthAndHeight) |
protected static android.graphics.Bitmap |
decodeByteArray(byte[] data,
int offset,
int length) |
protected static android.graphics.Bitmap |
decodeByteArray(byte[] data,
int offset,
int length,
android.graphics.BitmapFactory.Options opts) |
protected static android.graphics.Bitmap |
decodeFile(java.lang.String pathName) |
protected static android.graphics.Bitmap |
decodeFile(java.lang.String pathName,
android.graphics.BitmapFactory.Options options) |
protected static android.graphics.Bitmap |
decodeFileDescriptor(java.io.FileDescriptor fd,
android.graphics.Rect outPadding,
android.graphics.BitmapFactory.Options opts) |
protected static android.graphics.Bitmap |
decodeResource(android.content.res.Resources res,
int id,
android.graphics.BitmapFactory.Options options) |
protected static android.graphics.Bitmap |
decodeResourceStream(android.content.res.Resources res,
android.util.TypedValue value,
java.io.InputStream is,
android.graphics.Rect pad,
android.graphics.BitmapFactory.Options opts) |
protected static android.graphics.Bitmap |
decodeStream(java.io.InputStream is) |
protected static android.graphics.Bitmap |
decodeStream(java.io.InputStream is,
android.graphics.Rect outPadding,
android.graphics.BitmapFactory.Options opts) |
static void |
provideWidthAndHeightHints(java.io.FileDescriptor fd,
int width,
int height) |
static void |
provideWidthAndHeightHints(int resourceId,
int width,
int height) |
static void |
provideWidthAndHeightHints(java.lang.String file,
int width,
int height) |
static void |
provideWidthAndHeightHints(android.net.Uri uri,
int width,
int height) |
static void |
reset() |
@Implementation protected static android.graphics.Bitmap decodeResourceStream(android.content.res.Resources res, android.util.TypedValue value, java.io.InputStream is, android.graphics.Rect pad, android.graphics.BitmapFactory.Options opts)
@Implementation protected static android.graphics.Bitmap decodeResource(android.content.res.Resources res, int id, android.graphics.BitmapFactory.Options options)
@Implementation protected static android.graphics.Bitmap decodeFile(java.lang.String pathName)
@Implementation protected static android.graphics.Bitmap decodeFile(java.lang.String pathName, android.graphics.BitmapFactory.Options options)
@Implementation protected static android.graphics.Bitmap decodeFileDescriptor(java.io.FileDescriptor fd, android.graphics.Rect outPadding, android.graphics.BitmapFactory.Options opts)
@Implementation protected static android.graphics.Bitmap decodeStream(java.io.InputStream is)
@Implementation protected static android.graphics.Bitmap decodeStream(java.io.InputStream is, android.graphics.Rect outPadding, android.graphics.BitmapFactory.Options opts)
@Implementation protected static android.graphics.Bitmap decodeByteArray(byte[] data, int offset, int length)
@Implementation protected static android.graphics.Bitmap decodeByteArray(byte[] data, int offset, int length, android.graphics.BitmapFactory.Options opts)
public static android.graphics.Bitmap create(java.lang.String name, android.graphics.BitmapFactory.Options options)
public static android.graphics.Bitmap create(java.lang.String name, android.graphics.BitmapFactory.Options options, android.graphics.Point widthAndHeight)
public static void provideWidthAndHeightHints(android.net.Uri uri, int width, int height)
public static void provideWidthAndHeightHints(int resourceId, int width, int height)
public static void provideWidthAndHeightHints(java.lang.String file, int width, int height)
public static void provideWidthAndHeightHints(java.io.FileDescriptor fd, int width, int height)
@Resetter public static void reset()