/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/ |
D | UnfoldAnimationControllerTest.java | 112 .setWindowingMode(2).build(); in testAppearedMatchingTask_appliesUnfoldProgress() 125 .setWindowingMode(1).build(); in testAppearedMatchingTaskTwoDifferentAnimators_appliesUnfoldProgressToBoth() 127 .setWindowingMode(2).build(); in testAppearedMatchingTaskTwoDifferentAnimators_appliesUnfoldProgressToBoth() 141 .setWindowingMode(0).build(); in testAppearedNonMatchingTask_doesNotApplyUnfoldProgress() 153 .setWindowingMode(2).build(); in testAppearedAndChangedToNonMatchingTask_doesNotApplyUnfoldProgress() 156 taskInfo.configuration.windowConfiguration.setWindowingMode(0); in testAppearedAndChangedToNonMatchingTask_doesNotApplyUnfoldProgress() 167 .setWindowingMode(2).build(); in testAppearedAndChangedToNonMatchingTaskAndBack_appliesUnfoldProgress() 170 taskInfo.configuration.windowConfiguration.setWindowingMode(0); in testAppearedAndChangedToNonMatchingTaskAndBack_appliesUnfoldProgress() 172 taskInfo.configuration.windowConfiguration.setWindowingMode(2); in testAppearedAndChangedToNonMatchingTaskAndBack_appliesUnfoldProgress() 183 .setWindowingMode(0).build(); in testAppearedNonMatchingTaskAndChangedToMatching_appliesUnfoldProgress() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DesktopTestHelpers.kt | 43 .setWindowingMode(WINDOWING_MODE_FREEFORM) in createFreeformTask() 57 .setWindowingMode(WINDOWING_MODE_FULLSCREEN) in createFullscreenTask() 70 .setWindowingMode(WINDOWING_MODE_MULTI_WINDOW) in createSplitScreenTask() 83 .setWindowingMode(WINDOWING_MODE_FULLSCREEN) in createHomeTask()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorationTests.java | 234 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in updateRelayoutParams_appHeader_usesTaskDensity() 256 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in updateRelayoutParams_appHeader_usesSystemDensity() 273 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in updateRelayoutParams_freeformAndTransparentAppearance_allowsInputFallthrough() 291 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in updateRelayoutParams_freeformButOpaqueAppearance_disallowsInputFallthrough() 308 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in updateRelayoutParams_fullscreen_disallowsInputFallthrough() 324 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in updateRelayoutParams_freeform_inputChannelNeeded() 340 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in updateRelayoutParams_fullscreen_inputChannelNotNeeded() 356 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in updateRelayoutParams_multiwindow_inputChannelNotNeeded() 373 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in relayout_fullscreenTask_appliesTransactionImmediately() 385 taskInfo.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in relayout_freeformTask_appliesTransactionOnDraw() [all …]
|
D | DesktopModeWindowDecorViewModelTests.kt | 195 task.setWindowingMode(WINDOWING_MODE_UNDEFINED) in testDeleteCaptionOnChangeTransitionWhenNecessary() 235 task.setWindowingMode(WINDOWING_MODE_FREEFORM) in testCreateCaptionOnChangeTransitionWhenNecessary() 337 task.setWindowingMode(WINDOWING_MODE_UNDEFINED) in testCaptionIsNotCreatedWhenKeyguardIsVisible() 338 task.setWindowingMode(ACTIVITY_TYPE_UNDEFINED) in testCaptionIsNotCreatedWhenKeyguardIsVisible() 548 .setWindowingMode(windowingMode) in createTask() 585 private fun RunningTaskInfo.setWindowingMode(@WindowConfiguration.WindowingMode mode: Int) { in setWindowingMode() method in com.android.wm.shell.windowdecor.DesktopModeWindowDecorViewModelTests
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AppChangeTransitionTests.java | 104 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testModeChangeRemoteAnimatorNoSnapshot() 121 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testCancelPendingChangeOnRemove() 137 mDisplayContent.getDefaultTaskDisplayArea().setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testNoChangeOnOldDisplayWhenMoveDisplay() 139 dc1.getDefaultTaskDisplayArea().setWindowingMode(WINDOWING_MODE_FREEFORM); in testNoChangeOnOldDisplayWhenMoveDisplay() 163 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testCancelPendingChangeOnHide()
|
D | TaskTests.java | 239 pinnedActivityTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testReparentPinnedActivityBackToOriginalTask() 272 task.setWindowingMode(WINDOWING_MODE_FREEFORM); in testBounds() 402 parentConfig.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testResolveNonResizableTaskWindowingMode() 411 requestedOverride.setWindowingMode(WINDOWING_MODE_UNDEFINED); in testResolveNonResizableTaskWindowingMode() 417 requestedOverride.setWindowingMode(WINDOWING_MODE_FREEFORM); in testResolveNonResizableTaskWindowingMode() 423 parentConfig.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testResolveNonResizableTaskWindowingMode() 424 requestedOverride.setWindowingMode(WINDOWING_MODE_UNDEFINED); in testResolveNonResizableTaskWindowingMode() 454 task.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testAlwaysOnTop() 584 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testBoundsOnModeChangeFreeformToFullscreen() 598 rootTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testBoundsOnModeChangeFreeformToFullscreen() [all …]
|
D | ContentRecorderTests.java | 347 mTask.getRootTask().setWindowingMode(WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW); in testOnTaskBoundsConfigurationChanged_notifiesCallback() 386 mTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testTaskWindowingModeChanged_changeWindowMode_notifyWindowModeChanged() 397 mTask.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testTaskWindowingModeChanged_changeWindowMode_notifyWindowModeChanged() 411 mTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testTaskWindowingModeChanged_sameWindowMode_notifyWindowModeChanged() 422 mTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testTaskWindowingModeChanged_sameWindowMode_notifyWindowModeChanged() 435 mTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testTaskWindowingModeChanged_pip_stopsRecording() 441 mTask.setWindowingMode(WINDOWING_MODE_PINNED); in testTaskWindowingModeChanged_pip_stopsRecording() 453 mTask.setWindowingMode(WINDOWING_MODE_PINNED); in testTaskWindowingModeChanged_fullscreen_startsRecording() 459 mTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testTaskWindowingModeChanged_fullscreen_startsRecording() 503 mTask.setWindowingMode(WINDOWING_MODE_PINNED); in testStartRecording_taskInPIP_recordingNotStarted() [all …]
|
D | TaskFragmentTest.java | 133 mTaskFragment.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testOnConfigurationChanged() 141 mTaskFragment.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testOnConfigurationChanged() 355 task.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 356 taskFragment0.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 470 task.setWindowingMode(WINDOWING_MODE_PINNED); in testIsReadyToTransit() 474 task.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testIsReadyToTransit() 709 tf0.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 710 tf1.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 760 tf0.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 761 tf1.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testIsVisibleWithAdjacent_reportOrientationUnspecified() [all …]
|
D | WindowConfigurationTests.java | 95 winConfig2.setWindowingMode(WINDOWING_MODE_FREEFORM); in testDiff() 137 winConfig2.setWindowingMode(WINDOWING_MODE_FREEFORM); in testConfigurationCompareTo() 140 winConfig2.setWindowingMode(winConfig1.getWindowingMode()); in testConfigurationCompareTo() 214 config.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testMaskedSetTo()
|
D | WindowOrganizerTests.java | 483 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testTaskTransaction() 492 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testRootTaskTransaction() 517 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testSetWindowingMode() 521 displayArea.setWindowingMode(WINDOWING_MODE_FREEFORM); in testSetWindowingMode() 527 t.setWindowingMode(wc.mRemoteToken.toWindowContainerToken(), WINDOWING_MODE_FULLSCREEN); in testSetWindowingMode() 538 t.setWindowingMode(rootTask.mRemoteToken.toWindowContainerToken(), WINDOWING_MODE_PINNED); in testSetActivityWindowingMode() 554 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testContainerFocusableChanges() 570 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testContainerHiddenChanges() 587 .setWindowingMode(WINDOWING_MODE_FULLSCREEN).build(); in testTaskFragmentHiddenFocusableTranslucentChanges() 664 .setWindowingMode(WINDOWING_MODE_FULLSCREEN).build(); in testTaskFragmentChangesWithoutSystemOrganizerThrowException() [all …]
|
D | DisplayAreaTest.java | 632 parent.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testSetAlwaysOnTop_movesDisplayAreaToTop() 634 child1.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testSetAlwaysOnTop_movesDisplayAreaToTop() 636 child2.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testSetAlwaysOnTop_movesDisplayAreaToTop() 650 parent.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testDisplayAreaRequestsTopPosition_alwaysOnTopSiblingExists_doesNotMoveToTop() 653 alwaysOnTopChild.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testDisplayAreaRequestsTopPosition_alwaysOnTopSiblingExists_doesNotMoveToTop() 655 child.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testDisplayAreaRequestsTopPosition_alwaysOnTopSiblingExists_doesNotMoveToTop() 670 parent.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testAlwaysOnTopDisplayArea_requestsNonTopLocation_doesNotMove() 673 alwaysOnTopChild.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testAlwaysOnTopDisplayArea_requestsNonTopLocation_doesNotMove() 675 child.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testAlwaysOnTopDisplayArea_requestsNonTopLocation_doesNotMove()
|
D | TestDisplayContent.java | 55 setWindowingMode(WINDOWING_MODE_FULLSCREEN); in TestDisplayContent() 175 Builder setWindowingMode(int windowingMode) { in setWindowingMode() method in TestDisplayContent.Builder 227 c.windowConfiguration.setWindowingMode(mWindowingMode); in build()
|
D | ConfigurationContainerTests.java | 218 root.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testSetAlwaysOnTop() 230 root.setWindowingMode(WINDOWING_MODE_UNDEFINED); in testSetWindowingMode() 232 child.setWindowingMode(WINDOWING_MODE_FREEFORM); in testSetWindowingMode() 236 root.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testSetWindowingMode() 292 config.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testRegisterConfigurationChangeListener()
|
D | WindowContainerTransactionTests.java | 92 task.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testDesktopMode_tasksAreBroughtToFront() 122 task.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testDesktopMode_moveTaskToDesktop()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayAreaPolicyProvider.java | 87 backgroundTaskDisplayArea.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in instantiate() 92 controlBarDisplayArea.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in instantiate() 122 defaultAppsRoot.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in instantiate()
|
D | LaunchParamsWrapper.java | 80 public void setWindowingMode(int windowingMode) { in setWindowingMode() method in LaunchParamsWrapper
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | TaskContainerTest.java | 83 configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testGetWindowingModeForSplitTaskFragment() 91 configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testGetWindowingModeForSplitTaskFragment() 112 configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testIsInPictureInPicture() 119 configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_PINNED); in testIsInPictureInPicture()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/ |
D | FreeformTaskListenerTests.java | 89 .setWindowingMode(WINDOWING_MODE_FREEFORM).build(); in testFocusTaskChanged_freeformTaskIsAddedToRepo() 101 .setWindowingMode(WINDOWING_MODE_FULLSCREEN).build(); in testFocusTaskChanged_fullscreenTaskIsNotAddedToRepo()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | RegisterComponentCallbacksTest.java | 67 config.windowConfiguration.setWindowingMode( in testRegisterComponentCallbacks() 98 config.windowConfiguration.setWindowingMode( in testRegisterComponentCallbacksBeforeT()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | TestRunningTaskInfoBuilder.java | 89 public TestRunningTaskInfoBuilder setWindowingMode( in setWindowingMode() method in TestRunningTaskInfoBuilder 129 info.configuration.windowConfiguration.setWindowingMode(mWindowingMode); in build()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 396 public void setWindowingMode(@WindowingMode int windowingMode) { in setWindowingMode() method in WindowConfiguration 432 setWindowingMode(other.mWindowingMode); in setTo() 450 setWindowingMode(WINDOWING_MODE_UNDEFINED); in setToDefaults() 508 setWindowingMode(delta.mWindowingMode); in updateFrom() 547 setWindowingMode(delta.mWindowingMode); in setTo()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | JetpackTaskFragmentOrganizer.java | 148 .setWindowingMode(windowingMode) in startActivityToSide() 217 .setWindowingMode(windowingMode) in createTaskFragment() 322 wct.setWindowingMode(mFragmentInfos.get(fragmentToken).getToken(), windowingMode); in updateWindowingMode()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ComponentCallbacksControllerTest.java | 80 config.windowConfiguration.setWindowingMode(WindowConfiguration.WINDOWING_MODE_FREEFORM); in testDispatchConfigurationChanged()
|
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
D | TaskView.java | 102 wct.setWindowingMode(mWc, WINDOWING_MODE_UNDEFINED).setHidden(mWc, true); in hideTask()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | TaskOperations.java | 101 wct.setWindowingMode(taskInfo.token, in maximizeTask()
|