/frameworks/base/services/core/java/com/android/server/wm/ |
D | ConfigurationContainer.java | 146 mFullConfiguration.windowConfiguration.unsetAlwaysOnTop(); in onConfigurationChanged() 214 newParentConfiguration.windowConfiguration.getWindowingMode(); in applySizeOverrideIfNeeded() 218 && (inOutConfig.windowConfiguration.getWindowingMode() == WINDOWING_MODE_UNDEFINED in applySizeOverrideIfNeeded() 219 || isFloating(inOutConfig.windowConfiguration.getWindowingMode())); in applySizeOverrideIfNeeded() 220 int rotation = newParentConfiguration.windowConfiguration.getRotation(); in applySizeOverrideIfNeeded() 236 inOutConfig.windowConfiguration.setAppBounds(null); in applySizeOverrideIfNeeded() 253 Rect outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in applySizeOverrideIfNeeded() 255 inOutConfig.windowConfiguration.setAppBounds( in applySizeOverrideIfNeeded() 256 newParentConfiguration.windowConfiguration.getBounds()); in applySizeOverrideIfNeeded() 257 outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in applySizeOverrideIfNeeded() [all …]
|
D | DisplayAreaGroup.java | 81 Rect overrideBounds = resolvedConfig.windowConfiguration.getBounds(); in resolveOverrideConfiguration() 84 ? newParentConfiguration.windowConfiguration.getBounds() in resolveOverrideConfiguration()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | TabletopModeControllerTest.java | 113 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_0); in registerOnTabletopModeChangedListener_notInTabletopMode_callbackFalse() 126 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in registerOnTabletopModeChangedListener_inTabletopMode_callbackTrue() 139 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in registerOnTabletopModeChangedListener_notInTabletopModeTwice_callbackOnce() 145 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_0); in registerOnTabletopModeChangedListener_notInTabletopModeTwice_callbackOnce() 155 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpen_scheduleTabletopModeChange() 166 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_0); in foldedRotation0_halfOpen_noScheduleTabletopModeChange() 177 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpenThenUnfold_cancelTabletopModeChange() 189 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpenThenFold_cancelTabletopModeChange() 201 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_90); in foldedRotation90_halfOpenThenRotate_cancelTabletopModeChange() 205 mConfiguration.windowConfiguration.setDisplayRotation(Surface.ROTATION_0); in foldedRotation90_halfOpenThenRotate_cancelTabletopModeChange() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowConfigurationTests.java | 74 final WindowConfiguration winConfig1 = config1.windowConfiguration; in testDiff() 76 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testDiff() 78 final WindowConfiguration winConfig3 = config3.windowConfiguration; in testDiff() 80 final WindowConfiguration winConfig4 = config4.windowConfiguration; in testDiff() 82 final WindowConfiguration winConfig5 = config5.windowConfiguration; in testDiff() 126 final WindowConfiguration winConfig1 = config1.windowConfiguration; in testConfigurationCompareTo() 131 final WindowConfiguration winConfig2 = config2.windowConfiguration; in testConfigurationCompareTo() 193 mDisplayContent.getDisplayId()).windowConfiguration.getAppBounds(); in testAppBounds_RootConfigurationBounds() 252 config0.windowConfiguration.setMaxBounds(bounds0); in testAreConfigurationsEqualForDisplay() 253 config1.windowConfiguration.setMaxBounds(bounds1); in testAreConfigurationsEqualForDisplay() [all …]
|
D | ConfigurationContainerTests.java | 292 config.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testRegisterConfigurationChangeListener() 293 config.windowConfiguration.setAppBounds(10, 10, 10, 10); in testRegisterConfigurationChangeListener() 354 assertEquals(bounds, root.getConfiguration().windowConfiguration.getBounds()); in testSetMaxBoundsByHierarchy() 356 assertEquals(bounds, child.getConfiguration().windowConfiguration.getBounds()); in testSetMaxBoundsByHierarchy() 359 assertEquals(bounds, root.getConfiguration().windowConfiguration.getMaxBounds()); in testSetMaxBoundsByHierarchy() 361 assertEquals(bounds, child.getConfiguration().windowConfiguration.getMaxBounds()); in testSetMaxBoundsByHierarchy() 374 assertEquals(bounds, root.getConfiguration().windowConfiguration.getBounds()); in testSetBoundsNotOverrideMaxBounds() 376 assertEquals(bounds, child.getConfiguration().windowConfiguration.getBounds()); in testSetBoundsNotOverrideMaxBounds() 379 assertTrue(root.getConfiguration().windowConfiguration.getMaxBounds().isEmpty()); in testSetBoundsNotOverrideMaxBounds() 381 assertTrue(child.getConfiguration().windowConfiguration.getMaxBounds().isEmpty()); in testSetBoundsNotOverrideMaxBounds() [all …]
|
D | WindowContextListenerControllerTests.java | 161 config1.windowConfiguration.setBounds(bounds1); in testRegisterWindowContextListenerClientConfigPropagation() 168 assertEquals(bounds1, clientToken.mConfiguration.windowConfiguration.getBounds()); in testRegisterWindowContextListenerClientConfigPropagation() 177 config2.windowConfiguration.setBounds(bounds2); in testRegisterWindowContextListenerClientConfigPropagation() 184 assertEquals(bounds2, clientToken.mConfiguration.windowConfiguration.getBounds()); in testRegisterWindowContextListenerClientConfigPropagation() 191 assertEquals(bounds1, clientToken.mConfiguration.windowConfiguration.getBounds()); in testRegisterWindowContextListenerClientConfigPropagation() 298 config1.windowConfiguration.setBounds(bounds1); in testConfigUpdateForSuspendedWindowContext() 333 config1.windowConfiguration.setBounds(bounds1); in testReportConfigUpdateForSuspendedWindowProviderService()
|
/frameworks/base/core/java/android/window/ |
D | ConfigurationHelper.java | 111 final Rect currentBounds = currentConfig.windowConfiguration.getBounds(); in shouldUpdateWindowMetricsBounds() 112 final Rect newBounds = newConfig.windowConfiguration.getBounds(); in shouldUpdateWindowMetricsBounds() 114 final Rect currentMaxBounds = currentConfig.windowConfiguration.getMaxBounds(); in shouldUpdateWindowMetricsBounds() 115 final Rect newMaxBounds = newConfig.windowConfiguration.getMaxBounds(); in shouldUpdateWindowMetricsBounds() 122 final int origRot = config.windowConfiguration.getDisplayRotation(); in isDisplayRotationChanged() 123 final int newRot = newConfig.windowConfiguration.getDisplayRotation(); in isDisplayRotationChanged()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/ |
D | WindowLayoutComponentImpl.java | 296 @NonNull WindowConfiguration windowConfiguration) { in getCurrentWindowLayoutInfo() argument 298 return getWindowLayoutInfo(displayId, windowConfiguration, in getCurrentWindowLayoutInfo() 314 @NonNull WindowConfiguration windowConfiguration, in getWindowLayoutInfo() argument 316 List<DisplayFeature> displayFeatureList = getDisplayFeatures(displayId, windowConfiguration, in getWindowLayoutInfo() 345 context.getResources().getConfiguration().windowConfiguration, in getDisplayFeatures() 351 @NonNull WindowConfiguration windowConfiguration, in getDisplayFeatures() argument 360 final int rotation = windowConfiguration.getDisplayRotation(); in getDisplayFeatures() 369 transformToWindowSpaceRect(windowConfiguration, featureRect); in getDisplayFeatures() 379 + ", WindowConfiguration: " + windowConfiguration); in getDisplayFeatures() 384 && featureRect.width() != windowConfiguration.getBounds().width()) { in getDisplayFeatures() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenUtilsTests.java | 44 portraitTablet.windowConfiguration.setMaxBounds(new Rect(0, 0, 500, 1000)); in testIsLeftRightSplit() 47 landscapeTablet.windowConfiguration.setMaxBounds(new Rect(0, 0, 1000, 500)); in testIsLeftRightSplit() 50 portraitPhone.windowConfiguration.setMaxBounds(new Rect(0, 0, 500, 1000)); in testIsLeftRightSplit() 53 landscapePhone.windowConfiguration.setMaxBounds(new Rect(0, 0, 1000, 500)); in testIsLeftRightSplit()
|
/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 | VeiledResizeTaskPositionerTest.kt | 112 if (mockDesktopWindowDecoration.mTaskInfo.configuration.windowConfiguration in <lambda>() 114 mockDesktopWindowDecoration.mTaskInfo.configuration.windowConfiguration in <lambda>() 130 configuration.windowConfiguration.setBounds(STARTING_BOUNDS) in <lambda>() 131 configuration.windowConfiguration.displayRotation = ROTATION_90 in <lambda>() 165 change.configuration.windowConfiguration.bounds == STARTING_BOUNDS}}, in <lambda>() 206 change.configuration.windowConfiguration.bounds == rectAfterEnd }}, in <lambda>() 231 change.configuration.windowConfiguration.bounds == rectAfterMove in <lambda>() 247 change.configuration.windowConfiguration.bounds == rectAfterEnd}}, in <lambda>() 273 change.configuration.windowConfiguration.bounds == STARTING_BOUNDS}}, in <lambda>() 373 change.configuration.windowConfiguration.bounds == rectAfterDrag}}, in <lambda>() [all …]
|
D | FluidResizeTaskPositionerTest.kt | 103 if (mockWindowDecoration.mTaskInfo.configuration.windowConfiguration in <lambda>() 105 mockWindowDecoration.mTaskInfo.configuration.windowConfiguration in <lambda>() 123 configuration.windowConfiguration.setBounds(STARTING_BOUNDS) in <lambda>() 124 configuration.windowConfiguration.displayRotation = ROTATION_90 in <lambda>() 220 change.configuration.windowConfiguration.bounds == rectAfterMove in <lambda>() 235 change.configuration.windowConfiguration.bounds == rectAfterEnd in <lambda>() 329 != 0) && change.configuration.windowConfiguration.bounds.top == in <lambda>() 331 change.configuration.windowConfiguration.bounds.bottom == in <lambda>() 359 != 0) && change.configuration.windowConfiguration.bounds.right == in <lambda>() 361 change.configuration.windowConfiguration.bounds.left == in <lambda>() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 125 config.windowConfiguration.setRotation(ROTATION_90); in testMaskedSet() 126 other.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testMaskedSet() 133 assertEquals(ROTATION_90, config.windowConfiguration.getRotation()); in testMaskedSet() 139 assertEquals(other.windowConfiguration.getWindowingMode(), in testMaskedSet() 140 config.windowConfiguration.getWindowingMode()); in testMaskedSet() 141 assertEquals(ROTATION_90, config.windowConfiguration.getRotation()); in testMaskedSet() 147 assertEquals(ROTATION_UNDEFINED, config.windowConfiguration.getRotation()); in testMaskedSet()
|
/frameworks/base/core/tests/mockingcoretests/src/android/window/ |
D | ConfigurationHelperTest.java | 102 config.windowConfiguration.setBounds(new Rect(0, 0, 10, 10)); in testShouldUpdateResources_DifferentBounds_ReturnsTrue() 103 config.windowConfiguration.setMaxBounds(new Rect(0, 0, 20, 20)); in testShouldUpdateResources_DifferentBounds_ReturnsTrue() 106 newConfig.windowConfiguration.setBounds(new Rect(0, 0, 20, 20)); in testShouldUpdateResources_DifferentBounds_ReturnsTrue() 107 newConfig.windowConfiguration.setMaxBounds(new Rect(0, 0, 20, 20)); in testShouldUpdateResources_DifferentBounds_ReturnsTrue() 145 newConfig.windowConfiguration.setAppBounds(new Rect(0, 0, 10, 10)); in testShouldUpdateResources_DifferentNonPublicConfig_ReturnsTrue()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | RegisterComponentCallbacksTest.java | 67 config.windowConfiguration.setWindowingMode( in testRegisterComponentCallbacks() 69 config.windowConfiguration.setBounds(new Rect(0, 0, 100, 100)); in testRegisterComponentCallbacks() 98 config.windowConfiguration.setWindowingMode( in testRegisterComponentCallbacksBeforeT() 100 config.windowConfiguration.setBounds(new Rect(0, 0, 100, 100)); in testRegisterComponentCallbacksBeforeT()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/domain/interactor/ |
D | ConfigurationInteractor.kt | 42 val rotation = windowConfiguration.displayRotation 43 val maxBounds = windowConfiguration.maxBounds 54 .map { Rect(it.windowConfiguration.maxBounds) } in <lambda>()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskContainer.java | 164 return mInfo.getConfiguration().windowConfiguration.getBounds(); in getBounds() 227 return configuration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_PINNED; in isInPictureInPicture() 236 return mInfo.getConfiguration().windowConfiguration.getWindowingMode(); in getWindowingMode() 690 final Rect taskBounds = mConfiguration.windowConfiguration.getBounds(); in getTaskMetrics() 701 final Rect taskBounds = mConfiguration.windowConfiguration.getBounds(); in translateAbsoluteBoundsToRelativeBounds() 727 final WindowConfiguration windowConfiguration = activityConfig.windowConfiguration; in getTaskPropertiesFromActivity() local 728 final int windowingMode = windowConfiguration.getWindowingMode(); in getTaskPropertiesFromActivity() 731 windowConfiguration.setBounds(windowConfiguration.getMaxBounds()); in getTaskPropertiesFromActivity()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | CrossActivityBackAnimation.kt | 180 backAnimRect.set(closingTarget!!.windowConfiguration.bounds) in <lambda>() 192 closingTarget!!.windowConfiguration.bounds, in <lambda>() 204 closingTarget!!.windowConfiguration.bounds.height() in <lambda>() 387 closingTarget!!.windowConfiguration.bounds in <lambda>() 414 t.windowConfiguration.bounds.top, in <lambda>() 416 t.windowConfiguration.bounds.bottom in <lambda>() 421 t.localBounds.right != t.windowConfiguration.bounds.right && in <lambda>() 427 t.windowConfiguration.bounds.top, in <lambda>() 428 t.windowConfiguration.bounds.right, in <lambda>() 429 t.windowConfiguration.bounds.bottom in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImplTest.kt | 180 config.windowConfiguration.setMaxBounds(0, 0, 200, 200) in maxBoundsChange_newConfigObject_listenerNotified() 187 newConfig.windowConfiguration.setMaxBounds(0, 0, 100, 100) in maxBoundsChange_newConfigObject_listenerNotified() 198 config.windowConfiguration.setMaxBounds(0, 0, 200, 200) in maxBoundsChange_sameObject_listenerNotified() 204 config.windowConfiguration.setMaxBounds(0, 0, 100, 100) in maxBoundsChange_sameObject_listenerNotified() 297 config.windowConfiguration.setMaxBounds(0, 0, 2, 2) in multipleUpdates_listenerNotifiedOfAll() 305 config.windowConfiguration.setMaxBounds(0, 0, 3, 3) in multipleUpdates_listenerNotifiedOfAll()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | TestRunningTaskInfoBuilder.java | 127 info.configuration.windowConfiguration.setBounds(mBounds); in build() 128 info.configuration.windowConfiguration.setActivityType(mActivityType); in build() 129 info.configuration.windowConfiguration.setWindowingMode(mWindowingMode); in build()
|
/frameworks/base/core/tests/mockingcoretests/src/android/view/ |
D | DisplayTest.java | 99 mApplicationContext.getResources().getConfiguration().windowConfiguration.setAppBounds( in setupTests() 101 mApplicationContext.getResources().getConfiguration().windowConfiguration.setMaxBounds( in setupTests() 103 mApplicationContext.getResources().getConfiguration().windowConfiguration in setupTests() 299 mApplicationContext.getResources().getConfiguration().windowConfiguration in testGetRealSize_resourcesPortraitSandboxed_matchesDisplayAreaSandboxBounds() 326 mApplicationContext.getResources().getConfiguration().windowConfiguration in testGetRealSize_resourcesLandscapeSandboxed_matchesDisplayAreaSandboxBounds() 419 mApplicationContext.getResources().getConfiguration().windowConfiguration in testGetRealMetrics_resourcesPortraitSandboxed_matchesDisplayAreaSandboxBounds() 446 mApplicationContext.getResources().getConfiguration().windowConfiguration in testGetRealMetrics_resourcesLandscapeSandboxed_matchesDisplayAreaSandboxBounds() 523 resources.getConfiguration().windowConfiguration.setMaxBounds(bounds); in setMaxBoundsSandboxed() 579 resources.getConfiguration().windowConfiguration.setDisplayRotation(rotation); in setLocalDisplayInConfig()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/ |
D | SplitWindowManagerTests.java | 55 new Rect(0, 0, configuration.windowConfiguration.getBounds().width(), in setup() 56 configuration.windowConfiguration.getBounds().height())); in setup()
|
D | SplitLayoutTests.java | 97 config.windowConfiguration.setRotation(1); in testUpdateConfiguration() 101 config.windowConfiguration.setBounds(new Rect(0, 0, 2160, 1080)); in testUpdateConfiguration() 201 configuration.windowConfiguration.setRotation(0); in getConfiguration() 202 configuration.windowConfiguration.setBounds( in getConfiguration()
|
/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/core/java/android/view/ |
D | RemoteAnimationTarget.java | 197 public final WindowConfiguration windowConfiguration; field in RemoteAnimationTarget 283 this.windowConfiguration = windowConfig; in RemoteAnimationTarget() 310 windowConfiguration = in.readTypedObject(WindowConfiguration.CREATOR); in RemoteAnimationTarget() 365 dest.writeTypedObject(windowConfiguration, 0 /* flags */); in writeToParcel() 391 pw.print(prefix); pw.print("windowConfiguration="); pw.println(windowConfiguration); in dump() 415 windowConfiguration.dumpDebug(proto, WINDOW_CONFIGURATION); in dumpDebug()
|