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

  /packages/apps/Messaging/src/com/android/messaging/datamodel/
MemoryCacheManager.java 28 private final HashSet<MemoryCache> mMemoryCaches = new HashSet<MemoryCache>();
38 public interface MemoryCache {
45 public void registerMemoryCache(final MemoryCache cache) {
54 public void unregisterMemoryCache(final MemoryCache cache) {
67 final HashSet<MemoryCache> shallowCopy;
69 shallowCopy = (HashSet<MemoryCache>) mMemoryCaches.clone();
71 for (final MemoryCache cache : shallowCopy) {
BitmapPool.java 26 import com.android.messaging.datamodel.MemoryCacheManager.MemoryCache;
39 public class BitmapPool implements MemoryCache {
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
MemoryCacheManagerTest.java 22 import com.android.messaging.datamodel.MemoryCacheManager.MemoryCache;
30 final MemoryCache mockMemoryCache = Mockito.mock(MemoryCache.class);
31 final MemoryCache otherMockMemoryCache = Mockito.mock(MemoryCache.class);
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
MemoryCache.java 9 public interface MemoryCache {
MemoryCacheAdapter.java 9 public class MemoryCacheAdapter implements MemoryCache {
LruResourceCache.java 12 public class LruResourceCache extends LruCache<Key, Resource<?>> implements MemoryCache {
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
MediaCacheManager.java 22 import com.android.messaging.datamodel.MemoryCacheManager.MemoryCache;
28 public abstract class MediaCacheManager implements MemoryCache {
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
BitmapPreFiller.java 9 import com.bumptech.glide.load.engine.cache.MemoryCache;
21 private final MemoryCache memoryCache;
28 public BitmapPreFiller(MemoryCache memoryCache, BitmapPool bitmapPool, DecodeFormat defaultFormat) {
29 this.memoryCache = memoryCache;
50 current = new BitmapPreFillRunner(bitmapPool, memoryCache, allocationOrder);
56 final int maxSize = memoryCache.getMaxSize() - memoryCache.getCurrentSize() + bitmapPool.getMaxSize()
    [all...]
BitmapPreFillRunner.java 11 import com.bumptech.glide.load.engine.cache.MemoryCache;
57 private final MemoryCache memoryCache;
66 public BitmapPreFillRunner(BitmapPool bitmapPool, MemoryCache memoryCache, PreFillQueue allocationOrder) {
67 this(bitmapPool, memoryCache, allocationOrder, DEFAULT_CLOCK, new Handler(Looper.getMainLooper()));
71 BitmapPreFillRunner(BitmapPool bitmapPool, MemoryCache memoryCache, PreFillQueue allocationOrder, Clock clock,
74 this.memoryCache = memoryCache;
    [all...]
  /external/ImageMagick/MagickCore/
thread-private.h 35 ((GetImagePixelCacheType(source) == MemoryCache) || \
37 ((GetImagePixelCacheType(destination) == MemoryCache) || \
cache.h 33 MemoryCache,
cache.c 322 if ((cache_info->type != MemoryCache) && (cache_info->type != MapCache))
588 if (((cache_info->type == MemoryCache) ||
590 ((clone_info->type == MemoryCache) ||
888 case MemoryCache:
    [all...]
matrix.c 237 matrix_info->type=MemoryCache;
384 case MemoryCache:
    [all...]
option.c 132 { "Memory", MemoryCache, UndefinedOptionFlag, MagickFalse },
    [all...]
  /libcore/ojluni/src/main/java/sun/security/util/
Cache.java 123 return new MemoryCache<>(true, size);
132 return new MemoryCache<>(true, size, timeout);
140 return new MemoryCache<>(false, size);
157 return new MemoryCache<>(false, size, timeout);
245 class MemoryCache<K,V> extends Cache<K,V> {
260 public MemoryCache(boolean soft, int maxSize) {
264 public MemoryCache(boolean soft, int maxSize, int lifetime) {
  /external/glide/library/src/main/java/com/bumptech/glide/
GlideBuilder.java 15 import com.bumptech.glide.load.engine.cache.MemoryCache;
30 private MemoryCache memoryCache;
53 * Sets the {@link com.bumptech.glide.load.engine.cache.MemoryCache} implementation to store
56 * @param memoryCache The cache to use.
59 public GlideBuilder setMemoryCache(MemoryCache memoryCache) {
60 this.memoryCache = memoryCache;
163 if (memoryCache == null)
    [all...]
Glide.java 22 import com.bumptech.glide.load.engine.cache.MemoryCache;
76 * {@link MemoryCache}.
89 private final MemoryCache memoryCache;
187 Glide(Engine engine, MemoryCache memoryCache, BitmapPool bitmapPool, Context context, DecodeFormat decodeFormat) {
190 this.memoryCache = memoryCache;
194 bitmapPreFiller = new BitmapPreFiller(memoryCache, bitmapPool, decodeFormat);
353 memoryCache.clearMemory()
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Engine.java 12 import com.bumptech.glide.load.engine.cache.MemoryCache;
28 public class Engine implements EngineJobListener, MemoryCache.ResourceRemovedListener, EngineResource.ResourceListener {
32 private final MemoryCache cache;
56 public Engine(MemoryCache memoryCache, DiskCache diskCache, ExecutorService diskCacheService,
58 this(memoryCache, diskCache, diskCacheService, sourceService, null, null, null, null, null);
62 Engine(MemoryCache cache, DiskCache diskCache, ExecutorService diskCacheService, ExecutorService sourceService,
  /frameworks/av/media/libmedia/
IMediaSource.cpp 226 struct MemoryCache {
  /prebuilts/tools/common/m2/repository/com/github/bumptech/glide/glide/3.6.1/
glide-3.6.1.jar 
  /prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/
glide-SNAPSHOT.jar 
  /frameworks/base/config/
preloaded-classes     [all...]

Completed in 323 milliseconds