Home
last modified time | relevance | path

Searched refs:mHighResLoadingState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskThumbnailCache.java47 private final HighResLoadingState mHighResLoadingState; field in TaskThumbnailCache
115 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()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DRecentsModelTest.java70 private TaskThumbnailCache.HighResLoadingState mHighResLoadingState; field in RecentsModelTest
92 when(mHighResLoadingState.isEnabled()).thenReturn(true); in setup()
93 when(mThumbnailCache.getHighResLoadingState()).thenReturn(mHighResLoadingState); in setup()
122 when(mHighResLoadingState.isEnabled()).thenReturn(false); in notPreloadOnHighResolutionDisabled()