Home
last modified time | relevance | path

Searched refs:taskKey (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java148 Task.TaskKey taskKey = new Task.TaskKey(t.persistentId, t.stackId, t.baseIntent, in preloadPlan() local
156 boolean isLaunchTarget = taskKey.id == runningTaskId; in preloadPlan()
167 ActivityInfo info = loader.getAndUpdateActivityInfo(taskKey); in preloadPlan()
168 String title = loader.getAndUpdateActivityTitle(taskKey, t.taskDescription); in preloadPlan()
169 String titleDescription = loader.getAndUpdateContentDescription(taskKey, res); in preloadPlan()
173 ? loader.getAndUpdateActivityIcon(taskKey, t.taskDescription, res, false) in preloadPlan()
175 Bitmap thumbnail = loader.getAndUpdateThumbnail(taskKey, false /* loadIfNotCached */); in preloadPlan()
182 Task task = new Task(taskKey, t.affiliatedTaskId, t.affiliatedTaskColor, icon, in preloadPlan()
188 affiliatedTaskCounts.put(taskKey.id, affiliatedTaskCounts.get(taskKey.id, 0) + 1); in preloadPlan()
189 affiliatedTasks.put(taskKey.id, taskKey); in preloadPlan()
[all …]
DRecentsTaskLoader.java454 String getAndUpdateActivityTitle(Task.TaskKey taskKey, ActivityManager.TaskDescription td) { in getAndUpdateActivityTitle() argument
462 String label = mActivityLabelCache.getAndInvalidateIfModified(taskKey); in getAndUpdateActivityTitle()
467 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateActivityTitle()
469 label = ssp.getBadgedActivityLabel(activityInfo, taskKey.userId); in getAndUpdateActivityTitle()
470 mActivityLabelCache.put(taskKey, label); in getAndUpdateActivityTitle()
482 String getAndUpdateContentDescription(Task.TaskKey taskKey, Resources res) { in getAndUpdateContentDescription() argument
486 String label = mContentDescriptionCache.getAndInvalidateIfModified(taskKey); in getAndUpdateContentDescription()
492 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateContentDescription()
494 label = ssp.getBadgedContentDescription(activityInfo, taskKey.userId, res); in getAndUpdateContentDescription()
495 mContentDescriptionCache.put(taskKey, label); in getAndUpdateContentDescription()
[all …]
DTaskStack.java928 public int compare(Task.TaskKey taskKey, Task.TaskKey taskKey2) { in createAffiliatedGroupings()
929 return Long.compare(taskKey.firstActiveTime, taskKey2.firstActiveTime); in createAffiliatedGroupings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java973 public boolean startActivityFromRecents(Context context, Task.TaskKey taskKey, String taskName, in startActivityFromRecents() argument
977 if (taskKey.stackId == DOCKED_STACK_ID) { in startActivityFromRecents()
986 taskKey.id, options == null ? null : options.toBundle()); in startActivityFromRecents()