Home
last modified time | relevance | path

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

/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentTasksProvider.java77 Map<Integer, Task> mRecentTaskIdToTaskMap; field in RecentTasksProvider
83 if (!mRecentTaskIdToTaskMap.containsKey(taskId)) {
86 mRecentTaskIdToTaskMap.get(taskId).thumbnail = snapshot;
96 if (!mRecentTaskIdToTaskMap.containsKey(taskInfo.taskId)) {
103 mRecentTaskIdToTaskMap.get(taskInfo.taskId).icon = icon;
115 mRecentTaskIdToTaskMap = new HashMap<>(); in RecentTasksProvider()
172 mRecentTaskIdToTaskMap = new HashMap<>(groupedRecentTasks.length); in getRecentTasksAsync()
191 mRecentTaskIdToTaskMap.put(task.key.id, task); in getRecentTasksAsync()
218 return mRecentTaskIdToTaskMap.containsKey(taskId) in getRecentTaskComponentName()
219 ? mRecentTaskIdToTaskMap.get(taskId).getTopComponent() : null; in getRecentTaskComponentName()
[all …]
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/
DRecentTasksProviderTest.java141 mRecentTasksProvider.mRecentTaskIdToTaskMap.clear(); in cleanup()
247 mRecentTasksProvider.mRecentTaskIdToTaskMap.put(taskId, mTask); in getRecentTaskIconAsync_sets_iconFromTaskDescription()
273 mRecentTasksProvider.mRecentTaskIdToTaskMap.put(taskId, mTask); in getRecentTaskIconAsync_sets_iconFromPackageManager()
296 mRecentTasksProvider.mRecentTaskIdToTaskMap.put(taskId, mTask); in getRecentTaskIconAsync_sets_defaultIcon()