/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayAreaPolicyProvider.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 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()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | ShellTaskOrganizerTests.java | 25 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 171 RunningTaskInfo taskInfo = createTaskInfo(/* taskId= */ 1, WINDOWING_MODE_MULTI_WINDOW); in testTaskLeashReleasedAfterVanished() 196 RunningTaskInfo task1 = createTaskInfo(/* taskId= */ 1, WINDOWING_MODE_MULTI_WINDOW); in testRegisterWithExistingTasks() 197 RunningTaskInfo task2 = createTaskInfo(/* taskId= */ 2, WINDOWING_MODE_MULTI_WINDOW); in testRegisterWithExistingTasks() 216 RunningTaskInfo taskInfo = createTaskInfo(/* taskId= */ 1, WINDOWING_MODE_MULTI_WINDOW); in testAppearedVanished() 228 RunningTaskInfo taskInfo = createTaskInfo(/* taskId= */ 1, WINDOWING_MODE_MULTI_WINDOW); in testAddListenerExistingTasks() 240 RunningTaskInfo taskInfo2 = createTaskInfo(/* taskId= */ 2, WINDOWING_MODE_MULTI_WINDOW); in testAddListenerForMultipleTypes() 257 RunningTaskInfo taskInfo2 = createTaskInfo(/* taskId= */ 2, WINDOWING_MODE_MULTI_WINDOW); in testRemoveListenerForMultipleTypes() 275 RunningTaskInfo taskInfo = createTaskInfo(/* taskId= */ 1, WINDOWING_MODE_MULTI_WINDOW); in testWindowingModeChange() 292 RunningTaskInfo task1 = createTaskInfo(/* taskId= */ 1, WINDOWING_MODE_MULTI_WINDOW); in testAddListenerForTaskId_afterTypeListener() [all …]
|
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/wm/ |
D | CalculateParamsTest.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 60 mOutParms.mWindowingMode = WINDOWING_MODE_MULTI_WINDOW; in createReturnsCalculateParams() 71 assertThat(params.getOutParams().getWindowingMode()).isEqualTo(WINDOWING_MODE_MULTI_WINDOW); in createReturnsCalculateParams()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskDisplayAreaTests.java | 26 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 82 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD); in getLaunchRootTask_checksLaunchAdjacentFlagRoot() 85 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD); in getLaunchRootTask_checksLaunchAdjacentFlagRoot() 108 WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD, ON_TOP, true); in getLaunchRootTask_checksFocusedRootTask() 112 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD); in getLaunchRootTask_checksFocusedRootTask() 117 new int[]{WINDOWING_MODE_MULTI_WINDOW}, new int[]{ACTIVITY_TYPE_STANDARD}); in getLaunchRootTask_checksFocusedRootTask() 120 WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD, null /* options */, in getLaunchRootTask_checksFocusedRootTask() 129 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD); in getLaunchRootTask_fromLaunchAdjacentFlagRoot_checksAdjacentRoot() 132 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD); in getLaunchRootTask_fromLaunchAdjacentFlagRoot_checksAdjacentRoot() 148 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD); in getOrCreateLaunchRootRespectsResolvedWindowingMode() [all …]
|
D | WindowContainerTraversalTests.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 52 WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, in testDockedDividerPosition()
|
D | TaskFragmentTest.java | 24 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 133 mTaskFragment.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testOnConfigurationChanged() 148 final Task task = createTask(mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, in testShouldStartChangeTransition_relativePositionChange() 180 final Task task = createTask(mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, in testStartChangeTransition_resetSurface() 356 taskFragment0.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 365 assertEquals(WINDOWING_MODE_MULTI_WINDOW, activity.getWindowingMode()); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 489 final Task rootTask = createTask(mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, in testActivityHasOverlayOverUntrustedModeEmbedded() 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() [all …]
|
D | DisplayAreaTest.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 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 | WindowOrganizerTests.java | 25 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 806 dc, WINDOWING_MODE_MULTI_WINDOW, null); in testCreateDeleteRootTasks() 808 assertEquals(WINDOWING_MODE_MULTI_WINDOW, in testCreateDeleteRootTasks() 818 assertEquals(WINDOWING_MODE_MULTI_WINDOW, infos.get(0).getWindowingMode()); in testCreateDeleteRootTasks() 826 dc, WINDOWING_MODE_MULTI_WINDOW, null); in testSetAdjacentLaunchRoot() 829 dc, WINDOWING_MODE_MULTI_WINDOW, null); in testSetAdjacentLaunchRoot() 857 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, null); in testTileAddRemoveChild() 982 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, null); in testTaskInfoCallback() 1039 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, null); in testHierarchyTransaction() 1042 mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, null); in testHierarchyTransaction() [all …]
|
D | SizeCompatTests.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 1288 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mTask.getWindowingMode()); in testAlwaysSandboxDisplayApis_configEnabled_sandboxingApplied_resizableSplit() 1289 assertEquals(WINDOWING_MODE_MULTI_WINDOW, activity.getWindowingMode()); in testAlwaysSandboxDisplayApis_configEnabled_sandboxingApplied_resizableSplit() 1571 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mTask.getWindowingMode()); in testOverrideMinAspectRatioLargeForResizableAppInSplitScreen() 1572 assertEquals(WINDOWING_MODE_MULTI_WINDOW, activity.getWindowingMode()); in testOverrideMinAspectRatioLargeForResizableAppInSplitScreen() 1840 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mTask.getWindowingMode()); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationApp() 1841 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mActivity.getWindowingMode()); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationApp() 1876 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mTask.getWindowingMode()); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationAppWithMinRatio() 1877 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mActivity.getWindowingMode()); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationAppWithMinRatio() 2026 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mTask.getWindowingMode()); [all …]
|
D | DisplayRotationCompatPolicyTests.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 153 doReturn(WINDOWING_MODE_MULTI_WINDOW).when(mActivity).getWindowingMode(); in testOpenedCameraInSplitScreen_showToast() 154 doReturn(WINDOWING_MODE_MULTI_WINDOW).when(mTask).getWindowingMode(); in testOpenedCameraInSplitScreen_showToast() 176 doReturn(WINDOWING_MODE_MULTI_WINDOW).when(mActivity).getWindowingMode(); in testOpenedCameraInSplitScreen_orientationNotFixed_doNotShowToast() 177 doReturn(WINDOWING_MODE_MULTI_WINDOW).when(mTask).getWindowingMode(); in testOpenedCameraInSplitScreen_orientationNotFixed_doNotShowToast()
|
D | DisplayRotationImmersiveAppCompatPolicyTests.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 180 when(mMockTask.getWindowingMode()).thenReturn(WINDOWING_MODE_MULTI_WINDOW); in testIsRotationLockEnforced_notFullscreen_lockNotEnforced()
|
D | ZOrderingTests.java | 23 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 371 WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, in testStackLayers() 536 WINDOWING_MODE_MULTI_WINDOW); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() 560 WINDOWING_MODE_MULTI_WINDOW); in testSystemDialogWindow_expectHigherThanIme_inMultiWindow()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeVisualIndicatorTest.kt | 22 import android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW 80 WINDOWING_MODE_MULTI_WINDOW, CAPTION_HEIGHT) in testFullscreenRegionCalculation() 95 WINDOWING_MODE_MULTI_WINDOW, TRANSITION_AREA_WIDTH, CAPTION_HEIGHT) in testSplitLeftRegionCalculation() 110 WINDOWING_MODE_MULTI_WINDOW, TRANSITION_AREA_WIDTH, CAPTION_HEIGHT) in testSplitRightRegionCalculation()
|
D | DesktopTestHelpers.kt | 24 import android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW 70 .setWindowingMode(WINDOWING_MODE_MULTI_WINDOW) in createSplitScreenTask()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | SplitScreenConstants.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 126 {WINDOWING_MODE_FULLSCREEN, WINDOWING_MODE_UNDEFINED, WINDOWING_MODE_MULTI_WINDOW,
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | HandleMenuTest.kt | 22 import android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW 140 createTaskInfo(WINDOWING_MODE_MULTI_WINDOW, SPLIT_POSITION_TOP_OR_LEFT) in testSplitLeftMenu_usesSystemViewContainer() 151 createTaskInfo(WINDOWING_MODE_MULTI_WINDOW, SPLIT_POSITION_BOTTOM_OR_RIGHT) in testSplitRightMenu_usesSystemViewContainer() 165 WINDOWING_MODE_MULTI_WINDOW -> { in createTaskInfo()
|
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
D | TaskView.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 80 o.setLaunchWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in makeLaunchOptions()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | TaskContainerTest.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 80 assertEquals(WINDOWING_MODE_MULTI_WINDOW, in testGetWindowingModeForSplitTaskFragment() 88 assertEquals(WINDOWING_MODE_MULTI_WINDOW, in testGetWindowingModeForSplitTaskFragment()
|
D | SplitPresenterTest.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 145 mActivity.getActivityToken(), TASK_BOUNDS, WINDOWING_MODE_MULTI_WINDOW); in testCreateTaskFragment() 148 assertTrue(container.isLastRequestedWindowingModeEqual(WINDOWING_MODE_MULTI_WINDOW)); in testCreateTaskFragment() 173 WINDOWING_MODE_MULTI_WINDOW); in testUpdateWindowingMode() 175 assertTrue(container.isLastRequestedWindowingModeEqual(WINDOWING_MODE_MULTI_WINDOW)); in testUpdateWindowingMode() 176 verify(mTransaction).setWindowingMode(any(), eq(WINDOWING_MODE_MULTI_WINDOW)); in testUpdateWindowingMode() 181 WINDOWING_MODE_MULTI_WINDOW); in testUpdateWindowingMode() 573 .setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testGetRelBoundsForPosition_useHingeFallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/policy/ |
D | NewRootTaskInfo.kt | 28 import android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW 58 MultiWindow(WINDOWING_MODE_MULTI_WINDOW); in toInt()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 113 public static final int WINDOWING_MODE_MULTI_WINDOW = 6; field in WindowConfiguration 119 WINDOWING_MODE_MULTI_WINDOW, 778 return mWindowingMode != WINDOWING_MODE_MULTI_WINDOW && tasksAreFloating(); in hasWindowShadow() 788 || mWindowingMode == WINDOWING_MODE_MULTI_WINDOW; in canResizeTask() 840 || mWindowingMode == WINDOWING_MODE_MULTI_WINDOW; in isAlwaysOnTop() 896 case WINDOWING_MODE_MULTI_WINDOW: return "multi-window"; in windowingModeToString()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | HandleMenu.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 154 || mTaskInfo.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW) { in animateHandleMenu() 214 splitscreenBtn.setImageTintList(windowingMode == WINDOWING_MODE_MULTI_WINDOW in setupWindowingPill() 288 } else if (mTaskInfo.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW) { in updateGlobalMenuPosition() 442 || mTaskInfo.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW) { in close()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionMetricsLogger.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 227 case WINDOWING_MODE_MULTI_WINDOW -> in windowingModeToTargetWindowingMode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotationCompatPolicy.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW; 304 if (cameraActivity.getTask().getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW in onCameraOpened()
|
/frameworks/base/core/java/android/window/ |
D | DisplayWindowPolicyController.java | 71 mSupportedWindowingModes.add(WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW); in DisplayWindowPolicyController()
|