Searched refs:mImageCache (Results 1 – 5 of 5) sorted by relevance
42 private ImageCache mImageCache; field in ImageCacheTest46 mImageCache = ImageCache.newInstance(0.1f); in setUp()54 mImageCache.putIfNeeded(INFO_50); in testPutIfLarger_smaller()55 assertWithMessage("before").that(mImageCache.get(KEY)).isSameInstanceAs(INFO_50); in testPutIfLarger_smaller()57 mImageCache.putIfNeeded(INFO_25); in testPutIfLarger_smaller()58 assertWithMessage("after").that(mImageCache.get(KEY)).isSameInstanceAs(INFO_50); in testPutIfLarger_smaller()63 mImageCache.putIfNeeded(INFO_50); in testPutIfLarger_larger()64 assertWithMessage("before").that(mImageCache.get(KEY)).isSameInstanceAs(INFO_50); in testPutIfLarger_larger()66 mImageCache.putIfNeeded(INFO_100); in testPutIfLarger_larger()67 assertWithMessage("after").that(mImageCache.get(KEY)).isSameInstanceAs(INFO_100); in testPutIfLarger_larger()[all …]
33 private final ArrayList<ImageData> mImageCache; field in StockSource45 mImageCache = new ArrayList<ImageData>(PHOTOS.length); in StockSource()59 mImageCache.add(imageData); in StockSource()77 mImageList.addAll(mImageCache); in findImages()101 return mImageCache.get(idx); in naturalNext()108 return mImageCache.get(idx); in naturalPrevious()
123 private HashMap<Path, ImageEntry> mImageCache = field in PhotoDataAdapter296 ImageEntry entry = mImageCache.get(path); in updateScreenNail()331 ImageEntry entry = mImageCache.get(path); in updateFullImage()373 for (ImageEntry entry : mImageCache.values()) { in pause()378 mImageCache.clear(); in pause()421 ImageEntry e = mImageCache.get(item.getPath()); in uploadScreenNail()454 ImageEntry entry = mImageCache.get(item.getPath()); in getScreenNail()524 ImageEntry entry = mImageCache.get(getPath(mCurrentIndex + offset)); in getLoadingState()602 ImageEntry entry = mImageCache.get(getPath(mCurrentIndex)); in updateTileProvider()677 for (ImageEntry entry : mImageCache.values()) { in updateImageRequests()[all …]
280 private final ImageCache mImageCache; field in ImageLoader.LoadBitmapTask318 return mImageCache.get(mKey); in getFromCache()333 mImageCache = imageCache; in LoadBitmapTask()352 mImageCache.putIfNeeded(bitmapInfo); in doInBackground()
81 private ImageMemoryCache mImageCache; field in RadioAppService105 mImageCache = new ImageMemoryCache(mRadioManager, 1000); in onCreate()114 mBrowseTree = new BrowseTree(this, mImageCache); in onCreate()115 mMediaSession = new TunerSession(this, mBrowseTree, mWrapper, mImageCache); in onCreate()