Home
last modified time | relevance | path

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

/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentTasksViewModel.java60 int index = mRecentTaskIds.indexOf(taskId);
70 int index = mRecentTaskIds.indexOf(taskId);
78 private List<Integer> mRecentTaskIds; field in RecentTasksViewModel
91 mRecentTaskIds = new ArrayList<>(); in RecentTasksViewModel()
159 if (!safeCheckIndex(mRecentTaskIds, index)) { in getRecentTaskIconAt()
162 return mDataStore.getRecentTaskIcon(mRecentTaskIds.get(index)); in getRecentTaskIconAt()
171 if (!safeCheckIndex(mRecentTaskIds, index)) { in getRecentTaskThumbnailAt()
174 if (mTaskIdToCroppedThumbnailMap.containsKey(mRecentTaskIds.get(index))) { in getRecentTaskThumbnailAt()
175 return mTaskIdToCroppedThumbnailMap.get(mRecentTaskIds.get(index)); in getRecentTaskThumbnailAt()
177 Bitmap thumbnail = mDataStore.getRecentTaskThumbnail(mRecentTaskIds.get(index)); in getRecentTaskThumbnailAt()
[all …]
DRecentTasksProvider.java75 private List<Integer> mRecentTaskIds; field in RecentTasksProvider
114 mRecentTaskIds = new ArrayList<>(); in RecentTasksProvider()
171 mRecentTaskIds = new ArrayList<>(groupedRecentTasks.length); in getRecentTasksAsync()
190 mRecentTaskIds.add(task.key.id); in getRecentTasksAsync()
212 return new ArrayList<>(mRecentTaskIds); in getRecentTaskIds()
301 mRecentTaskIds.remove((Integer) taskId); in removeTaskFromRecents()
312 mRecentTaskIds.clear(); in clearCache()