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

  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 77 int memCacheSize = calculateMemCacheSize(memCacheSizePercent);
81 Log.d(TAG, "Memory cache created (size = " + memCacheSize + ")");
83 mMemoryCache = new LruCache<String, Bitmap>(memCacheSize) {
150 * memCacheSize is stored in kilobytes instead of bytes as this will eventually be passed
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageCache.java 130 Log.d(TAG, "Memory cache created (size = " + mCacheParams.memCacheSize + ")");
138 mMemoryCache = new LruCache<String, BitmapDrawable>(mCacheParams.memCacheSize) {
444 public int memCacheSize = DEFAULT_MEM_CACHE_SIZE;
470 * memCacheSize is stored in kilobytes instead of bytes as this will eventually be passed
484 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);

Completed in 62 milliseconds