Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DRecentsTaskLoader.java270 String getAndUpdateActivityTitle(TaskKey taskKey, ActivityManager.TaskDescription td) { in getAndUpdateActivityTitle() argument
276 String label = mActivityLabelCache.getAndInvalidateIfModified(taskKey); in getAndUpdateActivityTitle()
281 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateActivityTitle()
284 taskKey.userId); in getAndUpdateActivityTitle()
285 mActivityLabelCache.put(taskKey, label); in getAndUpdateActivityTitle()
297 String getAndUpdateContentDescription(TaskKey taskKey, ActivityManager.TaskDescription td) { in getAndUpdateContentDescription() argument
299 String label = mContentDescriptionCache.getAndInvalidateIfModified(taskKey); in getAndUpdateContentDescription()
305 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateContentDescription()
308 activityInfo, taskKey.userId, td); in getAndUpdateContentDescription()
315 mContentDescriptionCache.put(taskKey, label); in getAndUpdateContentDescription()
[all …]
DRecentsTaskLoadPlan.java115 TaskKey taskKey = new TaskKey(t.persistentId, windowingMode, t.baseIntent, in preloadPlan() local
120 boolean isLaunchTarget = taskKey.id == runningTaskId; in preloadPlan()
122 ActivityInfo info = loader.getAndUpdateActivityInfo(taskKey); in preloadPlan()
129 ? loader.getAndUpdateActivityTitle(taskKey, t.taskDescription) in preloadPlan()
132 ? loader.getAndUpdateContentDescription(taskKey, t.taskDescription) in preloadPlan()
135 ? loader.getAndUpdateActivityIcon(taskKey, t.taskDescription, false) in preloadPlan()
137 ThumbnailData thumbnail = loader.getAndUpdateThumbnail(taskKey, in preloadPlan()
151 Task task = new Task(taskKey, icon, in preloadPlan()
178 TaskKey taskKey = task.key; in executePlan() local
191 task.icon = loader.getAndUpdateActivityIcon(taskKey, task.taskDescription, in executePlan()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DIconLoader.java58 public ActivityInfo getAndUpdateActivityInfo(Task.TaskKey taskKey) { in getAndUpdateActivityInfo() argument
59 ComponentName cn = taskKey.getComponent(); in getAndUpdateActivityInfo()
62 activityInfo = PackageManagerWrapper.getInstance().getActivityInfo(cn, taskKey.userId); in getAndUpdateActivityInfo()
85 public Drawable getAndInvalidateIfModified(Task.TaskKey taskKey, in getAndInvalidateIfModified() argument
88 Drawable icon = mIconCache.getAndInvalidateIfModified(taskKey); in getAndInvalidateIfModified()
94 icon = createNewIconForTask(taskKey, td, false /* returnDefault */); in getAndInvalidateIfModified()
96 mIconCache.put(taskKey, icon); in getAndInvalidateIfModified()
105 private Drawable createNewIconForTask(Task.TaskKey taskKey, in createNewIconForTask() argument
107 int userId = taskKey.userId; in createNewIconForTask()
115 ApplicationInfo appInfo = pm.getApplicationInfo(taskKey.getPackageName(), in createNewIconForTask()
[all …]
DTask.java233 public static Task from(TaskKey taskKey, TaskInfo taskInfo, boolean isLocked) { in from() argument
235 return new Task(taskKey, in from()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java281 public void startActivityFromRecentsAsync(Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync() argument
283 startActivityFromRecentsAsync(taskKey, options, WINDOWING_MODE_UNDEFINED, in startActivityFromRecentsAsync()
293 public void startActivityFromRecentsAsync(final Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync() argument
296 if (taskKey.windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) { in startActivityFromRecentsAsync()
316 result = startActivityFromRecents(taskKey.id, finalOptions); in startActivityFromRecentsAsync()