Searched refs:LruCache (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java21 import android.util.LruCache;
23 public class ThumbnailCache extends LruCache<Uri, Bitmap> {
/frameworks/base/core/tests/coretests/src/android/util/
H A DLruCacheTest.java34 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 DKeyStoreLruCache.java19 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 DUnrefedBitmapCache.java20 import android.util.LruCache;
40 private LruCache<RequestKey, NullReusableBitmap> mNullRequests;
50 mNullRequests = new LruCache<RequestKey, NullReusableBitmap>(nullCapacity);
H A DUnrefedPooledCache.java20 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 DCursorObjectAdapter.java18 import android.util.LruCache;
27 private final LruCache<Integer, Object> mItemCache = new LruCache<Integer, Object>(CACHE_SIZE);
H A DViewsStateBundle.java18 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 DDefaultPhotoManager.java24 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 DTextureCache.h22 #include <utils/LruCache.h>
158 LruCache<uint32_t, Texture*> mCache;
H A DTessellationCache.h20 #include <utils/LruCache.h>
167 LruCache<Description, Buffer*> mCache;
179 LruCache<ShadowDescription, Task<vertexBuffer_pair_t*>*> mShadowCache;
H A DPatchCache.h22 #include <utils/LruCache.h>
175 LruCache<PatchDescription, Patch*> mCache;
H A DTextDropShadowCache.h24 #include <utils/LruCache.h>
167 LruCache<ShadowText, ShadowTexture*> mCache;
H A DGradientCache.h26 #include <utils/LruCache.h>
177 LruCache<GradientCacheEntry, Texture*> mCache;
H A DPatchCache.cpp38 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity)
101 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
117 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
H A DFontRenderer.h26 #include <utils/LruCache.h>
171 LruCache<Font::FontDescription, Font*> mActiveFonts;
H A DPathCache.h29 #include <utils/LruCache.h>
301 LruCache<PathDescription, PathTexture*> mCache;
H A DTextDropShadowCache.cpp100 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
115 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
H A DTextureCache.cpp42 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity)
126 LruCache<uint32_t, Texture*>::Iterator iter(mCache);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java23 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 DBaseFragmentPagerAdapter.java24 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 DLruCache.java40 * 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 DLruCache.java44 * 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 DLruCache.java23 * 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 DSpellChecker.java28 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 DTokenCache.java20 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

Completed in 1031 milliseconds

12