Home
last modified time | relevance | path

Searched refs:isDesktopModeShowing (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepositoryTest.kt461 assertThat(repo.isDesktopModeShowing(displayId = 0)).isFalse() in isDesktopModeShowing_noActiveTasks_returnsFalse()
469 assertThat(repo.isDesktopModeShowing(displayId = 0)).isFalse() in isDesktopModeShowing_noTasksVisible_returnsFalse()
478 assertThat(repo.isDesktopModeShowing(displayId = 0)).isTrue() in isDesktopModeShowing_tasksActiveAndVisible_returnsTrue()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepository.kt209 fun isDesktopModeShowing(displayId: Int): Boolean = getVisibleTaskCount(displayId) > 0 in <lambda>() method
DDesktopTasksController.kt968 if (!desktopModeTaskRepository.isDesktopModeShowing(task.displayId)) { in <lambda>()
999 if (desktopModeTaskRepository.isDesktopModeShowing(task.displayId)) { in <lambda>()