Searched refs:LruCache (Results 1 - 25 of 28) 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/libs/hwui/
H A DTextureCache.h22 #include <utils/LruCache.h>
133 LruCache<SkBitmap*, Texture*> mCache;
H A DPatchCache.h22 #include <utils/LruCache.h>
173 LruCache<PatchDescription, Patch*> mCache;
H A DTextDropShadowCache.h24 #include <utils/LruCache.h>
166 LruCache<ShadowText, ShadowTexture*> mCache;
H A DGradientCache.h24 #include <utils/LruCache.h>
184 LruCache<GradientCacheEntry, Texture*> mCache;
H A DPatchCache.cpp34 mSize(0), mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity),
95 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
111 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
H A DFontRenderer.h21 #include <utils/LruCache.h>
194 LruCache<Font::FontDescription, Font*> mActiveFonts;
H A DPathCache.h22 #include <utils/LruCache.h>
319 LruCache<PathDescription, PathTexture*> mCache;
H A DTextDropShadowCache.cpp98 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
113 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
H A DGradientCache.cpp66 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
86 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
H A DTextureCache.cpp37 mCache(LruCache<SkBitmap*, Texture*>::kUnlimitedCapacity),
61 mCache(LruCache<SkBitmap*, Texture*>::kUnlimitedCapacity),
H A DFontRenderer.cpp100 mActiveFonts(LruCache<Font::FontDescription, Font*>::kUnlimitedCapacity) {
163 LruCache<Font::FontDescription, Font*>::Iterator it(mActiveFonts);
173 LruCache<Font::FontDescription, Font*>::Iterator it(mActiveFonts);
193 LruCache<Font::FontDescription, Font*>::Iterator it(mActiveFonts);
H A DPathCache.cpp157 mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity),
374 LruCache<PathDescription, PathTexture*>::Iterator i(mCache);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java23 import android.util.LruCache;
36 private final LruCache<Integer, WifiP2pGroup> mGroups;
51 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
378 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
323 return String.format("LruCache[maxSize=%d,hits=%d,misses=%d,hitRate=%d%%]",
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.h25 #include <utils/LruCache.h>
262 LruCache<TextLayoutCacheKey, sp<TextLayoutValue> > mCache;
/frameworks/base/core/java/android/widget/
H A DSpellChecker.java29 import android.util.LruCache;
101 private final LruCache<Long, SuggestionSpan> mSuggestionSpanCache =
102 new LruCache<Long, SuggestionSpan>(SUGGESTION_SPAN_CACHE_SIZE);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiWatchdogStateMachine.java34 import android.util.LruCache;
276 private LruCache<String, BssidStatistics> mBssidCache =
277 new LruCache<String, BssidStatistics>(BSSID_STAT_CACHE_SIZE);
/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java35 import android.support.v4.util.LruCache;
499 private final LruCache<Uri, byte[]> mPhotoCacheMap;
553 mPhotoCacheMap = new LruCache<Uri, byte[]>(PHOTO_CACHE_SIZE);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java30 import android.util.LruCache;
1250 extends LruCache<String, PreparedStatement> {
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java58 import android.util.LruCache;
1086 private static final class SettingsCache extends LruCache<String, Bundle> {

Completed in 459 milliseconds

12