List of usage examples for android.support.v4.util LruCache subclass-usage
From source file com.buildersaccess.haustalk.utility.volley.volleytoolbox.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageCache { public BitmapLruCache(int maxSize) { super(maxSize); } @Override
From source file com.thebiggestsaver.utils.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { //default cache size public static int getDefaultLruCacheSize() { final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); final int cacheSize = maxMemory / 8; return cacheSize;
From source file com.digitalbuddha.gdg.utils.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { //default cache size public static int getDefaultLruCacheSize() { final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); final int cacheSize = maxMemory / 8; return cacheSize;
From source file com.zjrc.isale.client.volley.cache.BitmapLruCache.java
/**
* LruCache: For caches that do not override sizeOf(K, V), this is the maximum number of entries in the cache.
* For all other caches, this is the maximum sum of the sizes of the entries in this cache.
* Ref:http://developer.android.com/reference/android/util/LruCache.html#LruCache(int)
*
* Currently, the cache keeps maximum of 100 Cache entries.
From source file com.imobilize.blogposts.cachemanagers.BitmapLruImageCache.java
public class BitmapLruImageCache extends LruCache<String, Bitmap> implements ImageCache { private final String TAG = this.getClass().getSimpleName(); public BitmapLruImageCache(int maxSize) { super(maxSize);
From source file com.google.plus.wigwamnow.network.BitmapCache.java
/** * Extension of {@link LruCache} for downloading {@link Bitmap}s using Volley. * * @author samstern@google.com (Sam Stern) */ public class BitmapCache extends LruCache<String, Bitmap> implements ImageCache {
From source file com.vtc.basetube.services.volley.toolbox.BitmapLruCache.java
/**
* LruCache: For caches that do not override sizeOf(K, V), this is the maximum number of entries in the cache.
* For all other caches, this is the maximum sum of the sizes of the entries in this cache.
* Ref:http://developer.android.com/reference/android/util/LruCache.html#LruCache(int)
*
* Currently, the cache keeps maximum of 100 Cache entries.
From source file com.yefeng.night.GreenDaoGeneratorForAndroidStudio.net.volley.bitmap.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { public BitmapLruCache(int maxSize) { super(maxSize); } @Override
From source file com.oneside.base.net.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageCache { public BitmapLruCache(int maxSize) { super(maxSize); } @Override
From source file com.seasonsread.app.web.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageCache { public BitmapLruCache(int maxSize) { super(maxSize); } @Override