Searched refs:isNightModeActive (Results 1 – 8 of 8) sorted by relevance
523 assertFalse(wpcAfterConfigChange.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_locales_successfullyApplied()540 assertTrue(wpcAfterConfigChange.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_nightMode_successfullyApplied()563 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied()574 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied()596 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied()624 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply()653 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply()687 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_WhenUserRemoved_configShouldNotApply()716 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_setLocaleListToEmpty_doesNotOverlayLocaleListInWpc()724 assertTrue(wpcAfterConfigChange2.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_setLocaleListToEmpty_doesNotOverlayLocaleListInWpc()[all …]
155 assertTrue(config.isNightModeActive()); in testNightModeHelper()157 assertFalse(config.isNightModeActive()); in testNightModeHelper()
57 context.getResources().getConfiguration().isNightModeActive() ? 1 : 0); in createColorPaletteMap()
201 assertFalse(mUiManagerService.getConfiguration().isNightModeActive()); in setNightMoveActivated_overridesFunctionCorrectly()212 assertTrue(mUiManagerService.getConfiguration().isNightModeActive()); in setNightMoveActivated_overridesFunctionCorrectly()218 assertTrue(mUiManagerService.getConfiguration().isNightModeActive()); in setNightMoveActivated_overridesFunctionCorrectly()224 assertFalse(mUiManagerService.getConfiguration().isNightModeActive()); in setNightMoveActivated_overridesFunctionCorrectly()
2044 public boolean isNightModeActive() { in isNightModeActive() method in Configuration
1671 if (checkTheme && mContext.getResources().getConfiguration().isNightModeActive()) { in getUserBadgeColor()
2256 return configuration.isNightModeActive() ? mDarkValue : mLightValue; in getParameterValue()
13247 method public boolean isNightModeActive();