/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | ThumbnailCache.java | 21 import android.util.LruCache; 23 public class ThumbnailCache extends LruCache<Uri, Bitmap> {
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | 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<Strin [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | KeyStoreLruCache.java | 19 import android.util.LruCache; 34 LruCache<Integer, V> mCache; 37 mCache = new LruCache<Integer, V>(cacheSize) {
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | UnrefedBitmapCache.java | 20 import android.util.LruCache; 40 private LruCache<RequestKey, NullReusableBitmap> mNullRequests; 50 mNullRequests = new LruCache<RequestKey, NullReusableBitmap>(nullCapacity);
|
H A D | UnrefedPooledCache.java | 20 import android.util.LruCache; 49 private final LruCache<K, V> mNonPooledCache; 220 private class NonPooledCache extends LruCache<K, V> {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | CursorObjectAdapter.java | 18 import android.util.LruCache; 27 private final LruCache<Integer, Object> mItemCache = new LruCache<Integer, Object>(CACHE_SIZE);
|
H A D | ViewsStateBundle.java | 18 import android.support.v4.util.LruCache; 51 private LruCache<String, SparseArray<Parcelable>> mChildStates; 135 mChildStates = new LruCache<String, SparseArray<Parcelable>>(mLimitNumber); 139 mChildStates = new LruCache<String, SparseArray<Parcelable>>(UNLIMITED);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | 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/base/libs/hwui/ |
H A D | TextureCache.h | 22 #include <utils/LruCache.h> 158 LruCache<uint32_t, Texture*> mCache;
|
H A D | TessellationCache.h | 20 #include <utils/LruCache.h> 167 LruCache<Description, Buffer*> mCache; 179 LruCache<ShadowDescription, Task<vertexBuffer_pair_t*>*> mShadowCache;
|
H A D | PatchCache.h | 22 #include <utils/LruCache.h> 175 LruCache<PatchDescription, Patch*> mCache;
|
H A D | TextDropShadowCache.h | 24 #include <utils/LruCache.h> 167 LruCache<ShadowText, ShadowTexture*> mCache;
|
H A D | GradientCache.h | 26 #include <utils/LruCache.h> 177 LruCache<GradientCacheEntry, Texture*> mCache;
|
H A D | PatchCache.cpp | 38 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity) 101 LruCache<PatchDescription, Patch*>::Iterator i(mCache); 117 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
|
H A D | FontRenderer.h | 26 #include <utils/LruCache.h> 171 LruCache<Font::FontDescription, Font*> mActiveFonts;
|
H A D | PathCache.h | 29 #include <utils/LruCache.h> 301 LruCache<PathDescription, PathTexture*> mCache;
|
H A D | TextDropShadowCache.cpp | 100 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), 115 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
|
H A D | TextureCache.cpp | 42 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity) 126 LruCache<uint32_t, Texture*>::Iterator iter(mCache);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pGroupList.java | 23 import android.util.LruCache; 36 private final LruCache<Integer, WifiP2pGroup> mGroups; 53 mGroups = new LruCache<Integer, WifiP2pGroup>(CREDENTIAL_MAX_NUM) {
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 24 import android.support.v4.util.LruCache; 55 private LruCache<String, Fragment> mFragmentCache = new FragmentCache(DEFAULT_CACHE_SIZE); 177 private class FragmentCache extends LruCache<String, Fragment> {
|
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 40 * LruCache<String, Bitmap> bitmapCache = new LruCache<String, Bitmap>(cacheSize) { 62 public class LruCache<K, V> { class 80 public LruCache(int maxSize) { method in class:LruCache 377 return String.format("LruCache[maxSize=%d,hits=%d,misses=%d,hitRate=%d%%]",
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 44 * LruCache<String, Bitmap> bitmapCache = new LruCache<String, Bitmap>(cacheSize) { 66 public class LruCache<K, V> { class 84 public LruCache(int maxSize) { method in class:LruCache 388 return String.format("LruCache[maxSize=%d,hits=%d,misses=%d,hitRate=%d%%]",
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LruCache.java | 23 * Static library version of {@link android.util.LruCache}. Used to write apps 29 public class LruCache<K, V> { class 47 public LruCache(int maxSize) { method in class:LruCache 340 return String.format("LruCache[maxSize=%d,hits=%d,misses=%d,hitRate=%d%%]",
|
/frameworks/base/core/java/android/widget/ |
H A D | SpellChecker.java | 28 import android.util.LruCache; 101 private final LruCache<Long, SuggestionSpan> mSuggestionSpanCache = 102 new LruCache<Long, SuggestionSpan>(SUGGESTION_SPAN_CACHE_SIZE);
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | TokenCache.java | 20 import android.util.LruCache; 83 private static class TokenLruCache extends LruCache<Key, Value> { 125 * This is recursive, but it won't spiral out of control because LruCache is
|