Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java693 assertFalse(wpcAfterConfigChange.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_locales_successfullyApplied()
710 assertTrue(wpcAfterConfigChange.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_nightMode_successfullyApplied()
733 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied()
744 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied()
766 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied()
774 assertFalse(wpcAfterConfigChange2.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied()
794 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply()
802 assertFalse(wpcAfterConfigChange2.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply()
823 assertTrue(wpcAfterConfigChange1.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply()
834 assertFalse(wpcAfterConfigChange2.getConfiguration().isNightModeActive()); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAdaptiveIconDrawable_Delegate.java71 if (resources.getConfiguration().isNightModeActive()) { in getColors()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java155 assertTrue(config.isNightModeActive()); in testNightModeHelper()
157 assertFalse(config.isNightModeActive()); in testNightModeHelper()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java267 assertFalse(mUiManagerService.getConfiguration().isNightModeActive()); in setNightModeActivated_overridesFunctionCorrectly()
278 assertTrue(mUiManagerService.getConfiguration().isNightModeActive()); in setNightModeActivated_overridesFunctionCorrectly()
284 assertTrue(mUiManagerService.getConfiguration().isNightModeActive()); in setNightModeActivated_overridesFunctionCorrectly()
290 assertFalse(mUiManagerService.getConfiguration().isNightModeActive()); in setNightModeActivated_overridesFunctionCorrectly()
297 assertFalse(mUiManagerService.getConfiguration().isNightModeActive()); in setNightModeActivated_true_withCustomModeBedtime_shouldOverrideNightModeCorrectly()
301 assertThat(mUiManagerService.getConfiguration().isNightModeActive()).isTrue(); in setNightModeActivated_true_withCustomModeBedtime_shouldOverrideNightModeCorrectly()
308 assertFalse(mUiManagerService.getConfiguration().isNightModeActive()); in setNightModeActivated_false_withCustomModeBedtime_shouldOverrideNightModeCorrectly()
313 assertThat(mUiManagerService.getConfiguration().isNightModeActive()).isFalse(); in setNightModeActivated_false_withCustomModeBedtime_shouldOverrideNightModeCorrectly()
1464 assertTrue(mUiManagerService.getConfiguration().isNightModeActive()); in testAttentionModeThemeOverlay()
1467 assertFalse(mUiManagerService.getConfiguration().isNightModeActive()); in testAttentionModeThemeOverlay()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java186 configuration.isNightModeActive()); in dynamicTheming()
191 configuration.isNightModeActive()); in dynamicTheming()
/frameworks/base/core/java/android/content/pm/
DCrossProfileApps.java444 int colorId = mContext.getResources().getConfiguration().isNightModeActive() in getProfileSwitchingIconDrawable()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java2331 mRenderResources.setWallpaper(wallpaperPath, mConfig.isNightModeActive()); in applyWallpaper()
/frameworks/base/core/java/android/content/res/
DConfiguration.java2180 public boolean isNightModeActive() { in isNightModeActive() method in Configuration
/frameworks/base/core/java/android/widget/
DRemoteViews.java2723 return configuration.isNightModeActive() ? mDarkValue : mLightValue; in getParameterValue()
6500 player.setTheme(v.getResources().getConfiguration().isNightModeActive()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1995 if (checkTheme && mContext.getResources().getConfiguration().isNightModeActive()) { in getUserBadgeColor()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt13776 method public boolean isNightModeActive();