List of usage examples for android.support.v4.util LruCache subclass-usage
From source file com.optimalorange.cooltechnologies.util.LruBitmapCache.java
public class LruBitmapCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { /** * @param maxSize the maximum sum of the sizes of the entries in this cache. */ public LruBitmapCache(int maxSize) {
From source file edu.mit.mobile.android.imagecache.DrawableMemCache.java
public class DrawableMemCache<T> extends LruCache<T, Drawable> { @SuppressWarnings("unused") private static final String TAG = DrawableMemCache.class.getSimpleName(); public DrawableMemCache(int maxSize) {
From source file com.swater.meimeng.activity.oomimg.DrawableMemCache.java
public class DrawableMemCache<T> extends LruCache<T, Drawable> { @SuppressWarnings("unused") private static final String TAG = DrawableMemCache.class.getSimpleName(); public DrawableMemCache(int maxSize) {
From source file fr.eyal.datalib.sample.cache.BitmapMemoryLruCache.java
public final class BitmapMemoryLruCache extends LruCache<String, CacheableBitmapDrawable> { public BitmapMemoryLruCache(int maxSize) { super(maxSize); Out.d("", "CACHE SIZE " + maxSize + " Ko"); }
From source file org.opensilk.music.artwork.cache.ArtworkLruCache.java
/** * Created by drew on 10/31/14. */ public class ArtworkLruCache extends LruCache<String, Artwork> implements ArtworkCache { public ArtworkLruCache(int maxSize) {
From source file com.android.fastlibrary.volley.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { public BitmapLruCache(int maxSize) { super(maxSize); } @Override
From source file com.example.yudiandrean.socioblood.volley.LruBitmapCache.java
public class LruBitmapCache extends LruCache<String, Bitmap> implements ImageCache { public static int getDefaultLruCacheSize() { final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); final int cacheSize = maxMemory / 8; return cacheSize;
From source file com.bugsbunnybr.benchmarks.volley.LruBitmapCache.java
public class LruBitmapCache extends LruCache<String, Bitmap> implements ImageCache { private static LruBitmapCache INSTANCE; public static synchronized LruBitmapCache getInstance(Context context) { if (INSTANCE == null) {
From source file nl.hnogames.domoticz.Utils.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { public BitmapLruCache() { this(getDefaultLruCacheSize()); }
From source file nl.hnogames.domoticzapi.Utils.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { public BitmapLruCache() { this(getDefaultLruCacheSize()); }