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.java204 final Configuration newOverrideConfig = new Configuration(currentOverrideConfig); in testDisplayOverrideConfigUpdate() local
205 newOverrideConfig.densityDpi += 120; in testDisplayOverrideConfigUpdate()
206 newOverrideConfig.fontScale += 0.3; in testDisplayOverrideConfigUpdate()
208 sWm.setNewDisplayOverrideConfiguration(newOverrideConfig, displayId); in testDisplayOverrideConfigUpdate()
211 assertEquals(newOverrideConfig, mDisplayContent.getOverrideConfiguration()); in testDisplayOverrideConfigUpdate()
222 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() local
223 newOverrideConfig.densityDpi += 120; in testDefaultDisplayOverrideConfigUpdate()
224 newOverrideConfig.fontScale += 0.3; in testDefaultDisplayOverrideConfigUpdate()
226 sWm.setNewDisplayOverrideConfiguration(newOverrideConfig, DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate()
230 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java2040 final Configuration newOverrideConfig = new Configuration(); in computeNewOverrideConfigurationForBounds() local
2042 newOverrideConfig.setTo(getOverrideConfiguration()); in computeNewOverrideConfigurationForBounds()
2045 computeOverrideConfiguration(newOverrideConfig, mTmpRect, insetBounds, in computeNewOverrideConfigurationForBounds()
2049 return newOverrideConfig; in computeNewOverrideConfigurationForBounds()