Home | History | Annotate | Download | only in asset

Lines Matching defs:bitmap

3 import android.graphics.Bitmap;
13 * method to retrieve a {@link Bitmap} when it is needed by the renderer.
15 * {@link AndroidImageInfo#loadBitmap()} method to acquire a bitmap by their own means.
22 protected Bitmap bitmap;
29 public Bitmap getBitmap(){
30 if (bitmap == null || bitmap.isRecycled()){
40 return bitmap;
50 * Loads the bitmap directly from the asset info, possibly updating
57 bitmap = BitmapFactory.decodeStream(in);
58 if (bitmap == null) {
67 switch (bitmap.getConfig()) {
83 // but just loads bitmap directly.
92 Bitmap newBitmap = Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), flipMat, false);
93 bitmap.recycle();
94 bitmap = newBitmap;
96 if (bitmap == null) {