Home
last modified time | relevance | path

Searched refs:setMemCacheSizePercent (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailActivity.java77 cacheParams.setMemCacheSizePercent(0.25f); // Set memory cache to 25% of app memory in onCreate()
DImageGridFragment.java84 cacheParams.setMemCacheSizePercent(0.25f); // Set memory cache to 25% of app memory in onCreate()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageCache.java504 public void setMemCacheSizePercent(float percent) { in setMemCacheSizePercent() method in ImageCache.ImageCacheParams