Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHandleViewHolder.kt77 return taskInfo.taskDescription in <lambda>()
78 ?.let { taskDescription -> in <lambda>() method
79 if (Color.alpha(taskDescription.statusBarColor) != 0 && in <lambda>()
81 Color.valueOf(taskDescription.statusBarColor).luminance() < 0.5 in <lambda>()
83 taskDescription.systemBarsAppearance and APPEARANCE_LIGHT_STATUS_BARS == 0 in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DWindowlessSplashWindowCreator.java89 final ActivityManager.TaskDescription taskDescription; in addSplashScreenStartingWindow() local
90 if (taskInfo.taskDescription != null) { in addSplashScreenStartingWindow()
91 taskDescription = taskInfo.taskDescription; in addSplashScreenStartingWindow()
93 taskDescription = new ActivityManager.TaskDescription(); in addSplashScreenStartingWindow()
94 taskDescription.setBackgroundColor(WHITE); in addSplashScreenStartingWindow()
101 final int bgColor = taskDescription.getBackgroundColor(); in addSplashScreenStartingWindow()
DTaskSnapshotWindow.java115 final TaskDescription taskDescription = in create() local
119 snapshot, taskDescription, orientation, in create()
167 public TaskSnapshotWindow(TaskSnapshot snapshot, TaskDescription taskDescription, in TaskSnapshotWindow() argument
174 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotWindow()
DWindowlessSnapshotWindowCreator.java87 final ActivityManager.TaskDescription taskDescription = in makeTaskSnapshotWindow() local
91 taskDescription.getBackgroundColor(), snapshot.hasImeSurface(), in makeTaskSnapshotWindow()
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java141 int appearance, ActivityManager.TaskDescription taskDescription, in initiateSystemBarPainter() argument
144 windowPrivateFlags, appearance, taskDescription, 1f, requestedVisibleTypes); in initiateSystemBarPainter()
145 int backgroundColor = taskDescription.getBackgroundColor(); in initiateSystemBarPainter()
371 final ActivityManager.TaskDescription taskDescription; in getOrCreateTaskDescription() local
372 if (runningTaskInfo.taskDescription != null) { in getOrCreateTaskDescription()
373 taskDescription = runningTaskInfo.taskDescription; in getOrCreateTaskDescription()
375 taskDescription = new ActivityManager.TaskDescription(); in getOrCreateTaskDescription()
376 taskDescription.setBackgroundColor(WHITE); in getOrCreateTaskDescription()
378 return taskDescription; in getOrCreateTaskDescription()
397 final ActivityManager.TaskDescription taskDescription = in drawSnapshotOnSurface() local
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/extension/
DTaskInfo.kt26 val appearance = taskDescription?.topOpaqueSystemBarsAppearance ?: 0
32 val appearance = taskDescription?.topOpaqueSystemBarsAppearance ?: 0
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java230 public TaskDescription taskDescription; field in Task
257 ActivityManager.TaskDescription td = taskInfo.taskDescription; in from()
273 this.taskDescription = new TaskDescription(); in Task()
278 other.isLocked, other.taskDescription, other.topActivity); in Task()
289 boolean isDockable, boolean isLocked, TaskDescription taskDescription, in Task() argument
294 this.taskDescription = taskDescription; in Task()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarExpandedView.java382 ActivityManager.TaskDescription taskDescription = mTaskView.getTaskInfo().taskDescription; in updateHandleColor() local
383 if (taskDescription.getStatusBarColor() != Color.TRANSPARENT) { in updateHandleColor()
384 color = taskDescription.getStatusBarColor(); in updateHandleColor()
385 } else if (taskDescription.getBackgroundColor() != Color.TRANSPARENT) { in updateHandleColor()
386 color = taskDescription.getBackgroundColor(); in updateHandleColor()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskView.java129 if (taskInfo.taskDescription != null) { in onTaskAppeared()
130 final int bgColor = taskInfo.taskDescription.getBackgroundColor(); in onTaskAppeared()
137 if (taskInfo.taskDescription != null) { in onTaskInfoChanged()
138 final int bgColor = taskInfo.taskDescription.getBackgroundColor(); in onTaskInfoChanged()
DTaskViewTaskController.java696 if (mTaskInfo.taskDescription != null) { in prepareOpenAnimationInternal()
697 int backgroundColor = mTaskInfo.taskDescription.getBackgroundColor(); in prepareOpenAnimationInternal()
/frameworks/base/core/java/android/app/
DTaskInfo.java136 public ActivityManager.TaskDescription taskDescription; field in TaskInfo
423 && Objects.equals(taskDescription, that.taskDescription) in equalsForTaskOrganizer()
475 taskDescription = source.readTypedObject(ActivityManager.TaskDescription.CREATOR); in readFromParcel()
522 dest.writeTypedObject(taskDescription, flags); in writeToParcel()
DTaskStackListener.java139 onTaskDescriptionChanged(taskInfo.taskId, taskInfo.taskDescription); in onTaskDescriptionChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTask.kt47 taskInfo.taskDescription?.backgroundColor,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/
DThemeUtils.kt78 val backgroundColor = task.taskDescription?.backgroundColor ?: return systemTheme in isLight()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxUiController.java1398 TaskDescription taskDescription = mActivityRecord.taskDescription; in getLetterboxBackgroundColor() local
1401 if (taskDescription != null && taskDescription.getBackgroundColorFloating() != 0) { in getLetterboxBackgroundColor()
1402 return Color.valueOf(taskDescription.getBackgroundColorFloating()); in getLetterboxBackgroundColor()
1406 if (taskDescription != null && taskDescription.getBackgroundColor() != 0) { in getLetterboxBackgroundColor()
1407 return Color.valueOf(taskDescription.getBackgroundColor()); in getLetterboxBackgroundColor()
DAbsAppSnapshotController.java419 final ActivityManager.TaskDescription taskDescription = getTaskDescription(source); in drawAppThemeSnapshot() local
421 taskDescription.getBackgroundColor(), 255); in drawAppThemeSnapshot()
428 attrs.privateFlags, attrs.insetsFlags.appearance, taskDescription, in drawAppThemeSnapshot()
DActivityRecord.java648 TaskDescription taskDescription; // the recents information for this activity field in ActivityRecord
1155 if (taskDescription != null) { in dump()
1156 final String iconFilename = taskDescription.getIconFilename(); in dump()
1157 if (iconFilename != null || taskDescription.getLabel() != null || in dump()
1158 taskDescription.getPrimaryColor() != 0) { in dump()
1160 pw.print(" label=\""); pw.print(taskDescription.getLabel()); in dump()
1162 pw.print(" icon="); pw.print(taskDescription.getInMemoryIcon() != null in dump()
1163 ? taskDescription.getInMemoryIcon().getByteCount() + " bytes" in dump()
1166 pw.print(taskDescription.getIconResourcePackage()); in dump()
1168 pw.print(taskDescription.getIconResource()); in dump()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitScreenUtils.java134 final int taskBgColor = taskInfo.taskDescription.getBackgroundColor(); in getResizingBackgroundColor()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestRunningTaskInfoBuilder.java133 info.taskDescription = in build()
/frameworks/base/core/tests/coretests/src/android/window/
DSnapshotDrawerUtilsTest.java76 TaskDescription taskDescription = createTaskDescription(Color.WHITE, in setupSurface() local
82 taskDescription, WindowInsets.Type.defaultVisible()); in setupSurface()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java158 public void setTaskDescription(TaskDescription taskDescription) { in setTaskDescription() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java182 if (mTaskId == info.taskId && !TextUtils.isEmpty(info.taskDescription.getLabel())) { in testTaskDescriptionChanged()
184 params[1] = info.taskDescription; in testTaskDescriptionChanged()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorationTests.java274 taskInfo.taskDescription.setTopOpaqueSystemBarsAppearance( in updateRelayoutParams_freeformAndTransparentAppearance_allowsInputFallthrough()
292 taskInfo.taskDescription.setTopOpaqueSystemBarsAppearance(0); in updateRelayoutParams_freeformButOpaqueAppearance_disallowsInputFallthrough()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/
DTaskViewTransitionsTest.java84 mTaskInfo.taskDescription = mock(ActivityManager.TaskDescription.class); in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DCustomCrossActivityBackAnimationTest.kt233 taskInfo.taskDescription = ActivityManager.TaskDescription() in backMotionEventFrom()

12