Searched refs:parentConfig (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 184 final Configuration parentConfig = stack.getConfiguration(); in testFitWithinBounds() local 185 parentConfig.windowConfiguration.setBounds(parentBounds); in testFitWithinBounds() 186 parentConfig.densityDpi = DisplayMetrics.DENSITY_DEFAULT; in testFitWithinBounds() 361 final Configuration parentConfig = new Configuration(); in testComputeConfigResourceOverrides() local 364 parentConfig.densityDpi = 400; in testComputeConfigResourceOverrides() 365 parentConfig.screenHeightDp = 200; // 200 * 400 / 160 = 500px in testComputeConfigResourceOverrides() 366 parentConfig.screenWidthDp = 100; // 100 * 400 / 160 = 250px in testComputeConfigResourceOverrides() 367 parentConfig.windowConfiguration.setRotation(ROTATION_0); in testComputeConfigResourceOverrides() 372 task.computeConfigResourceOverrides(inOutConfig, parentConfig); in testComputeConfigResourceOverrides() 374 assertEquals(parentConfig.screenHeightDp, inOutConfig.screenHeightDp); in testComputeConfigResourceOverrides() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskStack.java | 429 void calculateDockedBoundsForConfigChange(Configuration parentConfig, Rect inOutBounds) { in calculateDockedBoundsForConfigChange() argument 432 repositionSplitScreenStackAfterRotation(parentConfig, primary, inOutBounds); in calculateDockedBoundsForConfigChange() 434 snapDockedStackAfterRotation(parentConfig, cutout, inOutBounds); in calculateDockedBoundsForConfigChange() 436 final int newDockSide = getDockSide(parentConfig, inOutBounds); in calculateDockedBoundsForConfigChange() 456 void repositionSplitScreenStackAfterRotation(Configuration parentConfig, boolean primary, in repositionSplitScreenStackAfterRotation() argument 458 final int dockSide = getDockSide(mDisplayContent, parentConfig, inOutBounds); in repositionSplitScreenStackAfterRotation() 463 parentConfig.windowConfiguration.getBounds(), in repositionSplitScreenStackAfterRotation() 464 parentConfig.windowConfiguration.getRotation())) { in repositionSplitScreenStackAfterRotation() 467 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in repositionSplitScreenStackAfterRotation() 495 void snapDockedStackAfterRotation(Configuration parentConfig, DisplayCutout displayCutout, in snapDockedStackAfterRotation() argument [all …]
|
D | DockedStackDividerController.java | 232 void getHomeStackBoundsInDockedMode(Configuration parentConfig, int dockSide, Rect outBounds) { in getHomeStackBoundsInDockedMode() argument 234 final int displayWidth = parentConfig.windowConfiguration.getBounds().width(); in getHomeStackBoundsInDockedMode() 235 final int displayHeight = parentConfig.windowConfiguration.getBounds().height(); in getHomeStackBoundsInDockedMode() 237 parentConfig.windowConfiguration.getRotation(), displayWidth, displayHeight, in getHomeStackBoundsInDockedMode() 242 if (parentConfig.orientation == Configuration.ORIENTATION_PORTRAIT) { in getHomeStackBoundsInDockedMode()
|
D | TaskRecord.java | 2074 @NonNull Configuration parentConfig) { in computeConfigResourceOverrides() argument 2075 computeConfigResourceOverrides(inOutConfig, parentConfig, null /* compatInsets */); in computeConfigResourceOverrides() 2087 @NonNull Configuration parentConfig, in computeConfigResourceOverrides() argument 2091 windowingMode = parentConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides() 2096 density = parentConfig.densityDpi; in computeConfigResourceOverrides() 2110 final Rect parentAppBounds = parentConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides() 2130 final int rotation = parentConfig.windowConfiguration.getRotation(); in computeConfigResourceOverrides() 2150 ? Math.min(overrideScreenWidthDp, parentConfig.screenWidthDp) in computeConfigResourceOverrides() 2156 ? Math.min(overrideScreenHeightDp, parentConfig.screenHeightDp) in computeConfigResourceOverrides() 2190 final int sl = parentConfig.screenLayout in computeConfigResourceOverrides()
|
D | ActivityRecord.java | 2772 final Configuration parentConfig = getParent().getConfiguration(); in inSizeCompatMode() local 2776 if (parentConfig.densityDpi != resolvedConfig.densityDpi) { in inSizeCompatMode() 2780 final Rect parentAppBounds = parentConfig.windowConfiguration.getAppBounds(); in inSizeCompatMode() 2843 final Configuration parentConfig = getParent().getConfiguration(); in updateOverrideConfiguration() local 2844 if (!hasProcess() && !isConfigurationCompatible(parentConfig)) { in updateOverrideConfiguration() 2857 overrideConfig.colorMode = parentConfig.colorMode; in updateOverrideConfiguration() 2858 overrideConfig.densityDpi = parentConfig.densityDpi; in updateOverrideConfiguration() 2859 overrideConfig.screenLayout = parentConfig.screenLayout in updateOverrideConfiguration() 2864 overrideConfig.smallestScreenWidthDp = parentConfig.smallestScreenWidthDp; in updateOverrideConfiguration()
|
D | ActivityStack.java | 5685 final Configuration parentConfig = getParent().getConfiguration(); in animateResizePinnedStack() local 5687 if (top != null && !top.isConfigurationCompatible(parentConfig)) { in animateResizePinnedStack()
|