HomeSort by relevance Sort by last modified time
    Searched refs:MemoryCache (Results 1 - 15 of 15) 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 {
  /external/lldb/include/lldb/Target/
Memory.h 30 class MemoryCache
36 MemoryCache (Process &process);
38 ~MemoryCache ();
68 // Classes that inherit from MemoryCache can see and modify these
76 DISALLOW_COPY_AND_ASSIGN (MemoryCache);
183 // Classes that inherit from MemoryCache can see and modify these
Process.h     [all...]
  /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/lldb/source/Target/
Memory.cpp 24 // MemoryCache constructor
26 MemoryCache::MemoryCache(Process &process) :
38 MemoryCache::~MemoryCache()
43 MemoryCache::Clear(bool clear_invalid_ranges)
52 MemoryCache::Flush (addr_t addr, size_t size)
85 MemoryCache::AddInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size)
97 MemoryCache::RemoveInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size)
116 MemoryCache::Read (addr_t addr,
    [all...]
  /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,

Completed in 445 milliseconds