Home
last modified time | relevance | path

Searched refs:EngineResource (Results 1 – 4 of 4) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngine.java28 …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 …]
DEngineResource.java13 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
DEngineJob.java46 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()
DEngineJobListener.java7 void onEngineJobComplete(Key key, EngineResource<?> resource); in onEngineJobComplete()