Home
last modified time | relevance | path

Searched refs:parentConfig (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskTests.java371 task.resolveOverrideConfiguration(parentConfig); in testResolveNonResizableTaskWindowingMode()
377 task.resolveOverrideConfiguration(parentConfig); in testResolveNonResizableTaskWindowingMode()
384 task.resolveOverrideConfiguration(parentConfig); in testResolveNonResizableTaskWindowingMode()
746 parentConfig.densityDpi = 400; in testComputeConfigResourceOverrides()
747 parentConfig.screenHeightDp = (parentBounds.bottom * 160) / parentConfig.densityDpi; // 200 in testComputeConfigResourceOverrides()
748 parentConfig.screenWidthDp = (parentBounds.right * 160) / parentConfig.densityDpi; // 100 in testComputeConfigResourceOverrides()
764 parentConfig.densityDpi = 192; in testComputeConfigResourceOverrides()
814 parentConfig.densityDpi = 400; in testComputeConfigResourceLayoutOverrides()
815 parentConfig.screenHeightDp = (fullScreenBounds.bottom * 160) / parentConfig.densityDpi; in testComputeConfigResourceLayoutOverrides()
816 parentConfig.screenWidthDp = (fullScreenBounds.right * 160) / parentConfig.densityDpi; in testComputeConfigResourceLayoutOverrides()
[all …]
H A DTaskFragmentTest.java106 final Configuration parentConfig = mTaskFragment.getParent().getConfiguration(); in testOnConfigurationChanged() local
107 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in testOnConfigurationChanged()
108 parentConfig.smallestScreenWidthDp += 10; in testOnConfigurationChanged()
109 final int parentSw = parentConfig.smallestScreenWidthDp; in testOnConfigurationChanged()
H A DSizeCompatTests.java4208 Configuration parentConfig = mActivity.getParent().getConfiguration();
4211 .getFixedOrientationLetterboxAspectRatio(parentConfig);
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskFragment.java2093 @NonNull Configuration parentConfig) { in computeConfigResourceOverrides() argument
2105 computeConfigResourceOverrides(inOutConfig, parentConfig, overrideDisplayInfo, in computeConfigResourceOverrides()
2110 @NonNull Configuration parentConfig, in computeConfigResourceOverrides() argument
2147 windowingMode = parentConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides()
2152 density = parentConfig.densityDpi; in computeConfigResourceOverrides()
2160 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in computeConfigResourceOverrides()
2183 containingAppBounds = parentConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
2219 rotation = parentConfig.windowConfiguration.getRotation(); in computeConfigResourceOverrides()
2240 ? Math.min(overrideScreenWidthDp, parentConfig.screenWidthDp) in computeConfigResourceOverrides()
2247 ? Math.min(overrideScreenHeightDp, parentConfig.screenHeightDp) in computeConfigResourceOverrides()
[all …]
H A DTask.java2056 @NonNull Configuration parentConfig) { in adjustForMinimalTaskDimensions() argument
2066 final float density = (float) parentConfig.densityDpi / DisplayMetrics.DENSITY_DEFAULT; in adjustForMinimalTaskDimensions()
2079 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in adjustForMinimalTaskDimensions()
H A DActivityRecord.java8128 final Configuration parentConfig = parent.getConfiguration(); in inSizeCompatMode() local
8132 return parentConfig.densityDpi != getConfiguration().densityDpi; in inSizeCompatMode()
8832 @NonNull Configuration parentConfig) { in isDefaultMultiWindowLetterboxAspectRatioDesired()
8836 final int windowingMode = parentConfig.windowConfiguration.getWindowingMode(); in isDefaultMultiWindowLetterboxAspectRatioDesired()