Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayPolicyTests.java32 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
98 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testContentDestroyOnDisplayRemoved()
99 waitAndAssertTopResumedActivity(RESIZEABLE_ACTIVITY, newDisplay.mId, in testContentDestroyOnDisplayRemoved()
107 mAmWmState.waitForActivityRemoved(RESIZEABLE_ACTIVITY); in testContentDestroyOnDisplayRemoved()
113 mAmWmState.getAmState().containsActivity(RESIZEABLE_ACTIVITY)); in testContentDestroyOnDisplayRemoved()
118 mAmWmState.getWmState().containsWindow(getWindowName(RESIZEABLE_ACTIVITY))); in testContentDestroyOnDisplayRemoved()
121 assertActivityDestroyed(RESIZEABLE_ACTIVITY); in testContentDestroyOnDisplayRemoved()
159 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testDisplayResize()
160 waitAndAssertTopResumedActivity(RESIZEABLE_ACTIVITY, newDisplay.mId, in testDisplayResize()
164 final SizeInfo initialSize = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testDisplayResize()
[all …]
DAppConfigurationTests.java35 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
92 launchActivity(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY); in testConfigurationUpdatesWhenResizedFromFullscreen()
93 final SizeInfo fullscreenSizes = getActivityDisplaySize(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
96 setActivityTaskWindowingMode(RESIZEABLE_ACTIVITY, WINDOWING_MODE_SPLIT_SCREEN_PRIMARY); in testConfigurationUpdatesWhenResizedFromFullscreen()
97 final SizeInfo dockedSizes = getActivityDisplaySize(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
112 launchActivity(RESIZEABLE_ACTIVITY, WINDOWING_MODE_SPLIT_SCREEN_PRIMARY); in testConfigurationUpdatesWhenResizedFromDockedStack()
113 final SizeInfo dockedSizes = getActivityDisplaySize(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromDockedStack()
116 setActivityTaskWindowingMode(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testConfigurationUpdatesWhenResizedFromDockedStack()
117 final SizeInfo fullscreenSizes = getActivityDisplaySize(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromDockedStack()
133 launchActivity(RESIZEABLE_ACTIVITY, in testConfigurationUpdatesWhenRotatingWhileFullscreen()
[all …]
DVrDisplayTests.java22 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
264 launchActivity(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
265 mAmWmState.computeState(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
268 mAmWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testActivityLaunchPostVr()
271 mAmWmState.assertFocusedActivity("Launched activity must be focused", RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
276 getActivityName(RESIZEABLE_ACTIVITY), frontStack.mResumedActivity); in testActivityLaunchPostVr()
DMultiDisplayActivityLaunchTests.java33 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
190 launchActivity(RESIZEABLE_ACTIVITY); in testLaunchExternalDisplayActivityWhilePrimaryOff()
191 waitAndAssertTopResumedActivity(RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY, in testLaunchExternalDisplayActivityWhilePrimaryOff()
200 waitAndAssertActivityState(RESIZEABLE_ACTIVITY, STATE_STOPPED, in testLaunchExternalDisplayActivityWhilePrimaryOff()
214 RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY); in testLaunchExternalDisplayActivityWhilePrimaryOff()
249 virtualLauncher.launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay); in testMoveNonResizeableActivityToSecondaryDisplay()
546 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testMoveToDisplayOnLaunch()
547 mAmWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testMoveToDisplayOnLaunch()
590 launchActivity(RESIZEABLE_ACTIVITY); in testMoveToEmptyDisplayOnLaunch()
604 final String launchCommand = "am start -n " + getActivityName(RESIZEABLE_ACTIVITY) in testMoveToEmptyDisplayOnLaunch()
[all …]
DSplitScreenTests.java35 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
542 launchActivity(RESIZEABLE_ACTIVITY, in testMinimizedStateWhenUnlockedAndUnMinimized()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java86 public static final ComponentName RESIZEABLE_ACTIVITY = component("ResizeableActivity"); field in Components