HomeSort by relevance Sort by last modified time
    Searched refs:NullReusableBitmap (Results 1 - 2 of 2) sorted by null

  /frameworks/opt/bitmap/src/com/android/bitmap/
UnrefedBitmapCache.java 22 import com.android.bitmap.ReusableBitmap.NullReusableBitmap;
32 * when the same key is used to retrieve the value, a {@link NullReusableBitmap} singleton will
40 private LruCache<RequestKey, NullReusableBitmap> mNullRequests;
50 mNullRequests = new LruCache<RequestKey, NullReusableBitmap>(nullCapacity);
122 return NullReusableBitmap.getInstance();
132 if (mNullRequests != null && (value == null || value == NullReusableBitmap.getInstance())) {
133 mNullRequests.put(key, NullReusableBitmap.getInstance());
ReusableBitmap.java 123 public final static class NullReusableBitmap extends ReusableBitmap {
124 private static NullReusableBitmap sInstance;
129 public static NullReusableBitmap getInstance() {
131 sInstance = new NullReusableBitmap();
136 private NullReusableBitmap() {

Completed in 45 milliseconds