Searched refs:mHighResLoadingState (Results 1 – 2 of 2) sorted by relevance
47 private final HighResLoadingState mHighResLoadingState; field in TaskThumbnailCache115 mHighResLoadingState = new HighResLoadingState(context); in TaskThumbnailCache()158 boolean lowResolution = !mHighResLoadingState.isEnabled(); in updateThumbnailInBackground()167 return updateThumbnailInBackground(task.key, !mHighResLoadingState.isEnabled(), t -> { in updateThumbnailInBackground()254 return mHighResLoadingState; in getHighResLoadingState()261 return mEnableTaskSnapshotPreloading && mHighResLoadingState.mVisible; in isPreloadingEnabled()
70 private TaskThumbnailCache.HighResLoadingState mHighResLoadingState; field in RecentsModelTest92 when(mHighResLoadingState.isEnabled()).thenReturn(true); in setup()93 when(mThumbnailCache.getHighResLoadingState()).thenReturn(mHighResLoadingState); in setup()122 when(mHighResLoadingState.isEnabled()).thenReturn(false); in notPreloadOnHighResolutionDisabled()