/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/ |
D | UnfoldAnimationControllerTest.java | 110 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testAppearedMatchingTask_appliesUnfoldProgress() 122 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 1); in testAppearedMatchingTaskTwoDifferentAnimators_appliesUnfoldProgressToBoth() 123 mTaskAnimator2.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testAppearedMatchingTaskTwoDifferentAnimators_appliesUnfoldProgressToBoth() 139 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testAppearedNonMatchingTask_doesNotApplyUnfoldProgress() 151 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testAppearedAndChangedToNonMatchingTask_doesNotApplyUnfoldProgress() 165 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testAppearedAndChangedToNonMatchingTaskAndBack_appliesUnfoldProgress() 181 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testAppearedNonMatchingTaskAndChangedToMatching_appliesUnfoldProgress() 195 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testAppearedMatchingTaskAndChanged_appliesUnfoldProgress() 209 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 2); in testShellTransitionRunning_doesNotApplyUnfoldProgress() 221 mTaskAnimator1.setTaskMatcher((info) -> info.getWindowingMode() == 0); in testApplicableTaskDisappeared_resetsSurface() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ConfigurationContainer.java | 214 newParentConfiguration.windowConfiguration.getWindowingMode(); in applySizeOverrideIfNeeded() 218 && (inOutConfig.windowConfiguration.getWindowingMode() == WINDOWING_MODE_UNDEFINED in applySizeOverrideIfNeeded() 219 || isFloating(inOutConfig.windowConfiguration.getWindowingMode())); in applySizeOverrideIfNeeded() 559 public int getWindowingMode() { in getWindowingMode() method in ConfigurationContainer 560 return mFullConfiguration.windowConfiguration.getWindowingMode(); in getWindowingMode() 565 return mRequestedOverrideConfiguration.windowConfiguration.getWindowingMode(); in getRequestedOverrideWindowingMode() 592 mFullConfiguration.windowConfiguration.getWindowingMode(); in inMultiWindowMode() 597 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_PINNED; in inPinnedWindowingMode() 601 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_FREEFORM; in inFreeformWindowingMode() 743 final int thisWindowingMode = getWindowingMode(); in isCompatible() [all …]
|
D | TaskLaunchParamsModifier.java | 139 + " task-display-area-windowing-mode=" + suggestedDisplayArea.getWindowingMode() in calculate() 162 launchMode = source.getTask().getWindowingMode(); in calculate() 175 launchMode = task.getWindowingMode(); in calculate() 307 outParams.mWindowingMode = launchMode == suggestedDisplayArea.getWindowingMode() in calculate() 318 : suggestedDisplayArea.getWindowingMode(); in calculate() 340 outParams.mWindowingMode = (launchMode == mTmpDisplayArea.getWindowingMode()) in calculate() 597 final int sourceWindowingMode = source.getTask().getWindowingMode(); in canInheritWindowingModeFromSource() 612 && ((displayArea.getWindowingMode() == WINDOWING_MODE_FULLSCREEN in canCalculateBoundsForFullscreenTask() 668 if (displayArea.getWindowingMode() == WINDOWING_MODE_FREEFORM in shouldLaunchUnresizableAppInFreeform()
|
D | DisplayRotationCompatPolicy.java | 297 if (cameraActivity.getWindowingMode() == WINDOWING_MODE_FULLSCREEN) { in onCameraOpened() 304 if (cameraActivity.getTask().getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW in onCameraOpened() 362 || topActivity.getWindowingMode() != WINDOWING_MODE_FULLSCREEN) { in onCameraClosed()
|
D | TaskDisplayArea.java | 215 && windowingMode == rootTask.getWindowingMode()) { in getRootTask() 273 final int windowingMode = rootTask.getWindowingMode(); 896 windowingMode == WINDOWING_MODE_UNDEFINED ? getWindowingMode() : windowingMode; 924 && candidateTask.getWindowingMode() != windowingMode) { 1117 || candidateTask.getWindowingMode() != WINDOWING_MODE_PINNED)) { 1162 ? currentFocus.getWindowingMode() : WINDOWING_MODE_UNDEFINED; 1338 windowingMode = task.getWindowingMode(); 1341 windowingMode = r.getWindowingMode(); 1345 windowingMode = getWindowingMode(); 1649 final int winMode = s.getWindowingMode(); [all …]
|
/frameworks/base/core/java/android/window/ |
D | TaskFragmentParentInfo.java | 122 return getWindowingMode() == that.getWindowingMode() && mDisplayId == that.mDisplayId in equalsForTaskFragmentOrganizer() 134 private int getWindowingMode() { in getWindowingMode() method in TaskFragmentParentInfo 135 return mConfiguration.windowConfiguration.getWindowingMode(); in getWindowingMode()
|
D | TaskFragmentInfo.java | 190 public int getWindowingMode() { in getWindowingMode() method in TaskFragmentInfo 191 return mConfiguration.windowConfiguration.getWindowingMode(); in getWindowingMode() 231 && getWindowingMode() == that.getWindowingMode() in equalsForTaskFragmentOrganizer()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayWindowSettingsTests.java | 114 mPrimaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testPrimaryDisplayDefaultToFullscreen_NoFreeformSupport() 124 mPrimaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testPrimaryDisplayDefaultToFullscreen_HasFreeformSupport_NonPc_NoDesktopMode() 135 mPrimaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testPrimaryDisplayDefaultToFullscreen_HasFreeformSupport_NonPc_HasDesktopMode() 146 mPrimaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testPrimaryDisplayDefaultToFreeform_HasFreeformSupport_IsPc() 159 mPrimaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testPrimaryDisplayUpdateToFreeform_HasFreeformSupport_IsPc() 167 mSecondaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testSecondaryDisplayDefaultToFullscreen_NoFreeformSupport() 177 mSecondaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_NonPc_NoDesktopMode() 188 mSecondaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_NonPc_HasDesktopMode() 199 mSecondaryDisplay.getDefaultTaskDisplayArea().getWindowingMode()); in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_IsPc()
|
D | DisplayRotationImmersiveAppCompatPolicyTests.java | 67 when(mMockTask.getWindowingMode()).thenReturn(WINDOWING_MODE_FULLSCREEN); in setUp() 180 when(mMockTask.getWindowingMode()).thenReturn(WINDOWING_MODE_MULTI_WINDOW); in testIsRotationLockEnforced_notFullscreen_lockNotEnforced() 184 when(mMockTask.getWindowingMode()).thenReturn(WINDOWING_MODE_PINNED); in testIsRotationLockEnforced_notFullscreen_lockNotEnforced() 188 when(mMockTask.getWindowingMode()).thenReturn(WINDOWING_MODE_FREEFORM); in testIsRotationLockEnforced_notFullscreen_lockNotEnforced()
|
D | WindowConfigurationTests.java | 140 winConfig2.setWindowingMode(winConfig1.getWindowingMode()); in testConfigurationCompareTo() 221 assertEquals(WINDOWING_MODE_FULLSCREEN, config.getWindowingMode()); in testMaskedSetTo() 227 assertEquals(WINDOWING_MODE_FULLSCREEN, config.getWindowingMode()); in testMaskedSetTo() 232 assertEquals(WINDOWING_MODE_UNDEFINED, config.getWindowingMode()); in testMaskedSetTo()
|
D | AppChangeTransitionTests.java | 142 assertEquals(WINDOWING_MODE_FREEFORM, mTask.getWindowingMode()); in testNoChangeOnOldDisplayWhenMoveDisplay() 149 assertEquals(WINDOWING_MODE_FULLSCREEN, mTask.getWindowingMode()); in testNoChangeOnOldDisplayWhenMoveDisplay()
|
D | SizeCompatTests.java | 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()); 2027 assertEquals(WINDOWING_MODE_MULTI_WINDOW, mActivity.getWindowingMode()); [all …]
|
D | ConfigurationContainerTests.java | 233 assertEquals(WINDOWING_MODE_UNDEFINED, root.getWindowingMode()); in testSetWindowingMode() 234 assertEquals(WINDOWING_MODE_FREEFORM, child.getWindowingMode()); in testSetWindowingMode() 237 assertEquals(WINDOWING_MODE_FULLSCREEN, root.getWindowingMode()); in testSetWindowingMode() 238 assertEquals(WINDOWING_MODE_FREEFORM, child.getWindowingMode()); in testSetWindowingMode()
|
D | TaskSnapshotPersisterLoaderTest.java | 341 assertEquals(WINDOWING_MODE_FULLSCREEN, a.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot() 342 assertEquals(WINDOWING_MODE_PINNED, b.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot() 352 assertEquals(WINDOWING_MODE_FULLSCREEN, snapshotA.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot() 353 assertEquals(WINDOWING_MODE_PINNED, snapshotB.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | HandleMenu.java | 153 if (mTaskInfo.getWindowingMode() == WINDOWING_MODE_FULLSCREEN in animateHandleMenu() 154 || mTaskInfo.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW) { in animateHandleMenu() 211 final int windowingMode = mTaskInfo.getWindowingMode(); in setupWindowingPill() 283 } else if (mTaskInfo.getWindowingMode() == WINDOWING_MODE_FULLSCREEN) { in updateGlobalMenuPosition() 288 } else if (mTaskInfo.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW) { in updateGlobalMenuPosition() 441 if (mTaskInfo.getWindowingMode() == WINDOWING_MODE_FULLSCREEN in close() 442 || mTaskInfo.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW) { in close()
|
D | CaptionWindowDecorViewModel.java | 186 if (taskInfo.getWindowingMode() == WINDOWING_MODE_FREEFORM) { in shouldShowWindowDecor() 195 return rootDisplayAreaInfo.configuration.windowConfiguration.getWindowingMode() in shouldShowWindowDecor() 287 rootDisplayAreaInfo.configuration.windowConfiguration.getWindowingMode()); in onClick() 314 if (taskInfo.getWindowingMode() == WINDOWING_MODE_FULLSCREEN) { in handleMotionEvent()
|
D | DesktopModeWindowDecoration.java | 204 taskInfo.getWindowingMode() == WINDOWING_MODE_FREEFORM; in relayout() 215 if (taskInfo.getWindowingMode() == WINDOWING_MODE_FREEFORM) { in relayout() 369 taskInfo.getWindowingMode() == WINDOWING_MODE_FREEFORM; in isDragResizable() 419 final int captionLayoutId = getDesktopModeWindowDecorLayoutId(taskInfo.getWindowingMode()); 426 relayoutParams.mCaptionHeightId = getCaptionHeightIdStatic(taskInfo.getWindowingMode()); 511 final int captionHeight = getCaptionHeight(mTaskInfo.getWindowingMode()); 960 getCaptionHeight(mTaskInfo.getWindowingMode()))); 1028 + "windowingMode=" + windowingModeToString(mTaskInfo.getWindowingMode()) + ", "
|
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/wm/ |
D | CalculateParamsTest.java | 69 assertThat(params.getCurrentParams().getWindowingMode()) in createReturnsCalculateParams() 71 assertThat(params.getOutParams().getWindowingMode()).isEqualTo(WINDOWING_MODE_MULTI_WINDOW); in createReturnsCalculateParams()
|
/frameworks/base/core/java/android/app/ |
D | TaskInfo.java | 349 public int getWindowingMode() { in getWindowingMode() method in TaskInfo 350 return configuration.windowConfiguration.getWindowingMode(); in getWindowingMode() 355 return configuration.windowConfiguration.getWindowingMode() in isFreeform() 421 && getWindowingMode() == that.getWindowingMode() in equalsForTaskOrganizer()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskContainer.java | 219 return isInMultiWindow() ? getWindowingMode() : WINDOWING_MODE_MULTI_WINDOW; in getWindowingModeForTaskFragment() 227 return configuration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_PINNED; in isInPictureInPicture() 231 return WindowConfiguration.inMultiWindowMode(getWindowingMode()); in isInMultiWindow() 235 private int getWindowingMode() { in getWindowingMode() method in TaskContainer 236 return mInfo.getConfiguration().windowConfiguration.getWindowingMode(); in getWindowingMode() 728 final int windowingMode = windowConfiguration.getWindowingMode(); in getTaskPropertiesFromActivity()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformTaskTransitionHandler.java | 155 if (change.getTaskInfo().getWindowingMode() == WINDOWING_MODE_FREEFORM) { in startAnimation() 204 && taskInfo.getWindowingMode() == WINDOWING_MODE_FULLSCREEN) { in startChangeTransition() 210 && taskInfo.getWindowingMode() == WINDOWING_MODE_FREEFORM) { in startChangeTransition()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | RootDisplayAreaOrganizer.java | 138 displayAreaInfo.configuration.windowConfiguration.getWindowingMode(), in prepareWindowingModeChange() 154 displayAreaInfo.configuration.windowConfiguration.getWindowingMode(); in dump()
|
D | ShellTaskOrganizer.java | 557 data.getTaskInfo().getWindowingMode() != taskInfo.getWindowingMode(); in onTaskInfoChanged() 569 || mLastFocusedTaskInfo.getWindowingMode() != taskInfo.getWindowingMode()) in onTaskInfoChanged() 828 switch (runningTaskInfo.getWindowingMode()) { in taskInfoToTaskListenerType() 879 final int windowingMode = info.getTaskInfo().getWindowingMode(); in dump()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | ShellTaskOrganizerTests.java | 379 createTaskInfo(taskInfo1.taskId, taskInfo1.getWindowingMode()); in testOnSizeCompatActivityChanged() 389 createTaskInfo(taskInfo1.taskId, taskInfo1.getWindowingMode()); in testOnSizeCompatActivityChanged() 459 createTaskInfo(taskInfo1.taskId, taskInfo1.getWindowingMode()); in testOnCameraCompatActivityChanged() 471 createTaskInfo(taskInfo1.taskId, taskInfo1.getWindowingMode()); in testOnCameraCompatActivityChanged() 483 createTaskInfo(taskInfo1.taskId, taskInfo1.getWindowingMode()); in testOnCameraCompatActivityChanged() 495 createTaskInfo(taskInfo1.taskId, taskInfo1.getWindowingMode()); in testOnCameraCompatActivityChanged() 506 createTaskInfo(taskInfo1.taskId, taskInfo1.getWindowingMode()); in testOnCameraCompatActivityChanged()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | LaunchParamsWrapper.java | 73 public int getWindowingMode() { in getWindowingMode() method in LaunchParamsWrapper
|