/hardware/qcom/display/msm8998/gpu_tonemapper/ |
EGLImageWrapper.h | 23 #include <utils/LruCache.h> 37 android::LruCache<int, EGLImageBuffer *>* eglImageBufferMap;
|
/hardware/qcom/display/sdm845/gpu_tonemapper/ |
EGLImageWrapper.h | 23 #include <utils/LruCache.h> 37 android::LruCache<int, EGLImageBuffer *>* eglImageBufferMap;
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
LruCacheUnitTests.java | 9 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); 17 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); 29 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); 42 private final LruCache<Integer,Integer> mMap; 44 public Accessor(LruCache<Integer, Integer> map) { 60 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(4) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
LruCacheTest.java | 34 LruCache<String, String> cache = new LruCache<String, String>(3); 83 LruCache<String, String> cache = newCreatingCache(); 107 LruCache<String, String> cache = newCreatingCache(); 113 LruCache<String, String> cache = newCreatingCache(); 120 new LruCache<String, String>(0); 127 LruCache<String, String> cache = new LruCache<String, String>(3); 136 LruCache<String, String> cache = new LruCache<String, String>(3) [all...] |
/system/core/libutils/include/utils/ |
LruCache.h | 38 class LruCache { 40 explicit LruCache(uint32_t maxCapacity); 41 virtual ~LruCache(); 57 LruCache(const LruCache& that); // disallow copy constructor 126 Iterator(const LruCache<TKey, TValue>& cache): 155 const LruCache<TKey, TValue>& mCache; 163 LruCache<TKey, TValue>::LruCache(uint32_t maxCapacity) 174 LruCache<TKey, TValue>::~LruCache() [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
SafeKeyGenerator.java | 4 import com.bumptech.glide.util.LruCache; 15 private final LruCache<Key, String> loadIdToSafeHash = new LruCache<Key, String>(1000);
|
LruResourceCache.java | 7 import com.bumptech.glide.util.LruCache; 12 public class LruResourceCache extends LruCache<Key, Resource<?>> implements MemoryCache {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
LruCache.java | 28 public final class LruCache<K, V> extends LinkedHashMap<K, V> { 33 * Creates an instance of LRUCache, with given capacity. 38 public LruCache(int capacity) { 43 * Creates an instance of LRUCache, with given capacity. 48 private LruCache(int initialCapacity, int maxCapacity) {
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
ExpirableCache.java | 19 import android.util.LruCache; 79 * <p>This class wraps around an {@link LruCache} instance: it follows the {@link LruCache} behavior 80 * for evicting items when the cache is full. It is possible to supply your own subclass of LruCache 81 * by using the {@link #create(LruCache)} method, which can define a custom expiration policy. Since 103 private LruCache<K, CachedValue<V>> mCache; 105 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { 111 * Creates a new {@link ExpirableCache} that wraps the given {@link LruCache}. 121 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { 133 return create(new LruCache<K, CachedValue<V>>(maxSize)) [all...] |
/system/core/libutils/tests/ |
LruCache_test.cpp | 22 #include <utils/LruCache.h> 97 typedef LruCache<ComplexKey, ComplexValue> ComplexCache; 154 LruCache<SimpleKey, StringValue> cache(100); 161 LruCache<SimpleKey, StringValue> cache(100); 173 LruCache<SimpleKey, StringValue> cache(2); 185 LruCache<SimpleKey, StringValue> cache(100); 198 LruCache<SimpleKey, StringValue> cache(100); 217 LruCache<SimpleKey, StringValue> cache(512); 301 LruCache<SimpleKey, StringValue> cache(100); 316 LruCache<SimpleKey, StringValue> cache(100) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
ShortcutCache.java | 23 import android.util.LruCache; 29 * for handful of apps in an LruCache while launcher lives. 35 private final LruCache<ShortcutKey, ShortcutInfoCompat> mCachedShortcuts; 40 mCachedShortcuts = new LruCache<>(CACHE_SIZE);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TargetPackageInfoGetterTask.java | 23 import android.util.LruCache; 30 private static final LruCache<String, PackageInfo> sCache = new LruCache<>(MAX_CACHE_ENTRIES);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
TaskKeyLruCache.java | 19 import android.util.LruCache; 37 private final LruCache<Integer, V> mCache; 46 mCache = new LruCache<Integer, V>(cacheSize) {
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
UnrefedBitmapCache.java | 20 import android.util.LruCache; 40 private LruCache<RequestKey, NullReusableBitmap> mNullRequests; 50 mNullRequests = new LruCache<RequestKey, NullReusableBitmap>(nullCapacity);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
CursorObjectAdapter.java | 18 import android.util.LruCache; 27 private final LruCache<Integer, Object> mItemCache = new LruCache<Integer, Object>(CACHE_SIZE);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
BitmapLoader.java | 24 import android.support.v4.util.LruCache; 50 static LruCache<Long, Bitmap> sLruCache; 58 * get or initialize LruCache, the max is set to full screen pixels. 60 static LruCache<Long, Bitmap> getLruCache(Context context) { 66 sLruCache = new LruCache<Long, Bitmap>(maxBytes) {
|
/frameworks/base/libs/hwui/ |
TextureCache.h | 24 #include <utils/LruCache.h> 128 LruCache<uint32_t, Texture*> mCache;
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
ImageLoader.java | 23 import android.support.v4.util.LruCache; 32 * A LruCache used to store images which has a maximum size of 10% of the maximum heap size. 87 * {@link android.support.v4.util.LruCache}. 89 private static class BitmapCache extends LruCache<Long, Bitmap> {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
MediaCache.java | 18 import android.util.LruCache; 23 * A modified LruCache that is able to hold RefCountedMediaResource instances. It releases 30 public class MediaCache<T extends RefCountedMediaResource> extends LruCache<String, T> {
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
AlbumArtCache.java | 21 import android.util.LruCache; 48 private final LruCache<String, Bitmap[]> mCache; 61 mCache = new LruCache<String, Bitmap[]>(maxSize) {
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
ImageCache.java | 24 import android.support.v4.util.LruCache; 34 private LruCache<String, Bitmap> mMemoryCache; 83 mMemoryCache = new LruCache<String, Bitmap>(memCacheSize) { 151 * to construct a LruCache which takes an int in its constructor.
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
ModelCache.java | 3 import com.bumptech.glide.util.LruCache; 19 private final LruCache<ModelKey<A>, B> cache; 26 cache = new LruCache<ModelKey<A>, B>(size) {
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
DefaultPhotoManager.java | 24 import android.support.v4.util.LruCache; 56 private final LruCache<Uri, byte[]> mPhotoCacheMap; 60 mPhotoCacheMap = new LruCache<Uri, byte[]>(PHOTO_CACHE_SIZE);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
AlbumArtCache.java | 22 import android.support.v4.util.LruCache; 49 private final LruCache<String, Bitmap[]> mCache; 62 mCache = new LruCache<String, Bitmap[]>(maxSize) {
|
/packages/apps/TV/src/com/android/tv/util/ |
ImageCache.java | 21 import android.util.LruCache; 37 private final LruCache<String, ScaledBitmapInfo> mMemoryCache; 51 mMemoryCache = new LruCache<String, ScaledBitmapInfo>(memCacheSize) { 161 * in kilobytes instead of bytes as this will eventually be passed to construct a LruCache
|