Searched refs:memClass (Results 1 – 2 of 2) sorted by relevance
117 int memClass = ((ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE)) in BitmapDownloader() local119 memClass = memClass / MEM_TO_CACHE; in BitmapDownloader()120 if (memClass > CACHE_HARD_LIMIT) { in BitmapDownloader()121 memClass = CACHE_HARD_LIMIT; in BitmapDownloader()123 int cacheSize = 1024 * 1024 * memClass; in BitmapDownloader()
183 int memClass = ((ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE)) in DrawableDownloader() local185 memClass = memClass / MEM_TO_CACHE; in DrawableDownloader()186 if (memClass > CACHE_HARD_LIMIT) { in DrawableDownloader()187 memClass = CACHE_HARD_LIMIT; in DrawableDownloader()189 int cacheSize = 1024 * 1024 * memClass; in DrawableDownloader()