Searched refs:isForegroundTask (Results 1 – 6 of 6) sorted by relevance
103 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()
32 val isForegroundTask: Boolean, constant in com.android.systemui.mediaprojection.appselector.data.RecentTask38 isForegroundTask: Boolean,48 isForegroundTask,
88 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()
66 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>()
153 !task.isForegroundTask) { in <lambda>()163 if (pssAppSelectorAbruptExitFix() && task.isForegroundTask) { in <lambda>()
86 .filter { it.isForegroundTask } in <lambda>()