Home
last modified time | relevance | path

Searched refs:WINDOWING_MODE_FREEFORM (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java20 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 …]
DAppChangeTransitionTests.java20 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()
DWindowConfigurationTests.java23 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()
DAppTransitionControllerTest.java20 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()
DTaskRecordTests.java20 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()
DConfigurationContainerTests.java22 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()
DWindowContainerControllerTests.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
97 config.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testOnOverrideConfigurationChanged()
DActivityDisplayTests.java21 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()
DLaunchParamsPersisterTests.java20 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()
DDisplayWindowSettingsTests.java19 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()
DLaunchParamsControllerTests.java19 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()
DActivityStackTests.java22 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()
DRootWindowContainerTests.java103 assertEquals(WindowConfiguration.WINDOWING_MODE_FREEFORM, in testUpdateDefaultDisplayWindowingModeOnSettingsRetrieved()
DAppWindowTokenTests.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
494 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testTransitionAnimationBounds()
DWindowFrameTests.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
484 task.setWindowingMode(WINDOWING_MODE_FREEFORM); in testFreeformContentInsets()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java109 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/
DDragResizeMode.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
41 return stack.getWindowingMode() == WINDOWING_MODE_FREEFORM; in isModeAllowedForStack()
DTaskLaunchParamsModifier.java19 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()
DInputManagerCallback.java3 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
221 if (displayContent.getWindowingMode() == WINDOWING_MODE_FREEFORM) { in getPointerDisplayId()
DConfigurationContainer.java24 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
435 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_FREEFORM; in inFreeformWindowingMode()
DActivityDisplay.java25 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()
DWallpaperController.java19 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/
DActivityOptionsCompat.java21 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
60 options.setLaunchWindowingMode(WINDOWING_MODE_FREEFORM); in makeFreeformOptions()
DWindowManagerWrapper.java81 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/
DRecentsTaskLoadPlan.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
118 boolean isFreeformTask = windowingMode == WINDOWING_MODE_FREEFORM; in preloadPlan()

12