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/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapDownloader.java
80
private final LruCache<String, BitmapItem>
mMemoryCache
;
124
mMemoryCache
= new LruCache<String, BitmapItem>(cacheSize) {
137
mMemoryCache
.evictAll();
296
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
310
mMemoryCache
.put(bucketKey, bitmapItem);
318
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
340
bitmapItem =
mMemoryCache
.get(bucketKey);
351
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
364
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
373
Map<String, BitmapItem> snapshot =
mMemoryCache
.snapshot()
[
all
...]
DrawableDownloader.java
149
private final LruCache<String, BitmapItem>
mMemoryCache
;
190
mMemoryCache
= new LruCache<String, BitmapItem>(cacheSize) {
211
mMemoryCache
.evictAll();
213
mMemoryCache
.trimToSize((int) (amount *
mMemoryCache
.maxSize()));
359
BitmapItem bitmapItem =
mMemoryCache
.get(bucketKey);
365
mMemoryCache
.remove(bucketKey);
374
mMemoryCache
.put(bucketKey, bitmapItem);
380
BitmapItem item =
mMemoryCache
.get(bucketKey);
390
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 243 milliseconds