Home
last modified time | relevance | path

Searched refs:newOverrideConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java490 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() local
491 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()
/frameworks/base/core/java/android/app/
DResourcesManager.java1344 @Nullable Configuration newOverrideConfig, int displayId) { in rebaseActivityOverrideConfig() argument
1361 if (newOverrideConfig != null) { in rebaseActivityOverrideConfig()
1362 rebasedOverrideConfig.setTo(newOverrideConfig); in rebaseActivityOverrideConfig()