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

  /frameworks/opt/bitmap/src/com/android/bitmap/
DecodeAggregator.java 19 public class DecodeAggregator extends ContiguousFIFOAggregator<RequestKey> {
21 public interface Callback extends ContiguousFIFOAggregator.Callback<RequestKey> {
BitmapCache.java 19 public interface BitmapCache extends PooledCache<RequestKey, ReusableBitmap> {
RequestKey.java 26 * {@link #createFileDescriptorFactoryAsync(RequestKey, Callback)} or {@link #createInputStream()}.
28 * {@link #createFileDescriptorFactoryAsync(RequestKey, Callback)} before falling back to
36 * The following is a high level view of the interactions between RequestKey and the rest of the
66 public interface RequestKey {
72 * or {@link Callback#fileDescriptorFactoryCreated(RequestKey, FileDescriptorFactory)} is called
92 public Cancelable createFileDescriptorFactoryAsync(RequestKey key, Callback callback);
96 * {@link #createFileDescriptorFactoryAsync(RequestKey, Callback)} returns null.
125 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactory factory);
UnrefedBitmapCache.java 35 public class UnrefedBitmapCache extends UnrefedPooledCache<RequestKey, ReusableBitmap>
40 private LruCache<RequestKey, NullReusableBitmap> mNullRequests;
50 mNullRequests = new LruCache<RequestKey, NullReusableBitmap>(nullCapacity);
120 public ReusableBitmap get(final RequestKey key, final boolean incrementRefCount) {
131 public ReusableBitmap put(final RequestKey key, final ReusableBitmap value) {
ResourceRequestKey.java 25 * Simple RequestKey for decoding from a resource id.
27 public class ResourceRequestKey implements RequestKey {
49 public Cancelable createFileDescriptorFactoryAsync(RequestKey requestKey, Callback callback) {
DecodeTask.java 28 import com.android.bitmap.RequestKey.FileDescriptorFactory;
51 private final RequestKey mKey;
75 void onDecodeBegin(RequestKey key);
80 void onDecodeComplete(RequestKey key, ReusableBitmap result);
82 * The task has been canceled, and {@link #onDecodeComplete(RequestKey, ReusableBitmap)}
85 void onDecodeCancel(RequestKey key);
91 * @param requestKey The request to decode, also the key to use for the cache.
94 * null, then we will decode from requestKey.createInputStream().
98 public DecodeTask(RequestKey requestKey, DecodeOptions decodeOpts
    [all...]
  /frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
BitmapRequestKeyImpl.java 19 import com.android.bitmap.RequestKey;
26 public class BitmapRequestKeyImpl implements RequestKey {
69 public Cancelable createFileDescriptorFactoryAsync(final RequestKey key,
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
BasicBitmapDrawable.java 33 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() {
110 public final RequestKey getPreviousKey() {
174 public void bind(RequestKey key) {
216 protected void setImage(final RequestKey key)
    [all...]
ExtendedBitmapDrawable.java 37 import com.android.bitmap.RequestKey;
183 protected void setImage(final RequestKey key) {
327 public void onDecodeBegin(final RequestKey key) {
337 public void onBecomeFirstExpected(final RequestKey key) {
354 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result) {
373 public void onDecodeCancel(final RequestKey key) {
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ContactRequest.java 20 import com.android.bitmap.RequestKey;
31 public class ContactRequest implements RequestKey {
85 public Cancelable createFileDescriptorFactoryAsync(RequestKey key, Callback callback) {
AbstractAvatarDrawable.java 31 import com.android.bitmap.RequestKey;
220 public void onDecodeComplete(RequestKey key, ReusableBitmap result) {
ContactResolver.java 27 import com.android.bitmap.RequestKey;
72 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result);

Completed in 405 milliseconds