Searched refs:newOverrideConfig (Results 1 – 2 of 2) sorted by relevance
204 final Configuration newOverrideConfig = new Configuration(currentOverrideConfig); in testDisplayOverrideConfigUpdate() local205 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() local223 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 …]
2040 final Configuration newOverrideConfig = new Configuration(); in computeNewOverrideConfigurationForBounds() local2042 newOverrideConfig.setTo(getOverrideConfiguration()); in computeNewOverrideConfigurationForBounds()2045 computeOverrideConfiguration(newOverrideConfig, mTmpRect, insetBounds, in computeNewOverrideConfigurationForBounds()2049 return newOverrideConfig; in computeNewOverrideConfigurationForBounds()