Home
last modified time | relevance | path

Searched refs:inOutConfig (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskTests.java740 final Configuration inOutConfig = new Configuration(); in testComputeConfigResourceOverrides() local
761 inOutConfig.setToDefaults(); in testComputeConfigResourceOverrides()
774 inOutConfig.setToDefaults(); in testComputeConfigResourceOverrides()
799 assertEquals(expectedWidthDp, inOutConfig.screenWidthDp); in testComputeConfigResourceOverrides()
809 final Configuration inOutConfig = new Configuration(); in testComputeConfigResourceLayoutOverrides() local
870 final Configuration inOutConfig = new Configuration(); in testInsetDisregardedWhenFreeformOverlapsNavBar() local
899 inOutConfig.screenWidthDp); in testInsetDisregardedWhenFreeformOverlapsNavBar()
901 inOutConfig.screenHeightDp); in testInsetDisregardedWhenFreeformOverlapsNavBar()
904 inOutConfig.setToDefaults(); in testInsetDisregardedWhenFreeformOverlapsNavBar()
916 inOutConfig.screenWidthDp); in testInsetDisregardedWhenFreeformOverlapsNavBar()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskFragment.java2103 invalidateAppBoundsConfig(inOutConfig); in computeConfigResourceOverrides()
2114 invalidateAppBoundsConfig(inOutConfig); in computeConfigResourceOverrides()
2150 float density = inOutConfig.densityDpi; in computeConfigResourceOverrides()
2252 if (inOutConfig.smallestScreenWidthDp in computeConfigResourceOverrides()
2265 inOutConfig.smallestScreenWidthDp = (int) (0.5f in computeConfigResourceOverrides()
2271 inOutConfig.smallestScreenWidthDp = in computeConfigResourceOverrides()
2272 Math.min(inOutConfig.screenWidthDp, inOutConfig.screenHeightDp); in computeConfigResourceOverrides()
2278 if (inOutConfig.orientation == ORIENTATION_UNDEFINED) { in computeConfigResourceOverrides()
2279 inOutConfig.orientation = (inOutConfig.screenWidthDp <= inOutConfig.screenHeightDp) in computeConfigResourceOverrides()
2291 compatScreenWidthDp = inOutConfig.screenWidthDp; in computeConfigResourceOverrides()
[all …]
H A DActivityRecord.java9076 private static void offsetBounds(Configuration inOutConfig, int offsetX, int offsetY) { in offsetBounds() argument
9077 inOutConfig.windowConfiguration.getBounds().offset(offsetX, offsetY); in offsetBounds()
9078 inOutConfig.windowConfiguration.getAppBounds().offset(offsetX, offsetY); in offsetBounds()