OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mMemoryCache
(Results
1 - 8
of
8
) sorted by null
/packages/apps/TV/src/com/android/tv/util/
ImageCache.java
37
private final LruCache<String, ScaledBitmapInfo>
mMemoryCache
;
51
mMemoryCache
= new LruCache<String, ScaledBitmapInfo>(memCacheSize) {
110
synchronized (
mMemoryCache
) {
111
ScaledBitmapInfo old =
mMemoryCache
.put(key, bitmapInfo);
113
mMemoryCache
.put(key, old);
122
mMemoryCache
.size() + " / " +
mMemoryCache
.maxSize() + " Kbytes");
135
ScaledBitmapInfo memBitmapInfo =
mMemoryCache
.get(key);
137
int hit =
mMemoryCache
.hitCount();
138
int miss =
mMemoryCache
.missCount()
[
all
...]
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java
34
private LruCache<String, Bitmap>
mMemoryCache
;
83
mMemoryCache
= new LruCache<String, Bitmap>(memCacheSize) {
107
if (
mMemoryCache
!= null &&
mMemoryCache
.get(data) == null) {
108
mMemoryCache
.put(data, bitmap);
119
if (
mMemoryCache
!= null) {
120
final Bitmap memBitmap =
mMemoryCache
.get(data);
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
BitmapDownloader.java
70
private LruCache<String, BitmapItem>
mMemoryCache
;
112
mMemoryCache
= new LruCache<String, BitmapItem>(cacheSize) {
263
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
277
mMemoryCache
.put(bucketKey, bitmapItem);
285
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
307
bitmapItem =
mMemoryCache
.get(bucketKey);
318
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
331
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
DrawableDownloader.java
145
private LruCache<String, BitmapItem>
mMemoryCache
;
186
mMemoryCache
= new LruCache<String, BitmapItem>(cacheSize) {
207
mMemoryCache
.evictAll();
209
mMemoryCache
.trimToSize((int) (amount *
mMemoryCache
.maxSize()));
355
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
361
mMemoryCache
.remove(bucketKey);
370
mMemoryCache
.put(bucketKey, bitmapItem);
376
BitmapItem item =
mMemoryCache
.get(bucketKey);
386
BitmapItem item =
mMemoryCache
.get(bucketKey)
[
all
...]
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
78
private LruCache<String, BitmapDrawable>
mMemoryCache
;
152
mMemoryCache
= new LruCache<String, BitmapDrawable>(mCacheParams.memCacheSize) {
242
if (
mMemoryCache
!= null) {
248
mMemoryCache
.put(data, value);
296
if (
mMemoryCache
!= null) {
297
memValue =
mMemoryCache
.get(data);
400
if (
mMemoryCache
!= null) {
401
mMemoryCache
.evictAll();
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
78
private LruCache<String, BitmapDrawable>
mMemoryCache
;
152
mMemoryCache
= new LruCache<String, BitmapDrawable>(mCacheParams.memCacheSize) {
242
if (
mMemoryCache
!= null) {
248
mMemoryCache
.put(data, value);
296
if (
mMemoryCache
!= null) {
297
memValue =
mMemoryCache
.get(data);
400
if (
mMemoryCache
!= null) {
401
mMemoryCache
.evictAll();
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java
78
private LruCache<String, BitmapDrawable>
mMemoryCache
;
152
mMemoryCache
= new LruCache<String, BitmapDrawable>(mCacheParams.memCacheSize) {
242
if (
mMemoryCache
!= null) {
248
mMemoryCache
.put(data, value);
296
if (
mMemoryCache
!= null) {
297
memValue =
mMemoryCache
.get(data);
400
if (
mMemoryCache
!= null) {
401
mMemoryCache
.evictAll();
/frameworks/av/media/libmedia/
IMediaSource.cpp
99
mMemoryCache
.reset();
138
mMemoryCache
.gc();
161
mMemoryCache
.insert(index, mem);
163
mem =
mMemoryCache
.lookup(index);
263
}
mMemoryCache
;
Completed in 655 milliseconds