Searched refs:ReusableBitmap (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | UnrefedBitmapCache.java | 22 import com.android.bitmap.ReusableBitmap.NullReusableBitmap; 35 public class UnrefedBitmapCache extends UnrefedPooledCache<RequestKey, ReusableBitmap> 72 protected int sizeOf(final ReusableBitmap value) { in sizeOf() 83 public ReusableBitmap poll() { in poll() 84 ReusableBitmap bitmap; in poll() 108 public void offer(final ReusableBitmap value) { in offer() 120 public ReusableBitmap get(final RequestKey key, final boolean incrementRefCount) { in get() 131 public ReusableBitmap put(final RequestKey key, final ReusableBitmap value) { in put()
|
D | ReusableBitmap.java | 25 public class ReusableBitmap implements Poolable { class 35 public ReusableBitmap(final Bitmap bitmap) { in ReusableBitmap() method in ReusableBitmap 39 public ReusableBitmap(final Bitmap bitmap, final boolean reusable) { in ReusableBitmap() method in ReusableBitmap 123 public final static class NullReusableBitmap extends ReusableBitmap {
|
D | DecodeTask.java | 49 public class DecodeTask extends AsyncTask<Void, Void, ReusableBitmap> { 58 private ReusableBitmap mInBitmap = null; 80 void onDecodeComplete(RequestKey key, ReusableBitmap result); in onDecodeComplete() 108 protected ReusableBitmap doInBackground(Void... params) { in doInBackground() 115 public ReusableBitmap decode() { in decode() 120 ReusableBitmap result = null; in decode() 264 mInBitmap = new ReusableBitmap( in decode() 417 result = new ReusableBitmap(decodeResult, false /* reusable */); in decode() 509 public void onPostExecute(ReusableBitmap result) { in onPostExecute() 514 protected void onCancelled(ReusableBitmap result) { in onCancelled()
|
D | BitmapCache.java | 19 public interface BitmapCache extends PooledCache<RequestKey, ReusableBitmap> {
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 36 import com.android.bitmap.ReusableBitmap; 72 private ReusableBitmap mBitmap; 114 protected ReusableBitmap getBitmap() { in getBitmap() 244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */); in setImage() 263 protected void setBitmap(ReusableBitmap bmp) { in setBitmap() 448 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result) { in onDecodeComplete()
|
D | ExtendedBitmapDrawable.java | 38 import com.android.bitmap.ReusableBitmap; 202 protected void setBitmap(ReusableBitmap bmp) { in setBitmap() 354 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result) { in onDecodeComplete()
|