Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayPolicyTests.java33 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
99 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testContentDestroyOnDisplayRemoved()
100 waitAndAssertActivityStateOnDisplay(RESIZEABLE_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testContentDestroyOnDisplayRemoved()
108 mWmState.waitForActivityRemoved(RESIZEABLE_ACTIVITY); in testContentDestroyOnDisplayRemoved()
114 mWmState.containsActivity(RESIZEABLE_ACTIVITY)); in testContentDestroyOnDisplayRemoved()
119 mWmState.containsWindow(getWindowName(RESIZEABLE_ACTIVITY))); in testContentDestroyOnDisplayRemoved()
122 assertActivityDestroyed(RESIZEABLE_ACTIVITY); in testContentDestroyOnDisplayRemoved()
160 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN, newDisplay.mId); in testDisplayResize()
161 waitAndAssertActivityStateOnDisplay(RESIZEABLE_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testDisplayResize()
165 final SizeInfo initialSize = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testDisplayResize()
[all …]
DMultiDisplayActivityLaunchTests.java48 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
217 launchActivity(RESIZEABLE_ACTIVITY); in testLaunchExternalDisplayActivityWhilePrimaryOff()
218 waitAndAssertTopResumedActivity(RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY, in testLaunchExternalDisplayActivityWhilePrimaryOff()
228 waitAndAssertActivityState(RESIZEABLE_ACTIVITY, STATE_STOPPED, in testLaunchExternalDisplayActivityWhilePrimaryOff()
244 RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY); in testLaunchExternalDisplayActivityWhilePrimaryOff()
293 virtualLauncher.launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay); in testMoveNonResizeableActivityToSecondaryDisplay()
617 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testMoveToDisplayOnLaunch()
618 mWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testMoveToDisplayOnLaunch()
660 launchActivity(RESIZEABLE_ACTIVITY); in testMoveToEmptyDisplayOnLaunch()
673 final String launchCommand = "am start -n " + getActivityName(RESIZEABLE_ACTIVITY) in testMoveToEmptyDisplayOnLaunch()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DAppConfigurationTests.java40 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
105 launchActivity(RESIZEABLE_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testConfigurationUpdatesWhenResizedFromFullscreen()
106 final SizeInfo fullscreenSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
109 putActivityInPrimarySplit(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
110 final SizeInfo dockedSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromFullscreen()
125 getLaunchActivityBuilder().setTargetActivity(RESIZEABLE_ACTIVITY) in testConfigurationUpdatesWhenResizedFromDockedStack()
130 final SizeInfo dockedSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromDockedStack()
134 final SizeInfo fullscreenSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenResizedFromDockedStack()
153 .setTargetActivity(RESIZEABLE_ACTIVITY) in testConfigurationUpdatesWhenRotatingWhileFullscreen()
155 final SizeInfo initialSizes = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
[all …]
DVrDisplayTests.java23 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
269 launchActivity(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
270 mWmState.computeState(RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
273 mWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testActivityLaunchPostVr()
276 mWmState.assertFocusedActivity("Launched activity must be focused", RESIZEABLE_ACTIVITY); in testActivityLaunchPostVr()
282 getActivityName(RESIZEABLE_ACTIVITY), in testActivityLaunchPostVr()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appcompatstate/
DAppCompatStateStatsTests.java58 private static final String RESIZEABLE_ACTIVITY = field in AppCompatStateStatsTests
122 testAppCompatFlow(RESIZEABLE_ACTIVITY, /* switchToOpened= */ true, in testResizableActivityDeviceStateClosedToOpened()
145 testAppCompatFlow(RESIZEABLE_ACTIVITY, in testResizableActivityThenMinAspectRatioPortraitActivity()
155 RESIZEABLE_ACTIVITY, /* switchToOpened= */ false, in testMinAspectRatioPortraitActivityThenResizableActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityVisibilityTests.java40 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY;
658 getLaunchActivityBuilder().setTargetActivity(RESIZEABLE_ACTIVITY)); in testTurnScreenOnAttrNoLockScreen_SplitScreen()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java102 public static final ComponentName RESIZEABLE_ACTIVITY = component("ResizeableActivity"); field in Components