Home
last modified time | relevance | path

Searched refs:RequestKey (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java33 import com.android.bitmap.RequestKey;
34 import com.android.bitmap.RequestKey.Cancelable;
35 import com.android.bitmap.RequestKey.FileDescriptorFactory;
59 Drawable.Callback, RequestKey.Callback {
61 protected RequestKey mCurrKey;
62 protected RequestKey mPrevKey;
106 public final RequestKey getKey() { in getKey()
110 public final RequestKey getPreviousKey() { in getPreviousKey()
174 public void bind(RequestKey key) { in bind()
216 protected void setImage(final RequestKey key) { in setImage()
[all …]
DExtendedBitmapDrawable.java37 import com.android.bitmap.RequestKey;
183 protected void setImage(final RequestKey key) { in setImage()
327 public void onDecodeBegin(final RequestKey key) { in onDecodeBegin()
337 public void onBecomeFirstExpected(final RequestKey key) { in onBecomeFirstExpected()
354 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result) { in onDecodeComplete()
373 public void onDecodeCancel(final RequestKey key) { in onDecodeCancel()
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedBitmapCache.java35 public class UnrefedBitmapCache extends UnrefedPooledCache<RequestKey, ReusableBitmap>
40 private LruCache<RequestKey, NullReusableBitmap> mNullRequests;
50 mNullRequests = new LruCache<RequestKey, NullReusableBitmap>(nullCapacity); in UnrefedBitmapCache()
120 public ReusableBitmap get(final RequestKey key, final boolean incrementRefCount) { in get()
131 public ReusableBitmap put(final RequestKey key, final ReusableBitmap value) { in put()
DRequestKey.java66 public interface RequestKey { interface
92 public Cancelable createFileDescriptorFactoryAsync(RequestKey key, Callback callback); in createFileDescriptorFactoryAsync()
125 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactory factory); in fileDescriptorFactoryCreated()
DDecodeAggregator.java19 public class DecodeAggregator extends ContiguousFIFOAggregator<RequestKey> {
21 public interface Callback extends ContiguousFIFOAggregator.Callback<RequestKey> {
DResourceRequestKey.java27 public class ResourceRequestKey implements RequestKey {
49 public Cancelable createFileDescriptorFactoryAsync(RequestKey requestKey, Callback callback) { in createFileDescriptorFactoryAsync()
DDecodeTask.java28 import com.android.bitmap.RequestKey.FileDescriptorFactory;
51 private final RequestKey mKey;
75 void onDecodeBegin(RequestKey key); in onDecodeBegin()
80 void onDecodeComplete(RequestKey key, ReusableBitmap result); in onDecodeComplete()
85 void onDecodeCancel(RequestKey key); in onDecodeCancel()
98 public DecodeTask(RequestKey requestKey, DecodeOptions decodeOpts, in DecodeTask()
DBitmapCache.java19 public interface BitmapCache extends PooledCache<RequestKey, ReusableBitmap> {
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
DBitmapRequestKeyImpl.java19 import com.android.bitmap.RequestKey;
26 public class BitmapRequestKeyImpl implements RequestKey {
69 public Cancelable createFileDescriptorFactoryAsync(final RequestKey key, in createFileDescriptorFactoryAsync()