Searched refs:isMinimizedTask (Results 1 – 5 of 5) sorted by relevance
417 assertThat(repo.isMinimizedTask(taskId = 0)).isFalse() in minimizeTaskNotCalled_noTasksMinimized()418 assertThat(repo.isMinimizedTask(taskId = 1)).isFalse() in minimizeTaskNotCalled_noTasksMinimized()425 assertThat(repo.isMinimizedTask(taskId = 0)).isTrue() in minimizeTask_onlyThatTaskIsMinimized()426 assertThat(repo.isMinimizedTask(taskId = 1)).isFalse() in minimizeTask_onlyThatTaskIsMinimized()427 assertThat(repo.isMinimizedTask(taskId = 2)).isFalse() in minimizeTask_onlyThatTaskIsMinimized()435 assertThat(repo.isMinimizedTask(taskId = 0)).isFalse() in unminimizeTask_taskNoLongerMinimized()436 assertThat(repo.isMinimizedTask(taskId = 1)).isFalse() in unminimizeTask_taskNoLongerMinimized()437 assertThat(repo.isMinimizedTask(taskId = 2)).isFalse() in unminimizeTask_taskNoLongerMinimized()444 assertThat(repo.isMinimizedTask(taskId = 0)).isFalse() in unminimizeTask_nonExistentTask_doesntCrash()445 assertThat(repo.isMinimizedTask(taskId = 1)).isFalse() in unminimizeTask_nonExistentTask_doesntCrash()[all …]
103 assertThat(desktopTaskRepo.isMinimizedTask(taskId = task.taskId)).isFalse() in addPendingMinimizeTransition_taskIsNotMinimized()117 assertThat(desktopTaskRepo.isMinimizedTask(taskId = task.taskId)).isFalse() in onTransitionReady_noPendingTransition_taskIsNotMinimized()135 assertThat(desktopTaskRepo.isMinimizedTask(taskId = task.taskId)).isFalse() in onTransitionReady_differentPendingTransition_taskIsNotMinimized()152 assertThat(desktopTaskRepo.isMinimizedTask(taskId = task.taskId)).isFalse() in onTransitionReady_pendingTransition_noTaskChange_taskVisible_taskIsNotMinimized()169 assertThat(desktopTaskRepo.isMinimizedTask(taskId = task.taskId)).isTrue() in onTransitionReady_pendingTransition_noTaskChange_taskInvisible_taskIsMinimized()185 assertThat(desktopTaskRepo.isMinimizedTask(taskId = task.taskId)).isTrue() in onTransitionReady_pendingTransition_changeTaskToBack_taskIsMinimized()204 assertThat(desktopTaskRepo.isMinimizedTask(taskId = task.taskId)).isTrue() in onTransitionReady_transitionMergedFromPending_taskIsMinimized()
187 fun isMinimizedTask(taskId: Int): Boolean { in <lambda>() method220 .filter { taskId -> !isMinimizedTask(taskId) } in <lambda>()
412 if (mDesktopModeTaskRepository.get().isMinimizedTask(taskInfo.taskId)) { in getRecentTasks()
413 when(mDesktopModeTaskRepository.isMinimizedTask(3)).thenReturn(true); in testGetRecentTasks_proto2Enabled_ignoresMinimizedFreeformTasks()