Searched refs:newOverrideConfig (Results 1 – 1 of 1) sorted by relevance
267 final Configuration newOverrideConfig = new Configuration(currentOverrideConfig); in testDisplayOverrideConfigUpdate() local268 newOverrideConfig.densityDpi += 120; in testDisplayOverrideConfigUpdate()269 newOverrideConfig.fontScale += 0.3; in testDisplayOverrideConfigUpdate()271 mWm.setNewDisplayOverrideConfiguration(newOverrideConfig, mDisplayContent); in testDisplayOverrideConfigUpdate()274 assertEquals(newOverrideConfig, mDisplayContent.getRequestedOverrideConfiguration()); in testDisplayOverrideConfigUpdate()286 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() local287 newOverrideConfig.densityDpi += 120; in testDefaultDisplayOverrideConfigUpdate()288 newOverrideConfig.fontScale += 0.3; in testDefaultDisplayOverrideConfigUpdate()290 mWm.setNewDisplayOverrideConfiguration(newOverrideConfig, defaultDisplay); in testDefaultDisplayOverrideConfigUpdate()294 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()[all …]