Searched refs:inOutConfig (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 360 final Configuration inOutConfig = new Configuration(); in testComputeConfigResourceOverrides() local 370 inOutConfig.windowConfiguration.getBounds().set(0, 0, shortSide, longSide); in testComputeConfigResourceOverrides() 372 task.computeConfigResourceOverrides(inOutConfig, parentConfig); in testComputeConfigResourceOverrides() 374 assertEquals(parentConfig.screenHeightDp, inOutConfig.screenHeightDp); in testComputeConfigResourceOverrides() 375 assertEquals(parentConfig.screenWidthDp, inOutConfig.screenWidthDp); in testComputeConfigResourceOverrides() 376 assertEquals(Configuration.ORIENTATION_PORTRAIT, inOutConfig.orientation); in testComputeConfigResourceOverrides() 378 inOutConfig.setToDefaults(); in testComputeConfigResourceOverrides() 380 inOutConfig.windowConfiguration.getBounds().set(0, 0, longSide, shortSide); in testComputeConfigResourceOverrides() 400 task.computeConfigResourceOverrides(inOutConfig, parentConfig, compatIntsets); in testComputeConfigResourceOverrides() 403 inOutConfig.screenHeightDp); in testComputeConfigResourceOverrides() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskRecord.java | 2073 void computeConfigResourceOverrides(@NonNull Configuration inOutConfig, in computeConfigResourceOverrides() argument 2075 computeConfigResourceOverrides(inOutConfig, parentConfig, null /* compatInsets */); in computeConfigResourceOverrides() 2086 void computeConfigResourceOverrides(@NonNull Configuration inOutConfig, in computeConfigResourceOverrides() argument 2089 int windowingMode = inOutConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides() 2094 float density = inOutConfig.densityDpi; in computeConfigResourceOverrides() 2100 final Rect bounds = inOutConfig.windowConfiguration.getBounds(); in computeConfigResourceOverrides() 2101 Rect outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides() 2103 inOutConfig.windowConfiguration.setAppBounds(bounds); in computeConfigResourceOverrides() 2104 outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides() 2116 if (inOutConfig.screenWidthDp == Configuration.SCREEN_WIDTH_DP_UNDEFINED in computeConfigResourceOverrides() [all …]
|