Home
last modified time | relevance | path

Searched refs:isMinimizedTask (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepositoryTest.kt417 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 …]
DDesktopTasksLimiterTest.kt103 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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepository.kt187 fun isMinimizedTask(taskId: Int): Boolean { in <lambda>() method
220 .filter { taskId -> !isMinimizedTask(taskId) } in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentTasksController.java412 if (mDesktopModeTaskRepository.get().isMinimizedTask(taskInfo.taskId)) { in getRecentTasks()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DRecentTasksControllerTest.java413 when(mDesktopModeTaskRepository.isMinimizedTask(3)).thenReturn(true); in testGetRecentTasks_proto2Enabled_ignoresMinimizedFreeformTasks()