Home
last modified time | relevance | path

Searched refs:thumbnailData (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/recents/data/
DFakeTaskThumbnailDataSource.kt39 val thumbnailData = mock<ThumbnailData>() in updateThumbnailInBackground() constant
40 whenever(thumbnailData.thumbnail).thenReturn(taskIdToBitmap[task.key.id]) in updateThumbnailInBackground()
42 task.thumbnail = thumbnailData in updateThumbnailInBackground()
43 callback.accept(thumbnailData) in updateThumbnailInBackground()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentTasksProvider.java239 ThumbnailData thumbnailData = getRecentTaskThumbnailData(taskId); in getRecentTaskThumbnail() local
240 return thumbnailData != null ? thumbnailData.getThumbnail() : null; in getRecentTaskThumbnail()
246 ThumbnailData thumbnailData = getRecentTaskThumbnailData(taskId); in getRecentTaskInsets() local
247 return thumbnailData != null ? thumbnailData.insets : new Rect(); in getRecentTaskInsets()
326 ThumbnailData thumbnailData = mActivityManagerWrapper.getTaskThumbnail( in getRecentTaskThumbnailAsync() local
328 mRecentTaskIdToTaskMap.get(taskId).thumbnail = thumbnailData; in getRecentTaskThumbnailAsync()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchTaskView.java181 updateFunction.updateThumbnailInBackground(task, thumbnailData -> in applyThumbnail()
182 applyThumbnail(thumbnailView, task.colorBackground, thumbnailData)); in applyThumbnail()
188 @Nullable ThumbnailData thumbnailData) { in applyThumbnail() argument
189 Bitmap bm = thumbnailData == null ? null : thumbnailData.getThumbnail(); in applyThumbnail()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskThumbnailViewDeprecated.java224 public void setThumbnail(@Nullable Task task, @Nullable ThumbnailData thumbnailData, in setThumbnail() argument
228 mThumbnailData = (thumbnailData != null && thumbnailData.getThumbnail() != null) in setThumbnail()
229 ? thumbnailData : null; in setThumbnail()
241 public void setThumbnail(@Nullable Task task, @Nullable ThumbnailData thumbnailData) { in setThumbnail() argument
242 setThumbnail(task, thumbnailData, true /* refreshNow */); in setThumbnail()
DTaskView.kt865 .updateThumbnailInBackground(it.task) { thumbnailData -> in <lambda>() method
866 it.thumbnailViewDeprecated.setThumbnail(it.task, thumbnailData) in <lambda>()
944 val thumbnailData = thumbnailDatas?.get(it.task.key.id) in <lambda>() constant
945 if (thumbnailData != null) { in <lambda>()
946 it.thumbnailViewDeprecated.setThumbnail(it.task, thumbnailData) in <lambda>()
DRecentsView.java1019 public Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData) { in onTaskThumbnailChanged() argument
1028 thumbnailData); in onTaskThumbnailChanged() local
1064 HashMap<Integer, ThumbnailData> thumbnailData, boolean refreshNow) { in updateThumbnail() argument
1066 for (Map.Entry<Integer, ThumbnailData> entry : thumbnailData.entrySet()) { in updateThumbnail()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskThumbnailCache.java204 ThumbnailData thumbnailData = ActivityManagerWrapper.getInstance() in updateThumbnailInBackground()
206 return thumbnailData.getThumbnail() != null ? thumbnailData in updateThumbnailInBackground()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskVisualsChangeListener.java32 default Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData) { in onTaskThumbnailChanged() argument