Example usage for android.support.v4.util LruCache subclass-usage

List of usage examples for android.support.v4.util LruCache subclass-usage

Introduction

In this page you can find the example usage for android.support.v4.util LruCache subclass-usage.

Usage

From source file com.iappstreet.commons.network.LruBitmapCache.java

/**
 * Copyright 2015 App Street Software Pvt. Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file co.org.cut.cut_app.herramientas.BitmapLruCache.java

/**
 * Copyright 2013 Ognyan Bankov
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file com.github.longkai.zhihu.util.BitmapLruCache.java

/**
 * bitmap lru cache  android volley
 *
 * @User longkai
 * @Date 13-11-10
 * @Mail im.longkai@gmail.com

From source file org.appcelerator.titanium.util.TiImageLruCache.java

public class TiImageLruCache extends LruCache<Integer, Bitmap> {
    // Get max available VM memory, exceeding this amount will throw an
    // OutOfMemory exception. Stored in kilobytes as LruCache takes an
    // int in its constructor.
    private static final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);

From source file org.appcelerator.titanium.util.TiBlobLruCache.java

public class TiBlobLruCache extends LruCache<String, Bitmap> {
    // Get max available VM memory, exceeding this amount will throw an
    // OutOfMemory exception. Stored in kilobytes as LruCache takes an
    // int in its constructor.
    private static final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);

From source file it_minds.dk.eindberetningmobil_android.server.BitmapLruCache.java

/**
 * A class that is responsible for handling bitmaps loaded though the imageloader, and how to store them
 */
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageLoader.ImageCache {

    public BitmapLruCache() {

From source file de.elanev.studip.android.app.util.BitmapLruCache.java

/**
 * @author joern
 * 
 */
public class BitmapLruCache extends LruCache<String, Bitmap> implements ImageCache {
    public BitmapLruCache(int maxSize) {

From source file org.droidparts.net.image.cache.SupportBitmapLruCache.java

public class SupportBitmapLruCache extends LruCache<String, Bitmap> implements BitmapMemoryCache.BitmapLruCache {

    public SupportBitmapLruCache(int maxSize) {
        super(maxSize);
    }

From source file com.andrewreitz.encryptedcamera.cache.ThumbnailCache.java

public class ThumbnailCache extends LruCache<String, Bitmap> {
    public ThumbnailCache(int maxSizeBytes) {
        super(maxSizeBytes);
    }

    @Override

From source file com.vincentbrison.openlibraries.android.dualcache.lib.StringLRUCache.java

/**
 * LRU cache used by the RAM cache layer when storing serialized object.
 */
public class StringLRUCache extends LruCache<String, String> {

    /**