Searched refs:isNightModeActive (Results 1 – 12 of 12) sorted by relevance
693 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 …]
71 if (resources.getConfiguration().isNightModeActive()) { in getColors()
155 assertTrue(config.isNightModeActive()); in testNightModeHelper()157 assertFalse(config.isNightModeActive()); in testNightModeHelper()
267 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()
186 configuration.isNightModeActive()); in dynamicTheming()191 configuration.isNightModeActive()); in dynamicTheming()
444 int colorId = mContext.getResources().getConfiguration().isNightModeActive() in getProfileSwitchingIconDrawable()
2331 mRenderResources.setWallpaper(wallpaperPath, mConfig.isNightModeActive()); in applyWallpaper()
2180 public boolean isNightModeActive() { in isNightModeActive() method in Configuration
2723 return configuration.isNightModeActive() ? mDarkValue : mLightValue; in getParameterValue()6500 player.setTheme(v.getResources().getConfiguration().isNightModeActive()
1995 if (checkTheme && mContext.getResources().getConfiguration().isNightModeActive()) { in getUserBadgeColor()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
13776 method public boolean isNightModeActive();