/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
D | LruCacheUnitTests.java | 9 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testPut() 17 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testTracingInUsedObject() 29 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testLruAlgorithm() 42 private final LruCache<Integer,Integer> mMap; 44 public Accessor(LruCache<Integer, Integer> map) { in Accessor() 60 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(4); in testConcurrentAccess()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | ExpirableCache.java | 19 import android.util.LruCache; 103 private LruCache<K, CachedValue<V>> cache; 105 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { in ExpirableCache() 121 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { in create() 133 return create(new LruCache<K, CachedValue<V>>(maxSize)); in create()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | LruCache.java | 28 public final class LruCache<K, V> extends LinkedHashMap<K, V> { class 38 public LruCache(int capacity) { in LruCache() method in LruCache 48 private LruCache(int initialCapacity, int maxCapacity) { in LruCache() method in LruCache
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | TargetPackageInfoGetterTask.java | 23 import android.util.LruCache; 30 private static final LruCache<String, PackageInfo> sCache = new LruCache<>(MAX_CACHE_ENTRIES);
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapCachingAsset.java | 23 import android.util.LruCache; 65 private static LruCache<CacheKey, Bitmap> sCache = new LruCache<CacheKey, Bitmap>(cacheSize) {
|
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageCache.java | 21 import android.util.LruCache; 34 private final LruCache<String, ScaledBitmapInfo> mMemoryCache; 49 new LruCache<String, ScaledBitmapInfo>(memCacheSize) { in ImageCache()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryFacilitator.java | 20 import android.util.LruCache; 62 void setValidSpellingWordReadCache(final LruCache<String, Boolean> cache); in setValidSpellingWordReadCache() 68 void setValidSpellingWordWriteCache(final LruCache<String, Boolean> cache); in setValidSpellingWordWriteCache()
|
D | DictionaryFacilitatorImpl.java | 23 import android.util.LruCache; 89 private LruCache<String, Boolean> mValidSpellingWordReadCache; 90 private LruCache<String, Boolean> mValidSpellingWordWriteCache; 93 public void setValidSpellingWordReadCache(final LruCache<String, Boolean> cache) { in setValidSpellingWordReadCache() 98 public void setValidSpellingWordWriteCache(final LruCache<String, Boolean> cache) { in setValidSpellingWordWriteCache()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskIconCache.java | 27 import android.util.LruCache; 56 private final LruCache<ComponentName, ActivityInfo> mActivityInfoCache; 77 mActivityInfoCache = new LruCache<>(cacheSize); in TaskIconCache()
|
D | NormalizedIconLoader.java | 27 import android.util.LruCache; 48 LruCache<ComponentName, ActivityInfo> activityInfoCache, in NormalizedIconLoader()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | RecentFolderList.java | 33 import com.android.mail.utils.LruCache; 60 private final LruCache<String, RecentFolderListEntry> mFolderCache; 132 mFolderCache = new LruCache<String, RecentFolderListEntry>( in RecentFolderList()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | BitmapCache.java | 25 import androidx.collection.LruCache; 47 private static class MemoryCache extends LruCache<Uri, Bitmap> {
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CapabilitiesCache.java | 27 import android.util.LruCache; 67 private final LruCache<Uri, LocalPrinterCapabilities> mCache = new LruCache<>(CACHE_SIZE);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | MediaCache.java | 18 import android.util.LruCache; 30 public class MediaCache<T extends RefCountedMediaResource> extends LruCache<String, T> {
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewModel.java | 27 import android.util.LruCache; 51 static LruCache<Pair<String, Long>, ConversationItemViewModel> sConversationHeaderMap 52 = new LruCache<Pair<String, Long>, ConversationItemViewModel>(MAX_CACHE_SIZE);
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | BitmapDownloader.java | 22 import android.util.LruCache; 70 private LruCache<String, BitmapItem> mMemoryCache; 112 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { in BitmapDownloader()
|
D | DrawableDownloader.java | 26 import android.util.LruCache; 145 private LruCache<String, BitmapItem> mMemoryCache; 186 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { in DrawableDownloader()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | LruCache.java | 25 public class LruCache<K, V> { class 33 public LruCache(final int capacity) { in LruCache() method in LruCache
|
D | BaseImageList.java | 37 private final LruCache<Integer, BaseImage> mCache = 38 new LruCache<Integer, BaseImage>(CACHE_CAPACITY);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | LruCache.java | 29 public class LruCache<K, V> { class 37 public LruCache(final int capacity) { in LruCache() method in LruCache
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidWordLevelSpellCheckerSession.java | 26 import android.util.LruCache; 75 private final LruCache<String, SuggestionsParams> mUnigramSuggestionsInfoCache = 76 new LruCache<>(MAX_CACHE_SIZE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 26 import com.android.gallery3d.common.LruCache; 69 private final LruCache<String, Entry> mEntryMap = 70 new LruCache<String, Entry>(LRU_CAPACITY);
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 30 import android.util.LruCache; 65 private static LruCache<Uri, Bitmap> sSessionsToPlaceholderBitmap = 67 new LruCache<Uri, Bitmap>(20 * 1024 * 1024) {
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManagerImpl.java | 51 import android.util.LruCache; 115 private final LruCache<Object, BitmapHolder> bitmapHolderCache; 123 private final LruCache<Object, Bitmap> bitmapCache; 157 new LruCache<Object, Bitmap>(bitmapCacheSize) { in ContactPhotoManagerImpl() 173 new LruCache<Object, BitmapHolder>(holderCacheSize) { in ContactPhotoManagerImpl()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | SmartActionsHelper.java | 34 import android.util.LruCache; 82 private LruCache<String, Session> mSessionCache = new LruCache<>(MAX_RESULT_ID_TO_CACHE);
|