/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStackTests.java | 23 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 127 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testResumedActivityFromTaskReparenting() 145 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testResumedActivityFromActivityReparenting() 173 assertEquals(WINDOWING_MODE_FULLSCREEN, primarySplitScreen.getWindowingMode()); in testPrimarySplitScreenRestoresWhenMovedToBack() 184 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testPrimarySplitScreenRestoresPreviousWhenMovedToBack() 199 assertEquals(WINDOWING_MODE_FULLSCREEN, in testPrimarySplitScreenRestoresPreviousWhenMovedToBack() 208 assertEquals(WINDOWING_MODE_FULLSCREEN, primarySplitScreen.getWindowingMode()); in testStackInheritsDisplayWindowingMode() 223 assertEquals(WINDOWING_MODE_FULLSCREEN, primarySplitScreen.getWindowingMode()); in testStackOverridesDisplayWindowingMode() 227 primarySplitScreen.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testStackOverridesDisplayWindowingMode() 229 assertEquals(WINDOWING_MODE_FULLSCREEN, in testStackOverridesDisplayWindowingMode() [all …]
|
D | AppTransitionControllerTest.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 60 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testTranslucentOpen() 62 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testTranslucentOpen() 78 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testTranslucentClose() 80 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testTranslucentClose() 94 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testChangeIsNotOverwritten() 96 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testChangeIsNotOverwritten()
|
D | RecentsAnimationControllerTest.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 95 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testRemovedBeforeStarted_expectCanceled() 114 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testCancelAfterRemove_expectIgnored() 134 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_HOME); in testIncludedApps_expectTargetAndVisible() 136 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testIncludedApps_expectTargetAndVisible() 138 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testIncludedApps_expectTargetAndVisible() 154 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testDeferCancelAnimation() 177 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testDeferCancelAnimationWithScreenShot() 204 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testShouldAnimateWhenNoCancelWithDeferredScreenshot()
|
D | RecentsAnimationTest.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 89 ActivityStack recentsStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testRecentsActivityVisiblility() 142 ActivityStack recentsStack = display.getStack(WINDOWING_MODE_FULLSCREEN, in testPreloadRecentsActivity() 171 ActivityStack recentsStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testRestartRecentsActivity() 244 ActivityStack fullscreenStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testCancelAnimationOnVisibleStackOrderChange() 251 ActivityStack recentsStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testCancelAnimationOnVisibleStackOrderChange() 258 ActivityStack fullscreenStack2 = display.createStack(WINDOWING_MODE_FULLSCREEN, in testCancelAnimationOnVisibleStackOrderChange() 289 ActivityStack fullscreenStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testKeepAnimationOnHiddenStackOrderChange() 296 ActivityStack recentsStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testKeepAnimationOnHiddenStackOrderChange() 303 ActivityStack fullscreenStack2 = display.createStack(WINDOWING_MODE_FULLSCREEN, in testKeepAnimationOnHiddenStackOrderChange() [all …]
|
D | TaskLaunchParamsModifierTests.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 123 final TestActivityDisplay display = createNewActivityDisplay(WINDOWING_MODE_FULLSCREEN); in testUsesPreviousDisplayIdIfSet() 138 WINDOWING_MODE_FULLSCREEN); in testUsesSourcesDisplayIdIfSet() 155 WINDOWING_MODE_FULLSCREEN); in testUsesOptionsDisplayIdIfSet() 174 WINDOWING_MODE_FULLSCREEN); in testUsesTasksDisplayIdPriorToSourceIfSet() 203 WINDOWING_MODE_FULLSCREEN); in testUsesNoDisplaySourceHandoverDisplayIdIfSet() 247 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testBoundsInOptionsInfersFreeformWithResizeableActivity() 248 WINDOWING_MODE_FULLSCREEN); in testBoundsInOptionsInfersFreeformWithResizeableActivity() 289 options.setLaunchWindowingMode(WINDOWING_MODE_FULLSCREEN); in testKeepsFullscreenLaunchModeInOptionsOnNonFreeformDisplay() 296 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testKeepsFullscreenLaunchModeInOptionsOnNonFreeformDisplay() [all …]
|
D | ActivityOptionsTest.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 49 opts.setLaunchWindowingMode(WINDOWING_MODE_FULLSCREEN); in testMerge_NoClobber() 65 assertEquals(WINDOWING_MODE_FULLSCREEN, restoredOpts.getLaunchWindowingMode()); in testMerge_NoClobber()
|
D | ActivityDisplayTests.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 150 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_HOME, ON_TOP); in testNotResumeHomeStackOnRemovingDisplay() 171 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, ON_TOP); in createFullscreenStackWithSimpleActivityAt() 277 anotherAlwaysOnTopStack.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testAlwaysOnTopStackLocation() 288 WINDOWING_MODE_FULLSCREEN)); in testRemoveStackInWindowingModes() 299 final ActivityStack stack1 = display.createStack(WINDOWING_MODE_FULLSCREEN, in removeStackTests() 301 final ActivityStack stack2 = display.createStack(WINDOWING_MODE_FULLSCREEN, in removeStackTests() 303 final ActivityStack stack3 = display.createStack(WINDOWING_MODE_FULLSCREEN, in removeStackTests() 305 final ActivityStack stack4 = display.createStack(WINDOWING_MODE_FULLSCREEN, in removeStackTests()
|
D | AnimatingAppWindowTokenRegistryTest.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 64 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testDeferring() 87 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testContainerRemoved()
|
D | RootActivityContainerTests.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 93 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */); in setUp() 144 mFullscreenStack = display.getStack(WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testReplacingTaskInPinnedStack() 225 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, false /* onTop */); in testRemovingStackOnAppCrash() 356 final ActivityStack targetStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay() 363 final ActivityStack stack = secondDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay() 383 final ActivityStack targetStack = spy(display.createStack(WINDOWING_MODE_FULLSCREEN, in testResumeActivityWhenNonTopmostStackIsTopFocused() 412 .createStack(WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_HOME, ON_TOP); in testResumeFocusedStacksStartsHomeActivity_NoActivities() 434 .createStack(WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_HOME, ON_TOP); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen() 439 final ActivityStack stack = secondDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen() [all …]
|
D | AppChangeTransitionTests.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 140 mDisplayContent.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testNoChangeWhenMoveDisplay() 152 assertEquals(WINDOWING_MODE_FULLSCREEN, mTask.getWindowingMode()); in testNoChangeWhenMoveDisplay()
|
D | WindowConfigurationTests.java | 24 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 190 config.setDisplayWindowingMode(WINDOWING_MODE_FULLSCREEN); in testCaptionShownForFreeformWindowingMode() 196 config.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testCaptionShownForFreeformWindowingMode() 199 config.setDisplayWindowingMode(WINDOWING_MODE_FULLSCREEN); in testCaptionShownForFreeformWindowingMode()
|
D | WindowTestsBase.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 317 dc, WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, type); in createWindow() 326 dc, WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, type); in createWindow() 335 dc, WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, type); in createWindow() 383 return createTaskStackOnDisplay(WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, dc); in createTaskStackOnDisplay()
|
D | TaskSnapshotPersisterLoaderTest.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 196 .setWindowingMode(WINDOWING_MODE_FULLSCREEN) in testWindowingModePersistAndLoadSnapshot() 201 assertEquals(WINDOWING_MODE_FULLSCREEN, a.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot() 210 assertEquals(WINDOWING_MODE_FULLSCREEN, snapshotA.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
|
D | TaskSnapshotPersisterTestBase.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 117 private int mWindowingMode = WINDOWING_MODE_FULLSCREEN;
|
D | ActivityStartControllerTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 77 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testPendingActivityLaunches()
|
D | AppTransitionTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 127 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testAppTransitionStateForMultiDisplay() 129 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD); in testAppTransitionStateForMultiDisplay()
|
D | AppWindowTokenAnimationTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 64 mToken = createTestAppWindowToken(mDisplayContent, WINDOWING_MODE_FULLSCREEN, in setUp()
|
D | TaskRecordTests.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 155 testStackBoundsConfiguration(WINDOWING_MODE_FULLSCREEN, mParentBounds, emptyBounds, in testAppBounds_EmptyBounds() 234 stack.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testBoundsOnModeChangeFreeformToFullscreen() 275 .setWindowingMode(WINDOWING_MODE_FULLSCREEN).setDisplay(display).build(); in testFullscreenBoundsForcedOrientation() 318 stack.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testFullscreenBoundsForcedOrientation() 340 .setWindowingMode(WINDOWING_MODE_FULLSCREEN).setDisplay(display).build(); in testIgnoresForcedOrientationWhenParentHandles()
|
D | ActivityStackSupervisorTests.java | 23 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 62 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */); in setUp()
|
D | ZOrderingTests.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 350 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_ASSISTANT, TYPE_BASE_APPLICATION, in testStackLayers() 352 final WindowState homeActivityWindow = createWindowOnStack(null, WINDOWING_MODE_FULLSCREEN, in testStackLayers() 439 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_ASSISTANT, TYPE_BASE_APPLICATION, in testDockedDividerPosition()
|
D | ActivityStarterTests.java | 32 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 131 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */)) in testUpdateLaunchBounds() 338 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, true /* onTop */); in prepareStarter() 736 final ActivityStack stack = secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testDeliverIntentToTopActivityOfNonTopDisplay() 775 secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testBringTaskToFrontOnSecondaryDisplay() 779 final ActivityStack topStack = secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testBringTaskToFrontOnSecondaryDisplay() 825 secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, in testReparentTopFocusedActivityToSecondaryDisplay()
|
D | LaunchParamsPersisterTests.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 148 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsByDefault() 197 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsUserIdMismatch() 207 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsComponentMismatch()
|
D | DragDropControllerTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 101 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, mDisplayContent); in createDropTargetWindow()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | WindowManagerWrapper.java | 74 public static final int WINDOWING_MODE_FULLSCREEN = field in WindowManagerWrapper 75 WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsTransitionComposer.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN; 108 if (windowingMode == WINDOWING_MODE_FULLSCREEN in composeAnimationSpecs()
|