|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.graphics.BitmapFactory.Options
public static class BitmapFactory.Options
| Field Summary | |
|---|---|
boolean |
inDither
If dither is true, the decoder will atttempt to dither the decoded image. |
boolean |
inJustDecodeBounds
If set to true, the decoder will return null (no bitmap), but the out... |
Bitmap.Config |
inPreferredConfig
If this is non-null, the decoder will try to decode into this internal configuration. |
int |
inSampleSize
If set to a value > 1, requests the decoder to subsample the original image, returning a smaller image to save memory. |
byte[] |
inTempStorage
Temp storage to use for decoding. |
boolean |
mCancel
Flag to indicate that cancel has been called on this object. |
int |
outHeight
The resulting height of the bitmap, set independent of the state of inJustDecodeBounds. |
String |
outMimeType
If known, this string is set to the mimetype of the decoded image. |
int |
outWidth
The resulting width of the bitmap, set independent of the state of inJustDecodeBounds. |
| Constructor Summary | |
|---|---|
BitmapFactory.Options()
Create a default Options object, which if left unchanged will give the same result from the decoder as if null were passed. |
|
| Method Summary | |
|---|---|
void |
requestCancelDecode()
This can be called from another thread while this options object is inside a decode... |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean inJustDecodeBounds
public int inSampleSize
public Bitmap.Config inPreferredConfig
public boolean inDither
public int outWidth
public int outHeight
public String outMimeType
public byte[] inTempStorage
public boolean mCancel
| Constructor Detail |
|---|
public BitmapFactory.Options()
| Method Detail |
|---|
public void requestCancelDecode()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||