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;
92 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testContentDestroyOnDisplayRemoved()
93 waitAndAssertActivityStateOnDisplay(RESIZEABLE_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testContentDestroyOnDisplayRemoved()
101 mWmState.waitForActivityRemoved(RESIZEABLE_ACTIVITY); in testContentDestroyOnDisplayRemoved()
107 mWmState.containsActivity(RESIZEABLE_ACTIVITY)); in testContentDestroyOnDisplayRemoved()
112 mWmState.containsWindow(getWindowName(RESIZEABLE_ACTIVITY))); in testContentDestroyOnDisplayRemoved()
115 assertActivityDestroyed(RESIZEABLE_ACTIVITY); in testContentDestroyOnDisplayRemoved()
153 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN, newDisplay.mId); in testDisplayResize()
154 waitAndAssertActivityStateOnDisplay(RESIZEABLE_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testDisplayResize()
158 final SizeInfo initialSize = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testDisplayResize()
[all …]
DAppConfigurationTests.java40 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
102 launchActivity(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testConfigurationUpdatesWhenResizedFromFullscreen()
103 final SizeInfo fullscreenSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
106 putActivityInPrimarySplit(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
107 final SizeInfo dockedSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
122 getLaunchActivityBuilder().setTargetActivity(RESIZEABLE_ACTIVITY), in testConfigurationUpdatesWhenResizedFromDockedStack()
124 final SizeInfo dockedSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromDockedStack()
128 final SizeInfo fullscreenSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromDockedStack()
147 .setTargetActivity(RESIZEABLE_ACTIVITY) in testConfigurationUpdatesWhenRotatingWhileFullscreen()
149 final SizeInfo initialSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
[all …]
DVrDisplayTests.java22 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
267 launchActivity(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
268 mWmState.computeState(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
271 mWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testActivityLaunchPostVr()
274 mWmState.assertFocusedActivity("Launched activity must be focused", RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
279 getActivityName(RESIZEABLE_ACTIVITY), frontStack.mResumedActivity); in testActivityLaunchPostVr()
DMultiDisplayActivityLaunchTests.java46 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
215 launchActivity(RESIZEABLE_ACTIVITY); in testLaunchExternalDisplayActivityWhilePrimaryOff()
216 waitAndAssertTopResumedActivity(RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY, in testLaunchExternalDisplayActivityWhilePrimaryOff()
225 waitAndAssertActivityState(RESIZEABLE_ACTIVITY, STATE_STOPPED, in testLaunchExternalDisplayActivityWhilePrimaryOff()
239 RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY); in testLaunchExternalDisplayActivityWhilePrimaryOff()
287 virtualLauncher.launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay); in testMoveNonResizeableActivityToSecondaryDisplay()
610 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testMoveToDisplayOnLaunch()
611 mWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testMoveToDisplayOnLaunch()
652 launchActivity(RESIZEABLE_ACTIVITY); in testMoveToEmptyDisplayOnLaunch()
665 final String launchCommand = "am start -n " + getActivityName(RESIZEABLE_ACTIVITY) in testMoveToEmptyDisplayOnLaunch()
[all …]
DActivityVisibilityTests.java40 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
569 getLaunchActivityBuilder().setTargetActivity(RESIZEABLE_ACTIVITY)); in testTurnScreenOnAttrNoLockScreen_SplitScreen()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java96 public static final ComponentName RESIZEABLE_ACTIVITY = component("ResizeableActivity"); field in Components