Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/EnterLegacySplitScreenTest.kt +20 −5 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ class EnterLegacySplitScreenTest( rotationName: String, rotation: Int ) : SplitScreenTestBase(rotationName, rotation) { private val letterBox = "Letterbox" private val splitScreenSetup: FlickerBuilder get() = FlickerBuilder(instrumentation).apply { val testLaunchActivity = "launch_splitScreen_test_activity" Loading @@ -85,11 +87,6 @@ class EnterLegacySplitScreenTest( layersTrace { navBarLayerIsAlwaysVisible() statusBarLayerIsAlwaysVisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, secondaryApp.defaultWindowName, nonResizeableApp.defaultWindowName) ) } windowManagerTrace { navBarWindowIsAlwaysVisible() Loading @@ -116,6 +113,9 @@ class EnterLegacySplitScreenTest( dockedStackPrimaryBoundsIsVisible( rotation, splitScreenApp.defaultWindowName, 169271943) dockedStackDividerBecomesVisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName) ) } windowManagerTrace { end { Loading Loading @@ -147,6 +147,10 @@ class EnterLegacySplitScreenTest( dockedStackSecondaryBoundsIsVisible( rotation, secondaryApp.defaultWindowName, 169271943) dockedStackDividerBecomesVisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, secondaryApp.defaultWindowName) ) } windowManagerTrace { end { Loading Loading @@ -176,6 +180,9 @@ class EnterLegacySplitScreenTest( assertions { layersTrace { dockedStackDividerIsInvisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, nonResizeableApp.defaultWindowName) ) } windowManagerTrace { end { Loading Loading @@ -207,6 +214,10 @@ class EnterLegacySplitScreenTest( val displayBounds = WindowUtils.getDisplayBounds(rotation) this.hasVisibleRegion(nonResizeableApp.defaultWindowName, displayBounds) } visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, nonResizeableApp.defaultWindowName, letterBox) ) } windowManagerTrace { end { Loading Loading @@ -239,6 +250,10 @@ class EnterLegacySplitScreenTest( val displayBounds = WindowUtils.getDisplayBounds(rotation) this.hasVisibleRegion(nonResizeableApp.defaultWindowName, displayBounds) } visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, nonResizeableApp.defaultWindowName, letterBox) ) } windowManagerTrace { end { Loading Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/EnterLegacySplitScreenTest.kt +20 −5 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ class EnterLegacySplitScreenTest( rotationName: String, rotation: Int ) : SplitScreenTestBase(rotationName, rotation) { private val letterBox = "Letterbox" private val splitScreenSetup: FlickerBuilder get() = FlickerBuilder(instrumentation).apply { val testLaunchActivity = "launch_splitScreen_test_activity" Loading @@ -85,11 +87,6 @@ class EnterLegacySplitScreenTest( layersTrace { navBarLayerIsAlwaysVisible() statusBarLayerIsAlwaysVisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, secondaryApp.defaultWindowName, nonResizeableApp.defaultWindowName) ) } windowManagerTrace { navBarWindowIsAlwaysVisible() Loading @@ -116,6 +113,9 @@ class EnterLegacySplitScreenTest( dockedStackPrimaryBoundsIsVisible( rotation, splitScreenApp.defaultWindowName, 169271943) dockedStackDividerBecomesVisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName) ) } windowManagerTrace { end { Loading Loading @@ -147,6 +147,10 @@ class EnterLegacySplitScreenTest( dockedStackSecondaryBoundsIsVisible( rotation, secondaryApp.defaultWindowName, 169271943) dockedStackDividerBecomesVisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, secondaryApp.defaultWindowName) ) } windowManagerTrace { end { Loading Loading @@ -176,6 +180,9 @@ class EnterLegacySplitScreenTest( assertions { layersTrace { dockedStackDividerIsInvisible() visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, nonResizeableApp.defaultWindowName) ) } windowManagerTrace { end { Loading Loading @@ -207,6 +214,10 @@ class EnterLegacySplitScreenTest( val displayBounds = WindowUtils.getDisplayBounds(rotation) this.hasVisibleRegion(nonResizeableApp.defaultWindowName, displayBounds) } visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, nonResizeableApp.defaultWindowName, letterBox) ) } windowManagerTrace { end { Loading Loading @@ -239,6 +250,10 @@ class EnterLegacySplitScreenTest( val displayBounds = WindowUtils.getDisplayBounds(rotation) this.hasVisibleRegion(nonResizeableApp.defaultWindowName, displayBounds) } visibleLayersShownMoreThanOneConsecutiveEntry( listOf(launcherPackageName, splitScreenApp.defaultWindowName, nonResizeableApp.defaultWindowName, letterBox) ) } windowManagerTrace { end { Loading