List of usage examples for android.support.v4.util LruCache subclass-usage
From source file com.google.android.apps.watchme.util.LruBitmapCache.java
public class LruBitmapCache extends LruCache<String, Bitmap> implements ImageCache { public LruBitmapCache(int maxSize) { super(maxSize); }
From source file it.feio.android.omninotes.models.ThumbnailLruCache.java
public class ThumbnailLruCache extends LruCache<String, Bitmap> { // Calculates available device memory final static int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); // Use 1/8th of the available memory for this memory cache.
From source file com.dycody.android.idealnote.models.ThumbnailLruCache.java
public class ThumbnailLruCache extends LruCache<String, Bitmap> { // Calculates available device memory final static int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); // Use 1/8th of the available memory for this memory cache.
From source file com.android.volley.toolbox.BitmapLruCache.java
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageCache { public BitmapLruCache(int maxSize) { super(maxSize); } @Override
From source file com.shenma.tvlauncher.network.BitmapLruCache.java
/** * * @author joychang * */ public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageCache {
From source file de.ub0r.android.callmeter.data.NameCache.java
/** * {@link LruCache} holding number to name entries. * * @author flx */ public final class NameCache extends LruCache<String, String> {
From source file com.ronnyml.sweetplayer.utils.LruBitmapCache.java
public class LruBitmapCache extends LruCache<String, Bitmap> implements ImageCache { public LruBitmapCache(int maxSize) { super(maxSize); }
From source file com.example.android.foodrecipes.app.utils.LruBitmapCache.java
/**
* Implementation of LRU-based {@link ImageCache} for {@code ImageLoader} from the {@code Volley}
* library.
*
* @author Andrei Safronov
*/
From source file org.opensilk.music.artwork.cache.BitmapLruCache.java
/** * Created by drew on 3/11/14. */ public class BitmapLruCache extends LruCache<String, Bitmap> implements BitmapCache { public BitmapLruCache(int maxSize) {
From source file com.oscarsalguero.solartracker.networking.LruBitmapCache.java
public class LruBitmapCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache { public static int getDefaultLruCacheSize() { final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); final int cacheSize = maxMemory / 8;