Searched refs:ImageKey (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/ |
D | LocalImageFetcher.java | 85 private final Map<ImageKey, HashSet<BiConsumer<ImageKey, Drawable>>> mConsumers = 87 private final Map<ImageKey, ImageLoadingTask> mTasks = new HashMap<>(20); 89 private final LruCache<ImageKey, Drawable> mMemoryCache; 102 mMemoryCache = new LruCache<ImageKey, Drawable>(cacheSizeMB * MB) { in LocalImageFetcher() 104 protected int sizeOf(ImageKey key, Drawable drawable) { in LocalImageFetcher() 129 public void getImage(Context context, ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in getImage() argument 138 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.get(key); in getImage() 165 public void cancelRequest(ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in cancelRequest() argument 166 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.get(key); in cancelRequest() 194 ImageKey key = task.mImageKey; in fulfilRequests() [all …]
|
D | ImageKey.java | 29 class ImageKey { class 34 ImageKey(Uri imageUri, Size maxImageSize) { in ImageKey() method in ImageKey 45 ImageKey imageKey = (ImageKey) o; in equals()
|
D | ImageBinder.java | 78 private ImageKey mCurrentKey; 79 private BiConsumer<ImageKey, Drawable> mFetchReceiver; 136 mCurrentKey = new ImageKey(mCurrentRef.getImageURI(), mMaxImageSize); in setImage()
|