Home
last modified time | relevance | path

Searched refs:MAIN_ACTIVITY_COMPONENT (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/pip/
DSecondaryActivityEnterPipTest.kt76 val leftLayerRegion = visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
91 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
100 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in <lambda>()
102 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
112 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
115 .isInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
117 .isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT, isOptional = true) in <lambda>()
120 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
225 listOf(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rtl/
DRTLStartSecondaryWithPlaceholderTest.kt71 isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWindowVisibilities()
73 .isAppWindowInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWindowVisibilities()
100 this.isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertLayerVisibilities()
102 .isInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertLayerVisibilities()
127 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWMRTLBeforeTransition()
144 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertLayerRTLBeforeTransition()
164 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWMRTLAfterTransition()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/
DOpenTrampolineActivityTest.kt88 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowAlwaysVisible()
97 flicker.assertLayersStart { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayerAlwaysVisible()
98 flicker.assertLayersEnd { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayerAlwaysVisible()
134 it.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowGoesFromFullscreenToSplit()
147 it.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowGoesFromFullscreenToSplit()
177 it.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerGoesFromFullscreenToSplit()
189 val leftLayerRegion = visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerGoesFromFullscreenToSplit()
DOpenActivityEmbeddingPlaceholderSplitTest.kt64 isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowBecomesInvisible()
66 .isAppWindowInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowBecomesInvisible()
75 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
77 .isInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
DOpenThirdActivityOverSplitTest.kt73 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowAlwaysVisible()
80 flicker.assertLayers { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayersAlwaysVisible()
87 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
98 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
DOpenActivityEmbeddingSecondaryToSplitTest.kt63 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowIsAlwaysVisible()
75 ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT.or( in mainActivityLayerIsAlwaysVisible()
81 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerIsAlwaysVisible()
DMainActivityStartsSecondaryWithAlwaysExpandTest.kt84 this.isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in startsWithSplit()
96 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
98 .isInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/close/
DCloseSecondaryActivityInSplitTest.kt78 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowBecomesFullScreen()
80 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowBecomesFullScreen()
91 ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT.or( in mainActivityLayerIsAlwaysVisible()
97 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerIsAlwaysVisible()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/layoutchange/
DHorizontalSplitChangeRatioTest.kt79 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in backgroundLayerNeverVisible()
86 flicker.assertLayers { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayerIsAlwaysVisible()
113 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
131 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DActivityEmbeddingAppHelper.kt40 component: ComponentNameMatcher = MAIN_ACTIVITY_COMPONENT
75 .withActivityState(MAIN_ACTIVITY_COMPONENT, PlatformConsts.STATE_RESUMED) in launchThirdActivity()
165 MAIN_ACTIVITY_COMPONENT, in launchAlwaysExpandActivity()
185 .withActivityState(MAIN_ACTIVITY_COMPONENT, PlatformConsts.STATE_RESUMED) in launchSecondaryActivityFromButton()
230 val MAIN_ACTIVITY_COMPONENT = constant
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/
DRotateSplitNoChangeTest.kt82 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
107 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
126 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in <lambda>()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/splitscreen/
DEnterSystemSplitTest.kt129 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryAppWindowBecomesVisible()
160 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in activityEmbeddingSplitWindowsAreEven()