Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java401 Configuration parentConfig = task.getParent().getConfiguration(); in testResolveNonResizableTaskWindowingMode() local
402 parentConfig.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testResolveNonResizableTaskWindowingMode()
412 task.resolveOverrideConfiguration(parentConfig); in testResolveNonResizableTaskWindowingMode()
418 task.resolveOverrideConfiguration(parentConfig); in testResolveNonResizableTaskWindowingMode()
423 parentConfig.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testResolveNonResizableTaskWindowingMode()
425 task.resolveOverrideConfiguration(parentConfig); in testResolveNonResizableTaskWindowingMode()
548 final Configuration parentConfig = rootTask.getConfiguration(); in testFitWithinBounds() local
549 parentConfig.windowConfiguration.setBounds(parentBounds); in testFitWithinBounds()
550 parentConfig.densityDpi = DisplayMetrics.DENSITY_DEFAULT; in testFitWithinBounds()
809 final Configuration parentConfig = new Configuration(); in testComputeConfigResourceOverrides() local
[all …]
DTaskFragmentTest.java126 final Configuration parentConfig = mTaskFragment.getParent().getConfiguration(); in testOnConfigurationChanged() local
127 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in testOnConfigurationChanged()
128 parentConfig.smallestScreenWidthDp += 10; in testOnConfigurationChanged()
129 final int parentSw = parentConfig.smallestScreenWidthDp; in testOnConfigurationChanged()
DSizeCompatTests.java4164 Configuration parentConfig = mActivity.getParent().getConfiguration();
4167 .getFixedOrientationLetterboxAspectRatio(parentConfig);
/frameworks/base/services/core/java/com/android/server/wm/
DTaskFragment.java2248 void resolveTmpOverrides(DisplayContent dc, Configuration parentConfig, in resolveTmpOverrides() argument
2250 mParentAppBoundsOverride = new Rect(parentConfig.windowConfiguration.getAppBounds()); in resolveTmpOverrides()
2256 int rotation = parentConfig.windowConfiguration.getRotation(); in resolveTmpOverrides()
2283 @NonNull Configuration parentConfig) { in computeConfigResourceOverrides() argument
2284 computeConfigResourceOverrides(inOutConfig, parentConfig, null /* configOverrideHint */); in computeConfigResourceOverrides()
2309 @NonNull Configuration parentConfig, @Nullable ConfigOverrideHint overrideHint) { in computeConfigResourceOverrides() argument
2329 windowingMode = parentConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides()
2334 density = parentConfig.densityDpi; in computeConfigResourceOverrides()
2342 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in computeConfigResourceOverrides()
2367 : parentConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
[all …]
DActivityRecord.java8361 final Configuration parentConfig = parent.getConfiguration(); in inSizeCompatMode() local
8365 return parentConfig.densityDpi != getConfiguration().densityDpi; in inSizeCompatMode()
8686 @NonNull Configuration parentConfig) { in computeConfigByResolveHint() argument
8687 task.computeConfigResourceOverrides(resolvedConfig, parentConfig, mResolveConfigHint); in computeConfigByResolveHint()
9165 @NonNull Configuration parentConfig) { in isDefaultMultiWindowLetterboxAspectRatioDesired()
9169 final int windowingMode = parentConfig.windowConfiguration.getWindowingMode(); in isDefaultMultiWindowLetterboxAspectRatioDesired()
DTask.java2141 @NonNull Configuration parentConfig) { in adjustForMinimalTaskDimensions() argument
2151 final float density = (float) parentConfig.densityDpi / DisplayMetrics.DENSITY_DEFAULT; in adjustForMinimalTaskDimensions()
2164 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in adjustForMinimalTaskDimensions()