List of usage examples for android.support.v4.util LruCache subclass-usage
From source file io.imoji.sdk.editor.util.EditorBitmapCache.java
/** * Created by sajjadtabib on 9/23/15. */ public final class EditorBitmapCache extends android.support.v4.util.LruCache<String, Bitmap> { public interface Keys {
From source file com.detroitlabs.nerdnite.volley.LruBitmapCache.java
public class LruBitmapCache extends LruCache<String, Bitmap> implements ImageCache { private static LruBitmapCache mCache; public static LruBitmapCache instance(int maxSize) { if (mCache == null) {
From source file com.pickr.cache.PhotoInfosCache.java
class PhotoInfosCache extends LruCache<Photo, PhotoInfos> { private static final String TAG = PhotoInfosCache.class.getSimpleName(); PhotoInfosCache() { super(50);
From source file org.spinsuite.util.ImageCacheLru.java
/** * @author Yamel Senih, ysenih@erpcya.com, ERPCyA http://www.erpcya.com Apr 22, 2015, 12:43:39 AM * */ public class ImageCacheLru extends LruCache<String, Bitmap> {
From source file com.pickr.cache.BitmapCache.java
class BitmapCache extends LruCache<URL, Bitmap> { private static final Logger LOGGER = Logger.getLogger(BitmapCache.class); BitmapCache() { super(10485760); // 10MB
From source file nz.ac.otago.psyanlab.common.util.BitmapCache.java
public class BitmapCache extends LruCache<String, BitmapPack> { public static int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight) { // Raw height and width of image final int height = options.outHeight; final int width = options.outWidth; int inSampleSize = 1;
From source file com.github.luluvise.droid_utils.cache.bitmap.BitmapLruCache.java
/**
* Abstract class that exposes basic functionalities implemented in any
* hard-referenced Bitmap cache. The size of the cache is strictly limited by
* the memory occupation of the contained Bitmaps to avoid OutOfMemoryError.
*
* The actual cache is implemented on top of an {@code LruCache<K, Bitmap>}
From source file hochschuledarmstadt.photostream_tools.adapter.LruBitmapCache.java
class LruBitmapCache extends android.support.v4.util.LruCache<Integer, Bitmap> { private HashMap<Integer, Integer> hitCountMap = new HashMap<>(); public LruBitmapCache(int maxSize) { super(maxSize);
From source file de.hu_berlin.informatik.spws2014.mapever.largeimageview.CachedImage.java
public class CachedImage extends LruCache<String, Bitmap> { interface CacheMissResolvedCallback { public void onCacheMissResolved(); }
From source file com.dalaran.LDCache.java
/** * Cache implementation that caches files directly onto the hard disk in the specified * directory. The default disk usage size is 5MB, but is configurable. */ public class LDCache extends LruCache<Integer, Bitmap> implements Cache, ImageLoader.ImageCache {