Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java623 final Configuration inOutConfig = new Configuration(); in testComputeConfigResourceOverrides() local
637 task.computeConfigResourceOverrides(inOutConfig, parentConfig); in testComputeConfigResourceOverrides()
639 assertEquals(parentConfig.screenHeightDp, inOutConfig.screenHeightDp); in testComputeConfigResourceOverrides()
640 assertEquals(parentConfig.screenWidthDp, inOutConfig.screenWidthDp); in testComputeConfigResourceOverrides()
641 assertEquals(parentAppBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
642 assertEquals(Configuration.ORIENTATION_PORTRAIT, inOutConfig.orientation); in testComputeConfigResourceOverrides()
646 inOutConfig.setToDefaults(); in testComputeConfigResourceOverrides()
648 inOutConfig.windowConfiguration.setBounds(largerPortraitBounds); in testComputeConfigResourceOverrides()
649 task.computeConfigResourceOverrides(inOutConfig, parentConfig); in testComputeConfigResourceOverrides()
652 assertEquals(largerPortraitBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java2632 private static void invalidateAppBoundsConfig(@NonNull Configuration inOutConfig) { in invalidateAppBoundsConfig() argument
2633 final Rect appBounds = inOutConfig.windowConfiguration.getAppBounds(); in invalidateAppBoundsConfig()
2637 inOutConfig.screenWidthDp = Configuration.SCREEN_WIDTH_DP_UNDEFINED; in invalidateAppBoundsConfig()
2638 inOutConfig.screenHeightDp = Configuration.SCREEN_HEIGHT_DP_UNDEFINED; in invalidateAppBoundsConfig()
2641 void computeConfigResourceOverrides(@NonNull Configuration inOutConfig, in computeConfigResourceOverrides() argument
2645 inOutConfig.screenLayout = Configuration.SCREENLAYOUT_UNDEFINED; in computeConfigResourceOverrides()
2646 invalidateAppBoundsConfig(inOutConfig); in computeConfigResourceOverrides()
2648 computeConfigResourceOverrides(inOutConfig, parentConfig, overrideDisplayInfo, in computeConfigResourceOverrides()
2652 void computeConfigResourceOverrides(@NonNull Configuration inOutConfig, in computeConfigResourceOverrides() argument
2654 computeConfigResourceOverrides(inOutConfig, parentConfig, null /* overrideDisplayInfo */, in computeConfigResourceOverrides()
[all …]
DActivityRecord.java7636 private static void offsetBounds(Configuration inOutConfig, int offsetX, int offsetY) { in offsetBounds() argument
7637 inOutConfig.windowConfiguration.getBounds().offset(offsetX, offsetY); in offsetBounds()
7638 inOutConfig.windowConfiguration.getAppBounds().offset(offsetX, offsetY); in offsetBounds()