Searched refs:newOverrideConfig (Results 1 – 2 of 2) sorted by relevance
230 final Configuration newOverrideConfig = new Configuration(currentOverrideConfig); in testDisplayOverrideConfigUpdate() local231 newOverrideConfig.densityDpi += 120; in testDisplayOverrideConfigUpdate()232 newOverrideConfig.fontScale += 0.3; in testDisplayOverrideConfigUpdate()234 sWm.setNewDisplayOverrideConfiguration(newOverrideConfig, displayId); in testDisplayOverrideConfigUpdate()237 assertEquals(newOverrideConfig, mDisplayContent.getOverrideConfiguration()); in testDisplayOverrideConfigUpdate()248 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() local249 newOverrideConfig.densityDpi += 120; in testDefaultDisplayOverrideConfigUpdate()250 newOverrideConfig.fontScale += 0.3; in testDefaultDisplayOverrideConfigUpdate()252 sWm.setNewDisplayOverrideConfiguration(newOverrideConfig, DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate()256 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()[all …]
1721 final Configuration newOverrideConfig = new Configuration(); in computeNewOverrideConfigurationForBounds() local1723 newOverrideConfig.setTo(getOverrideConfiguration()); in computeNewOverrideConfigurationForBounds()1726 computeOverrideConfiguration(newOverrideConfig, mTmpRect, insetBounds, in computeNewOverrideConfigurationForBounds()1730 return newOverrideConfig; in computeNewOverrideConfigurationForBounds()