Searched refs:newOverrideConfig (Results 1 – 2 of 2) sorted by relevance
346 final Configuration newOverrideConfig = new Configuration(currentOverrideConfig); in testDisplayOverrideConfigUpdate() local347 newOverrideConfig.densityDpi += 120; in testDisplayOverrideConfigUpdate()348 newOverrideConfig.fontScale += 0.3; in testDisplayOverrideConfigUpdate()350 mWm.setNewDisplayOverrideConfiguration(newOverrideConfig, mDisplayContent); in testDisplayOverrideConfigUpdate()353 assertEquals(newOverrideConfig, mDisplayContent.getRequestedOverrideConfiguration()); in testDisplayOverrideConfigUpdate()365 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() local366 newOverrideConfig.densityDpi += 120; in testDefaultDisplayOverrideConfigUpdate()367 newOverrideConfig.fontScale += 0.3; in testDefaultDisplayOverrideConfigUpdate()369 mWm.setNewDisplayOverrideConfiguration(newOverrideConfig, defaultDisplay); in testDefaultDisplayOverrideConfigUpdate()373 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()[all …]
988 @NonNull Configuration oldOverrideConfig, @Nullable Configuration newOverrideConfig, in rebaseActivityOverrideConfig() argument1001 if (newOverrideConfig != null) { in rebaseActivityOverrideConfig()1002 rebasedOverrideConfig.setTo(newOverrideConfig); in rebaseActivityOverrideConfig()