Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDisplayContentTests.java230 final Configuration newOverrideConfig = new Configuration(currentOverrideConfig); in testDisplayOverrideConfigUpdate() local
231 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() local
249 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 …]
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java1721 final Configuration newOverrideConfig = new Configuration(); in computeNewOverrideConfigurationForBounds() local
1723 newOverrideConfig.setTo(getOverrideConfiguration()); in computeNewOverrideConfigurationForBounds()
1726 computeOverrideConfiguration(newOverrideConfig, mTmpRect, insetBounds, in computeNewOverrideConfigurationForBounds()
1730 return newOverrideConfig; in computeNewOverrideConfigurationForBounds()