Searched refs:mThumbnailCache (Results 1 – 4 of 4) sorted by relevance
68 private final TaskThumbnailCache mThumbnailCache; field in RecentsModel77 mThumbnailCache = new TaskThumbnailCache(context, RECENTS_MODEL_EXECUTOR); in RecentsModel()88 return mThumbnailCache; in getThumbnailCache()136 if (!mThumbnailCache.isPreloadingEnabled()) { in onTaskStackChangedBackground()151 mTaskList.getTaskKeys(mThumbnailCache.getCacheSize(), tasks -> { in onTaskStackChangedBackground()158 mThumbnailCache.updateThumbnailInCache(task); in onTaskStackChangedBackground()165 mThumbnailCache.updateTaskSnapShot(taskId, snapshot); in onTaskSnapshotChanged()178 mThumbnailCache.remove(stubKey); in onTaskRemoved()184 mThumbnailCache.getHighResLoadingState().setVisible(false); in onTrimMemory()188 mThumbnailCache.clear(); in onTrimMemory()
39 private ThumbnailCache mThumbnailCache = new ThumbnailCache(1000); field in IconHelperTest48 mThumbnailCache, managedUser); in setUp()64 mThumbnailCache, managedUser); in testShouldShowBadge_returnFalse_onManagedUser_doNotShowBadge()71 mThumbnailCache, /* managedUser= */ null); in testShouldShowBadge_returnFalse_onManagedUser_withoutManagedUser()
67 private ThumbnailCache mThumbnailCache; field in DocumentsApplication80 return app.mThumbnailCache; in getThumbnailCache()138 mThumbnailCache = new ThumbnailCache(memoryClassBytes / 4); in onCreate()173 mThumbnailCache.onTrimMemory(level); in onTrimMemory()
60 private final ThumbnailCache mThumbnailCache; field in IconHelper84 mThumbnailCache = thumbnailCache; in IconHelper()203 final Result result = mThumbnailCache.getThumbnail(uri, userId, mCurrentSize); in loadThumbnail()