/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 102 createNewActivityDisplay(WINDOWING_MODE_FREEFORM); in testDefaultToPrimaryDisplay() 122 createNewActivityDisplay(WINDOWING_MODE_FREEFORM); in testUsesPreviousDisplayIdIfSet() 136 WINDOWING_MODE_FREEFORM); in testUsesSourcesDisplayIdIfSet() 153 WINDOWING_MODE_FREEFORM); in testUsesOptionsDisplayIdIfSet() 172 WINDOWING_MODE_FREEFORM); in testUsesTasksDisplayIdPriorToSourceIfSet() 189 WINDOWING_MODE_FREEFORM); in testUsesTaskDisplayIdIfSet() 201 WINDOWING_MODE_FREEFORM); in testUsesNoDisplaySourceHandoverDisplayIdIfSet() 223 WINDOWING_MODE_FREEFORM); in testBoundsInOptionsInfersFreeformOnFreeformDisplay() 233 assertEquivalentWindowingMode(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode, in testBoundsInOptionsInfersFreeformOnFreeformDisplay() [all …]
|
D | AppChangeTransitionTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 105 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testModeChangeRemoteAnimatorNoSnapshot() 123 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testCancelPendingChangeOnRemove() 142 dc1.setWindowingMode(WINDOWING_MODE_FREEFORM); in testNoChangeWhenMoveDisplay() 145 assertEquals(WINDOWING_MODE_FREEFORM, mTask.getWindowingMode()); in testNoChangeWhenMoveDisplay() 167 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testCancelPendingChangeOnHide()
|
D | WindowConfigurationTests.java | 23 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 86 winConfig2.setWindowingMode(WINDOWING_MODE_FREEFORM); in testDiff() 120 winConfig2.setWindowingMode(WINDOWING_MODE_FREEFORM); in testConfigurationCompareTo() 189 config.setWindowingMode(WINDOWING_MODE_FREEFORM); in testCaptionShownForFreeformWindowingMode() 193 config.setDisplayWindowingMode(WINDOWING_MODE_FREEFORM); in testCaptionShownForFreeformWindowingMode() 208 config.setWindowingMode(WINDOWING_MODE_FREEFORM); in testCaptionNotShownForNonStandardActivityType() 209 config.setDisplayWindowingMode(WINDOWING_MODE_FREEFORM); in testCaptionNotShownForNonStandardActivityType()
|
D | AppTransitionControllerTest.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 112 WINDOWING_MODE_FREEFORM, ACTIVITY_TYPE_STANDARD); in testTransitWithinTask() 115 WINDOWING_MODE_FREEFORM, ACTIVITY_TYPE_STANDARD); in testTransitWithinTask()
|
D | TaskRecordTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 164 testStackBoundsConfiguration(WINDOWING_MODE_FREEFORM, mParentBounds, freeFormBounds, in testAppBounds_FreeFormBounds() 174 WINDOWING_MODE_FREEFORM, mParentBounds, insetBounds, insetBounds); in testAppBounds_ContainedBounds() 181 ActivityStack stack = display.createStack(WINDOWING_MODE_FREEFORM, ACTIVITY_TYPE_STANDARD, in testFitWithinBounds() 220 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testBoundsOnModeChangeFreeformToFullscreen() 239 stack.setWindowingMode(WINDOWING_MODE_FREEFORM); in testBoundsOnModeChangeFreeformToFullscreen() 313 stack.setWindowingMode(WINDOWING_MODE_FREEFORM); in testFullscreenBoundsForcedOrientation() 323 stack.setWindowingMode(WINDOWING_MODE_FREEFORM); in testFullscreenBoundsForcedOrientation()
|
D | ConfigurationContainerTests.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 216 child.setWindowingMode(WINDOWING_MODE_FREEFORM); in testSetWindowingMode() 218 assertEquals(WINDOWING_MODE_FREEFORM, child.getWindowingMode()); in testSetWindowingMode() 222 assertEquals(WINDOWING_MODE_FREEFORM, child.getWindowingMode()); in testSetWindowingMode() 276 config.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testRegisterConfigurationChangeListener()
|
D | WindowContainerControllerTests.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 97 config.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testOnOverrideConfigurationChanged()
|
D | ActivityDisplayTests.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 234 final ActivityStack alwaysOnTopStack = display.createStack(WINDOWING_MODE_FREEFORM, in testAlwaysOnTopStackLocation() 251 WINDOWING_MODE_FREEFORM, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testAlwaysOnTopStackLocation() 261 WINDOWING_MODE_FREEFORM, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testAlwaysOnTopStackLocation() 280 anotherAlwaysOnTopStack.setWindowingMode(WINDOWING_MODE_FREEFORM); in testAlwaysOnTopStackLocation()
|
D | LaunchParamsPersisterTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 75 private static final int TEST_WINDOWING_MODE = WINDOWING_MODE_FREEFORM; 241 anotherTaskOfTheSameUser.setWindowingMode(WINDOWING_MODE_FREEFORM); in testClearsRecordsOfTheUserOnUserCleanUp() 253 anotherTaskOfDifferentUser.setWindowingMode(WINDOWING_MODE_FREEFORM); in testClearsRecordsOfTheUserOnUserCleanUp()
|
D | DisplayWindowSettingsTests.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 162 assertEquals(WINDOWING_MODE_FREEFORM, in testPrimaryDisplayDefaultToFreeform_HasFreeformSupport_IsPc() 175 assertEquals(WindowConfiguration.WINDOWING_MODE_FREEFORM, in testPrimaryDisplayUpdateToFreeform_HasFreeformSupport_IsPc() 204 assertEquals(WINDOWING_MODE_FREEFORM, in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_NonPc_HasDesktopMode() 215 assertEquals(WINDOWING_MODE_FREEFORM, in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_IsPc()
|
D | LaunchParamsControllerTests.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 180 params.mWindowingMode = WINDOWING_MODE_FREEFORM; in testPassThrough() 298 final int windowingMode = WINDOWING_MODE_FREEFORM; in testLayoutTaskWindowingModeChange() 323 params.mWindowingMode = WINDOWING_MODE_FREEFORM; in testLayoutTaskBoundsChangeFreeformWindow()
|
D | ActivityStackTests.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 212 mDefaultDisplay.setWindowingMode(WINDOWING_MODE_FREEFORM); in testStackInheritsDisplayWindowingMode() 213 assertEquals(WINDOWING_MODE_FREEFORM, primarySplitScreen.getWindowingMode()); in testStackInheritsDisplayWindowingMode() 232 mDefaultDisplay.setWindowingMode(WINDOWING_MODE_FREEFORM); in testStackOverridesDisplayWindowingMode() 748 mDefaultDisplay, WINDOWING_MODE_FREEFORM, ACTIVITY_TYPE_STANDARD, in testSetAlwaysOnTop() 762 mDefaultDisplay, WINDOWING_MODE_FREEFORM, ACTIVITY_TYPE_STANDARD, in testSetAlwaysOnTop() 779 alwaysOnTopStack2.setWindowingMode(WINDOWING_MODE_FREEFORM); in testSetAlwaysOnTop()
|
D | RootWindowContainerTests.java | 103 assertEquals(WindowConfiguration.WINDOWING_MODE_FREEFORM, in testUpdateDefaultDisplayWindowingModeOnSettingsRetrieved()
|
D | AppWindowTokenTests.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 494 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testTransitionAnimationBounds()
|
D | WindowFrameTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 484 task.setWindowingMode(WINDOWING_MODE_FREEFORM); in testFreeformContentInsets()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 109 public static final int WINDOWING_MODE_FREEFORM = 5; field in WindowConfiguration 119 WINDOWING_MODE_FREEFORM, 646 return mActivityType == ACTIVITY_TYPE_STANDARD && (mWindowingMode == WINDOWING_MODE_FREEFORM in hasWindowDecorCaption() 647 || mDisplayWindowingMode == WINDOWING_MODE_FREEFORM); in hasWindowDecorCaption() 656 return mWindowingMode == WINDOWING_MODE_FREEFORM; in canResizeTask() 662 return mWindowingMode == WINDOWING_MODE_FREEFORM; in persistTaskBounds() 680 return windowingMode == WINDOWING_MODE_FREEFORM || windowingMode == WINDOWING_MODE_PINNED; in isFloating() 707 || (mWindowingMode == WINDOWING_MODE_FREEFORM && mAlwaysOnTop == ALWAYS_ON_TOP_ON); in isAlwaysOnTop() 725 return mWindowingMode == WINDOWING_MODE_FREEFORM || mWindowingMode == WINDOWING_MODE_PINNED; in useWindowFrameForBackdrop() 768 case WINDOWING_MODE_FREEFORM: return "freeform"; in windowingModeToString()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragResizeMode.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 41 return stack.getWindowingMode() == WINDOWING_MODE_FREEFORM; in isModeAllowedForStack()
|
D | TaskLaunchParamsModifier.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 175 ? WINDOWING_MODE_FREEFORM in calculate() 187 launchMode = WINDOWING_MODE_FREEFORM; in calculate() 216 fullyResolvedCurrentParam = launchMode != WINDOWING_MODE_FREEFORM; in calculate() 228 if (launchMode == WINDOWING_MODE_FREEFORM) { in calculate() 270 if (resolvedMode == WINDOWING_MODE_FREEFORM) { in calculate() 281 && resolvedMode == WINDOWING_MODE_FREEFORM in calculate() 339 && (display.inFreeformWindowingMode() || launchMode == WINDOWING_MODE_FREEFORM); in canApplyFreeformWindowPolicy() 364 getTaskBounds(root, display, windowLayout, WINDOWING_MODE_FREEFORM, in getLayoutBounds() 499 if (resolvedMode != WINDOWING_MODE_FREEFORM) { in getTaskBounds()
|
D | InputManagerCallback.java | 3 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 221 if (displayContent.getWindowingMode() == WINDOWING_MODE_FREEFORM) { in getPointerDisplayId()
|
D | ConfigurationContainer.java | 24 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 435 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_FREEFORM; in inFreeformWindowingMode()
|
D | ActivityDisplay.java | 25 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 365 || windowingMode == WINDOWING_MODE_FREEFORM in alwaysCreateStack() 821 && displayWindowingMode != WINDOWING_MODE_FREEFORM; in isWindowingModeSupported() 824 if (!supportsFreeform && windowingMode == WINDOWING_MODE_FREEFORM) { in isWindowingModeSupported()
|
D | WallpaperController.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 466 if (mDisplayContent.isStackVisible(WINDOWING_MODE_FREEFORM)) { in findWallpaperTarget()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | ActivityOptionsCompat.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 60 options.setLaunchWindowingMode(WINDOWING_MODE_FREEFORM); in makeFreeformOptions()
|
D | WindowManagerWrapper.java | 81 public static final int WINDOWING_MODE_FREEFORM = WindowConfiguration.WINDOWING_MODE_FREEFORM; field in WindowManagerWrapper
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM; 118 boolean isFreeformTask = windowingMode == WINDOWING_MODE_FREEFORM; in preloadPlan()
|