Home
last modified time | relevance | path

Searched refs:isNightModeActive (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityTaskManagerServiceTests.java523 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 …]
/aosp12/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationTest.java155 assertTrue(config.isNightModeActive()); in testNightModeHelper()
157 assertFalse(config.isNightModeActive()); in testNightModeHelper()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DColorPaletteHelper.java57 context.getResources().getConfiguration().isNightModeActive() ? 1 : 0); in createColorPaletteMap()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/
H A DUiModeManagerServiceTest.java201 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()
/aosp12/frameworks/base/core/java/android/content/res/
H A DConfiguration.java2044 public boolean isNightModeActive() { in isNightModeActive() method in Configuration
/aosp12/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1671 if (checkTheme && mContext.getResources().getConfiguration().isNightModeActive()) { in getUserBadgeColor()
/aosp12/frameworks/base/core/java/android/widget/
H A DRemoteViews.java2256 return configuration.isNightModeActive() ? mDarkValue : mLightValue; in getParameterValue()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt13247 method public boolean isNightModeActive();