Home
last modified time | relevance | path

Searched refs:visibleRegion (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/pip/
DSecondaryActivityEnterPipTest.kt76 val leftLayerRegion = visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
78 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
91 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
102 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
120 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
137 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
166 val pipRegion = visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
183 it.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
205 it.visibleRegion(ComponentNameMatcher.PIP_CONTENT_OVERLAY) in <lambda>()
207 it.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rtl/
DRTLStartSecondaryWithPlaceholderTest.kt127 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWMRTLBeforeTransition()
129 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in assertWMRTLBeforeTransition()
144 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertLayerRTLBeforeTransition()
146 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in assertLayerRTLBeforeTransition()
164 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWMRTLAfterTransition()
166 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in assertWMRTLAfterTransition()
184 this.visibleRegion(ActivityEmbeddingAppHelper.PLACEHOLDER_PRIMARY_COMPONENT) in assertLayerRTLAfterTransition()
186 this.visibleRegion(ActivityEmbeddingAppHelper.PLACEHOLDER_SECONDARY_COMPONENT) in assertLayerRTLAfterTransition()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/
DShowPipAndRotateDisplay.kt78 flicker.assertLayersStart { visibleRegion(testApp).coversAtMost(screenBoundsStart) } in fixedAppLayer_StartingBounds()
85 flicker.assertLayersEnd { visibleRegion(testApp).coversAtMost(screenBoundsEnd) } in fixedAppLayer_EndingBounds()
96 visibleRegion(testApp.or(pipApp)).coversExactly(screenBoundsStart) in appLayers_StartingBounds()
107 flicker.assertLayersEnd { visibleRegion(testApp.or(pipApp)).coversExactly(screenBoundsEnd) } in appLayers_EndingBounds()
112 flicker.assertLayersStart { visibleRegion(pipApp).coversAtMost(screenBoundsStart) } in pipLayerRotates_StartingBounds_internal()
126 flicker.assertLayersEnd { visibleRegion(pipApp).coversAtMost(screenBoundsEnd) } in pipLayerRotates_EndingBounds()
DPipPinchInTest.kt57 current.visibleRegion.notBiggerThan(previous.visibleRegion.region) in <lambda>()
62 previous.visibleRegion.notBiggerThan(current.visibleRegion.region) in <lambda>()
DPipDragTest.kt73 previous.visibleRegion.isToTheRight(current.visibleRegion.region) in <lambda>()
75 current.visibleRegion.isToTheRight(previous.visibleRegion.region) in <lambda>()
DAutoEnterPipOnGoToHomeTest.kt76 current.visibleRegion.notBiggerThan(previous.visibleRegion.region) in <lambda>()
93 current.visibleRegion.isToTheRightBottom(previous.visibleRegion.region, 3) in <lambda>()
DEnterPipToOtherOrientation.kt170 flicker.assertLayersStart { visibleRegion(pipApp).coversExactly(startingBounds) } in pipAppLayerCoversFullScreenOnStart()
182 visibleRegion(pipApp.or(ComponentNameMatcher.LETTERBOX)).coversExactly(startingBounds) in pipAppLayerPlusLetterboxCoversFullScreenOnStartTablet()
194 val pipRegion = visibleRegion(pipApp).region in testAppPlusPipLayerCoversFullScreenOnEnd()
195 visibleRegion(testApp).plus(pipRegion).coversExactly(endingBounds) in testAppPlusPipLayerCoversFullScreenOnEnd()
203 val pipAppRegion = visibleRegion(pipApp) in menuOverlayMatchesTaskSurface()
204 val pipMenuRegion = visibleRegion(ComponentNameMatcher.PIP_MENU_OVERLAY) in menuOverlayMatchesTaskSurface()
DExpandPipOnDoubleClickTest.kt103 current.visibleRegion.coversAtLeast(previous.visibleRegion.region) in <lambda>()
114 current.visibleRegion.isSameAspectRatio(previous.visibleRegion) in <lambda>()
DPipDragThenSnapTest.kt92 current.visibleRegion.isToTheRight(previous.visibleRegion.region) in <lambda>()
94 previous.visibleRegion.isToTheRight(current.visibleRegion.region) in <lambda>()
DPipAspectRatioChangeTest.kt44 flicker.assertLayersStart { this.visibleRegion(pipApp).isSameAspectRatio(16, 9) } in pipAspectRatioChangesProperly()
45 flicker.assertLayersEnd { this.visibleRegion(pipApp).isSameAspectRatio(1, 2) } in pipAspectRatioChangesProperly()
DExpandPipOnPinchOpenTest.kt48 previous.visibleRegion.notBiggerThan(current.visibleRegion.region) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/common/
DExitPipToAppTransition.kt99 val pipRegion = visibleRegion(pipApp).region in <lambda>()
100 visibleRegion(testApp).plus(pipRegion).coversExactly(displayBounds) in <lambda>()
111 flicker.assertLayersEnd { visibleRegion(pipApp).coversExactly(displayBounds) } in <lambda>()
121 current.visibleRegion.coversAtLeast(previous.visibleRegion.region) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DCommonAssertions.kt266 layer(SPLIT_SCREEN_DIVIDER_COMPONENT)?.visibleRegion?.region?.bounds in LayerTraceEntrySubject()
268 visibleRegion(component).isNotEmpty() in LayerTraceEntrySubject()
269 visibleRegion(component) in LayerTraceEntrySubject()
378 layer(APP_PAIR_SPLIT_DIVIDER_COMPONENT)?.visibleRegion?.region in LegacyFlickerTest()
380 visibleRegion(primaryComponent).overlaps(getPrimaryRegion(dividerRegion, rotation)) in LegacyFlickerTest()
390 layer(DOCKED_STACK_DIVIDER_COMPONENT)?.visibleRegion?.region in dockedStackPrimaryBoundsIsVisibleAtEnd()
392 visibleRegion(primaryComponent).overlaps(getPrimaryRegion(dividerRegion, rotation)) in dockedStackPrimaryBoundsIsVisibleAtEnd()
402 layer(APP_PAIR_SPLIT_DIVIDER_COMPONENT)?.visibleRegion?.region in appPairsSecondaryBoundsIsVisibleAtEnd()
404 visibleRegion(secondaryComponent).overlaps(getSecondaryRegion(dividerRegion, rotation)) in appPairsSecondaryBoundsIsVisibleAtEnd()
414 layer(DOCKED_STACK_DIVIDER_COMPONENT)?.visibleRegion?.region in LegacyFlickerTest()
[all …]
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonAssertions.kt105 entry.visibleRegion().coversAtLeast(display.layerStackSpace) in LegacyFlickerTest()
113 .forEach { display -> this.visibleRegion().coversAtLeast(display.layerStackSpace) } in LegacyFlickerTest()
118 .forEach { display -> this.visibleRegion().coversAtLeast(display.layerStackSpace) } in LegacyFlickerTest()
190 val navBarRegion = sfState.visibleRegion(ComponentNameMatcher.NAV_BAR) in assertNavBarPosition()
238 this.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversExactly(navBarPosition) in statusBarLayerPositionAtStart()
254 this.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversExactly(navBarPosition) in statusBarLayerPositionAtEnd()
282 snapshotLayers.mapNotNull { snapshotLayer -> snapshotLayer.layer.visibleRegion } in snapshotStartingWindowLayerCoversExactlyOnApp()
284 val appVisibleRegion = it.visibleRegion(component) in snapshotStartingWindowLayerCoversExactlyOnApp()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/
DOpenThirdActivityOverSplitTest.kt87 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
89 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT).region in mainActivityLayersAlwaysVisible()
98 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
100 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
103 this.visibleRegion(ActivityEmbeddingAppHelper.THIRD_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
DOpenTrampolineActivityTest.kt134 it.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowGoesFromFullscreenToSplit()
147 it.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowGoesFromFullscreenToSplit()
153 it.visibleRegion( in mainActivityWindowGoesFromFullscreenToSplit()
177 it.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerGoesFromFullscreenToSplit()
189 val leftLayerRegion = visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerGoesFromFullscreenToSplit()
191 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in mainActivityLayerGoesFromFullscreenToSplit()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/splitscreen/
DEnterSystemSplitTest.kt129 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryAppWindowBecomesVisible()
131 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryAppWindowBecomesVisible()
133 visibleRegion(ActivityOptions.SplitScreen.Primary.COMPONENT.toFlickerComponent()) in secondaryAppWindowBecomesVisible()
134 val systemDivider = visibleRegion(SPLIT_SCREEN_DIVIDER_COMPONENT) in secondaryAppWindowBecomesVisible()
160 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in activityEmbeddingSplitWindowsAreEven()
162 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in activityEmbeddingSplitWindowsAreEven()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/
DRotateSplitNoChangeTest.kt82 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
84 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
107 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
109 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
DRotationTransition.kt69 this.visibleRegion(testApp).coversExactly(display.layerStackSpace) in <lambda>()
80 this.visibleRegion(testApp).coversExactly(display.layerStackSpace) in <lambda>()
100 ?.visibleRegion?.bounds ?: Rect() in <lambda>()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/layoutchange/
DHorizontalSplitChangeRatioTest.kt111 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
113 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
129 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
131 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
/frameworks/base/tests/FlickerTests/QuickSwitch/src/com/android/server/wm/flicker/quickswitch/
DQuickSwitchBetweenTwoAppsBackTest.kt90 flicker.assertWmStart { this.visibleRegion(testApp2).coversExactly(startDisplayBounds) } in startsWithApp2WindowsCoverFullScreen()
100 flicker.assertLayersStart { this.visibleRegion(testApp2).coversExactly(startDisplayBounds) } in startsWithApp2LayersCoverFullScreen()
117 flicker.assertWmEnd { this.visibleRegion(testApp1).coversExactly(startDisplayBounds) } in endsWithApp1WindowsCoveringFullScreen()
127 flicker.assertLayersEnd { this.visibleRegion(testApp1).coversExactly(startDisplayBounds) } in endsWithApp1LayersCoveringFullScreen()
DQuickSwitchFromLauncherTest.kt93 flicker.assertWmEnd { this.visibleRegion(testApp).coversExactly(startDisplayBounds) } in endsWithAppWindowsCoveringFullScreen()
103 flicker.assertLayersEnd { this.visibleRegion(testApp).coversExactly(startDisplayBounds) } in endsWithAppLayersCoveringFullScreen()
131 this.visibleRegion(ComponentNameMatcher.LAUNCHER).coversExactly(startDisplayBounds) in startsWithLauncherWindowsCoverFullScreen()
143 this.visibleRegion(ComponentNameMatcher.LAUNCHER).coversExactly(startDisplayBounds) in startsWithLauncherLayersCoverFullScreen()
DQuickSwitchBetweenTwoAppsForwardTest.kt98 this.visibleRegion(testApp1.or(ComponentNameMatcher.LETTERBOX)) in startsWithApp1WindowsCoverFullScreen()
110 flicker.assertLayersStart { this.visibleRegion(testApp1).coversExactly(startDisplayBounds) } in startsWithApp1LayersCoverFullScreen()
126 flicker.assertWmEnd { this.visibleRegion(testApp2).coversExactly(startDisplayBounds) } in endsWithApp2WindowsCoveringFullScreen()
137 this.visibleRegion(testApp2.or(ComponentNameMatcher.LETTERBOX)) in endsWithApp2LayersCoveringFullScreen()
/frameworks/base/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/
DOpenImeWindowToFixedPortraitAppTest.kt85 imeLayerVisibleRegionBeforeTransition = this.visibleRegion(ComponentNameMatcher.IME) in imeLayerVisibleRegionKeepsTheSame()
88 this.visibleRegion(ComponentNameMatcher.IME) in imeLayerVisibleRegionKeepsTheSame()
98 this.visibleRegion(testApp.or(ComponentNameMatcher.LETTERBOX)) in appWindowWithLetterboxCoversExactlyOnScreen()
DShowImeWhileEnteringOverviewTest.kt187 .visibleRegion(ComponentNameMatcher.IME) in imeLayerIsVisibleAndAssociatedWithAppWidow()
188 .coversAtMost(isVisible(imeTestApp).visibleRegion(imeTestApp).region) in imeLayerIsVisibleAndAssociatedWithAppWidow()
192 val imeVisibleRegion = it.visibleRegion(ComponentNameMatcher.IME) in imeLayerIsVisibleAndAssociatedWithAppWidow()
193 val appVisibleRegion = it.visibleRegion(imeTestApp) in imeLayerIsVisibleAndAssociatedWithAppWidow()

123