Home
last modified time | relevance | path

Searched refs:setWindowingMode (Results 1 – 25 of 111) sorted by relevance

12345

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldAnimationControllerTest.java112 .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/
DDesktopTestHelpers.kt43 .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/
DDesktopModeWindowDecorationTests.java234 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 …]
DDesktopModeWindowDecorViewModelTests.kt195 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/
DAppChangeTransitionTests.java104 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()
DTaskTests.java239 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 …]
DContentRecorderTests.java347 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 …]
DTaskFragmentTest.java133 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 …]
DWindowConfigurationTests.java95 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()
DWindowOrganizerTests.java483 .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 …]
DDisplayAreaTest.java632 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()
DTestDisplayContent.java55 setWindowingMode(WINDOWING_MODE_FULLSCREEN); in TestDisplayContent()
175 Builder setWindowingMode(int windowingMode) { in setWindowingMode() method in TestDisplayContent.Builder
227 c.windowConfiguration.setWindowingMode(mWindowingMode); in build()
DConfigurationContainerTests.java218 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()
DWindowContainerTransactionTests.java92 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/
DCarDisplayAreaPolicyProvider.java87 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()
DLaunchParamsWrapper.java80 public void setWindowingMode(int windowingMode) { in setWindowingMode() method in LaunchParamsWrapper
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DTaskContainerTest.java83 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/
DFreeformTaskListenerTests.java89 .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/
DRegisterComponentCallbacksTest.java67 config.windowConfiguration.setWindowingMode( in testRegisterComponentCallbacks()
98 config.windowConfiguration.setWindowingMode( in testRegisterComponentCallbacksBeforeT()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestRunningTaskInfoBuilder.java89 public TestRunningTaskInfoBuilder setWindowingMode( in setWindowingMode() method in TestRunningTaskInfoBuilder
129 info.configuration.windowConfiguration.setWindowingMode(mWindowingMode); in build()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java396 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/
DJetpackTaskFragmentOrganizer.java148 .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/
DComponentCallbacksControllerTest.java80 config.windowConfiguration.setWindowingMode(WindowConfiguration.WINDOWING_MODE_FREEFORM); in testDispatchConfigurationChanged()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskView.java102 wct.setWindowingMode(mWc, WINDOWING_MODE_UNDEFINED).setHidden(mWc, true); in hideTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DTaskOperations.java101 wct.setWindowingMode(taskInfo.token, in maximizeTask()

12345