Searched refs:EngineResource (Results 1 – 4 of 4) sorted by relevance
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
D | Engine.java | 28 …e implements EngineJobListener, MemoryCache.ResourceRemovedListener, EngineResource.ResourceListen… 35 private final Map<Key, WeakReference<EngineResource<?>>> activeResources; 36 private final ReferenceQueue<EngineResource<?>> resourceReferenceQueue; 64 … Map<Key, WeakReference<EngineResource<?>>> activeResources, EngineJobFactory engineJobFactory, in Engine() 70 activeResources = new HashMap<Key, WeakReference<EngineResource<?>>>(); in Engine() 94 resourceReferenceQueue = new ReferenceQueue<EngineResource<?>>(); in Engine() 151 EngineResource<?> cached = getFromCache(key); in load() 162 WeakReference<EngineResource<?>> activeRef = activeResources.get(key); in load() 164 EngineResource<?> active = activeRef.get(); in load() 205 private EngineResource<?> getFromCache(Key key) { in getFromCache() [all …]
|
D | EngineResource.java | 13 class EngineResource<Z> implements Resource<Z> { class 22 void onResourceReleased(Key key, EngineResource<?> resource); in onResourceReleased() 25 EngineResource(Resource<Z> toWrap, boolean isCacheable) { in EngineResource() method in EngineResource
|
D | EngineJob.java | 46 private EngineResource<?> engineResource; 189 public <R> EngineResource<R> build(Resource<R> resource, boolean isMemoryCacheable) { in build() 190 return new EngineResource<R>(resource, isMemoryCacheable); in build()
|
D | EngineJobListener.java | 7 void onEngineJobComplete(Key key, EngineResource<?> resource); in onEngineJobComplete()
|