Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepositoryTest.kt303 fun getVisibleTaskCount() { in getVisibleTaskCount() method
305 assertThat(repo.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(0) in getVisibleTaskCount()
309 assertThat(repo.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(1) in getVisibleTaskCount()
313 assertThat(repo.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(1) in getVisibleTaskCount()
317 assertThat(repo.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(2) in getVisibleTaskCount()
321 assertThat(repo.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(1) in getVisibleTaskCount()
325 assertThat(repo.getVisibleTaskCount(displayId = 9)).isEqualTo(0) in getVisibleTaskCount()
329 assertThat(repo.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(0) in getVisibleTaskCount()
334 assertThat(repo.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(0) in getVisibleTaskCount_multipleDisplays()
335 assertThat(repo.getVisibleTaskCount(SECOND_DISPLAY)).isEqualTo(0) in getVisibleTaskCount_multipleDisplays()
[all …]
DDesktopTasksControllerTest.kt458 assertThat(controller.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(0) in <lambda>()
466 assertThat(controller.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(2) in <lambda>()
474 assertThat(controller.getVisibleTaskCount(DEFAULT_DISPLAY)).isEqualTo(1) in <lambda>()
482 assertThat(controller.getVisibleTaskCount(SECOND_DISPLAY)).isEqualTo(1) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepository.kt89 val visibleTasksCount = getVisibleTaskCount(displayId) in <lambda>()
209 fun isDesktopModeShowing(displayId: Int): Boolean = getVisibleTaskCount(displayId) > 0 in <lambda>()
256 val prevCount = getVisibleTaskCount(displayId) in <lambda>()
263 val newCount = getVisibleTaskCount(displayId) in <lambda>()
291 fun getVisibleTaskCount(displayId: Int): Int { in <lambda>() method in com.android.wm.shell.desktopmode.DesktopModeTaskRepository
DIDesktopMode.aidl42 int getVisibleTaskCount(int displayId); in getVisibleTaskCount() method
DDesktopTasksController.kt258 fun getVisibleTaskCount(displayId: Int): Int { in <lambda>() method
259 return desktopModeTaskRepository.getVisibleTaskCount(displayId) in <lambda>()
1516 override fun getVisibleTaskCount(displayId: Int): Int { in <lambda>() method in com.android.wm.shell.desktopmode.IDesktopModeImpl
1521 { controller -> result[0] = controller.getVisibleTaskCount(displayId) }, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultMixedHandler.java356 && mDesktopTasksController.getVisibleTaskCount(DEFAULT_DISPLAY) > 0) { in handleRecentsRequest()