Searched refs:cacheSize (Results 1 – 13 of 13) sorted by relevance
77 public AlbumSetDataLoader(AbstractGalleryActivity activity, MediaSet albumSet, int cacheSize) { in AlbumSetDataLoader() argument79 mCoverItem = new MediaItem[cacheSize]; in AlbumSetDataLoader()80 mData = new MediaSet[cacheSize]; in AlbumSetDataLoader()81 mTotalCount = new int[cacheSize]; in AlbumSetDataLoader()82 mItemVersion = new long[cacheSize]; in AlbumSetDataLoader()83 mSetVersion = new long[cacheSize]; in AlbumSetDataLoader()
303 long cacheSize = mAppEntry.cacheSize + mAppEntry.externalCacheSize; in refreshSizeInfo() local304 if (mLastCacheSize != cacheSize) { in refreshSizeInfo()305 mLastCacheSize = cacheSize; in refreshSizeInfo()306 mCacheSize.setSummary(getSizeStr(cacheSize)); in refreshSizeInfo()319 if (cacheSize <= 0) { in refreshSizeInfo()
83 public boolean reachedStorageMax(long cacheSize, long pendingDelete) { in reachedStorageMax() argument84 return cacheSize - pendingDelete > mMaxCacheSize; in reachedStorageMax()
81 public boolean reachedStorageMax(long cacheSize, long pendingDelete) { in reachedStorageMax() argument
213 boolean reachedStorageMax(long cacheSize, long pendingDelete); in reachedStorageMax() argument
123 int cacheSize = 1024 * 1024 * memClass; in BitmapDownloader() local124 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { in BitmapDownloader()
189 int cacheSize = 1024 * 1024 * memClass; in DrawableDownloader() local190 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { in DrawableDownloader()
42 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh()
92 AlbumDataLoader source, int cacheSize) { in AlbumSlidingWindow() argument95 mData = new AlbumEntry[cacheSize]; in AlbumSlidingWindow()
95 AlbumSetDataLoader source, AlbumSetSlotRenderer.LabelSpec labelSpec, int cacheSize) { in AlbumSetSlidingWindow() argument98 mData = new AlbumSetEntry[cacheSize]; in AlbumSetSlidingWindow()
218 mCacheUsagePref.setSize(details.cacheSize); in updateDetails()
534 updatePreference(item, details.cacheSize); in updateDetails()
META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...