Searched refs:thumbnailData (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/recents/data/ |
D | FakeTaskThumbnailDataSource.kt | 39 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/ |
D | RecentTasksProvider.java | 239 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/ |
D | KeyboardQuickSwitchTaskView.java | 181 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/ |
D | TaskThumbnailViewDeprecated.java | 224 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()
|
D | TaskView.kt | 865 .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>()
|
D | RecentsView.java | 1019 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/ |
D | TaskThumbnailCache.java | 204 ThumbnailData thumbnailData = ActivityManagerWrapper.getInstance() in updateThumbnailInBackground() 206 return thumbnailData.getThumbnail() != null ? thumbnailData in updateThumbnailInBackground()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TaskVisualsChangeListener.java | 32 default Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData) { in onTaskThumbnailChanged() argument
|