Home
last modified time | relevance | path

Searched refs:taskDescription (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DRecentTasksListTest.java84 assertNull(taskList.get(0).task1.taskDescription.getLabel()); in loadTasksInBackground_onlyKeys_noValidTaskDescription()
85 assertNull(taskList.get(0).task2.taskDescription.getLabel()); in loadTasksInBackground_onlyKeys_noValidTaskDescription()
90 String taskDescription = "Wheeee!"; in loadTasksInBackground_moreThanKeys_hasValidTaskDescription() local
92 task1.taskDescription = new ActivityManager.TaskDescription(taskDescription); in loadTasksInBackground_moreThanKeys_hasValidTaskDescription()
94 task2.taskDescription = new ActivityManager.TaskDescription(); in loadTasksInBackground_moreThanKeys_hasValidTaskDescription()
104 assertEquals(taskDescription, taskList.get(0).task1.taskDescription.getLabel()); in loadTasksInBackground_moreThanKeys_hasValidTaskDescription()
105 assertNull(taskList.get(0).task2.taskDescription.getLabel()); in loadTasksInBackground_moreThanKeys_hasValidTaskDescription()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DSingletonRunner.java60 @NonNull String taskDescription, @NonNull InterruptableTaskRunner<T> taskRunner) { in SingletonRunner()
61 Objects.requireNonNull(taskDescription); in SingletonRunner()
64 mTaskDescription = taskDescription; in SingletonRunner()
/packages/services/Car/car-lib/src/android/car/app/
DRemoteCarDefaultRootTaskView.java82 if (taskInfo.taskDescription != null) {
85 taskInfo.taskDescription.getBackgroundColor());
112 if (mRootTask.taskId == taskInfo.taskId && taskInfo.taskDescription != null) {
115 taskInfo.taskDescription.getBackgroundColor());
DRemoteCarRootTaskView.java108 if (taskInfo.taskDescription != null) {
111 taskInfo.taskDescription.getBackgroundColor());
125 if (mRootTask.taskId == taskInfo.taskId && taskInfo.taskDescription != null) {
128 taskInfo.taskDescription.getBackgroundColor());
DControlledRemoteCarTaskView.java79 if (taskInfo.taskDescription != null) {
81 taskInfo.taskDescription.getBackgroundColor());
93 if (taskInfo.taskDescription != null) {
95 taskInfo.taskDescription.getBackgroundColor());
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentTasksProvider.java99 Drawable icon = getIconFromTaskDescription(taskInfo.taskDescription);
344 Drawable drawableIcon = getIconFromTaskDescription(task.taskDescription); in getRecentTaskIconAsync()
366 ActivityManager.TaskDescription taskDescription) { in getIconFromTaskDescription() argument
370 if (taskDescription.getInMemoryIcon() != null) { in getIconFromTaskDescription()
371 icon = taskDescription.getInMemoryIcon(); in getIconFromTaskDescription()
374 taskDescription.getIconFilename(), mContext.getUserId()); in getIconFromTaskDescription()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/
DRecentTasksProviderTest.java244 mTask.taskDescription = mTaskDescription; in getRecentTaskIconAsync_sets_iconFromTaskDescription()
267 mTask.taskDescription = mTaskDescription; in getRecentTaskIconAsync_sets_iconFromPackageManager()
292 mTask.taskDescription = mTaskDescription; in getRecentTaskIconAsync_sets_defaultIcon()
398 recentTaskInfo.taskDescription = mock(ActivityManager.TaskDescription.class); in createRecentTaskInfo()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetView.java309 && target.taskInfo.taskDescription != null) in getDefaultBackgroundColor()
310 ? target.taskInfo.taskDescription.getBackgroundColor() in getDefaultBackgroundColor()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskIconCache.java151 TaskDescription desc = task.taskDescription; in getCacheEntry()
189 activityInfo, task.key.userId, task.taskDescription); in getCacheEntry()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java628 public void setTaskDescription(ActivityManager.TaskDescription taskDescription) { in setTaskDescription() argument
629 taskDescription.setIcon(Icon.createWithResource(this, R.drawable.ic_launcher_settings)); in setTaskDescription()
630 super.setTaskDescription(taskDescription); in setTaskDescription()