Searched refs:newOverrideConfig (Results 1 – 2 of 2) sorted by relevance
490 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() local491 newOverrideConfig.densityDpi += 120; in testDefaultDisplayOverrideConfigUpdate()492 newOverrideConfig.fontScale += 0.3; in testDefaultDisplayOverrideConfigUpdate()494 defaultDisplay.updateDisplayOverrideConfigurationLocked(newOverrideConfig, in testDefaultDisplayOverrideConfigUpdate()499 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()500 assertEquals(newOverrideConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
1344 @Nullable Configuration newOverrideConfig, int displayId) { in rebaseActivityOverrideConfig() argument1361 if (newOverrideConfig != null) { in rebaseActivityOverrideConfig()1362 rebasedOverrideConfig.setTo(newOverrideConfig); in rebaseActivityOverrideConfig()