Home
last modified time | relevance | path

Searched refs:isForegroundTask (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/
DShellRecentTaskListProviderTest.kt103 assertThat(result[0].isForegroundTask).isFalse() in loadRecentTasks_singleTask_returnsTaskAsNotForeground()
114 assertThat(result[0].isForegroundTask).isTrue() in loadRecentTasks_singleTaskPair_returnsTasksAsForeground()
127 assertThat(result.map { it.isForegroundTask }).containsExactly(false, true, false).inOrder() in loadRecentTasks_multipleTasks_returnsSecondVisibleTaskAsForegroundTask()
140 assertThat(result.map { it.isForegroundTask }) in loadRecentTasks_multipleTasks_returnsSecondInvisibleTaskAsNotForegroundTask()
155 assertThat(result.map { it.isForegroundTask }) in loadRecentTasks_secondTaskIsGroupedAndVisible_marksBothGroupedTasksAsForeground()
170 assertThat(result.map { it.isForegroundTask }) in loadRecentTasks_firstTaskIsGroupedAndVisible_marksBothGroupedTasksAsForeground()
185 assertThat(result.map { it.isForegroundTask }) in loadRecentTasks_secondTaskIsGroupedAndInvisible_marksBothGroupedTasksAsNotForeground()
200 assertThat(result.map { it.isForegroundTask }) in loadRecentTasks_firstTaskIsGroupedAndInvisible_marksBothGroupedTasksAsNotForeground()
240 isForegroundTask = false, in createRecentTask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTask.kt32 val isForegroundTask: Boolean, constant in com.android.systemui.mediaprojection.appselector.data.RecentTask
38 isForegroundTask: Boolean,
48 isForegroundTask,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorControllerTest.kt88 createRecentTask(taskId = 1, isForegroundTask = false), in <lambda>()
89 createRecentTask(taskId = 2, isForegroundTask = true), in <lambda>()
90 createRecentTask(taskId = 3, isForegroundTask = true), in <lambda>()
91 createRecentTask(taskId = 4, isForegroundTask = false), in <lambda>()
250 isForegroundTask: Boolean = false in createRecentTask()
259 isForegroundTask = isForegroundTask, in createRecentTask()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionRecentsViewControllerTest.kt66 isForegroundTask = false, in <lambda>()
79 isForegroundTask = false, in <lambda>()
133 assertThat(fullScreenTask.isForegroundTask).isFalse() in <lambda>()
166 val foregroundTask = task.copy(isForegroundTask = true) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionRecentsViewController.kt153 !task.isForegroundTask) { in <lambda>()
163 if (pssAppSelectorAbruptExitFix() && task.isForegroundTask) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorController.kt86 .filter { it.isForegroundTask } in <lambda>()