Home
last modified time | relevance | path

Searched refs:UI_MODE_NIGHT_YES (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImplTest.kt21 import android.content.res.Configuration.UI_MODE_NIGHT_YES
130 config.uiMode = UI_MODE_TYPE_CAR or UI_MODE_NIGHT_YES in isCarAndUiModeChanged_densityListenerNotified()
147 config.uiMode = UI_MODE_NIGHT_YES in isNotCarAndUiModeChanged_densityListenerNotNotified()
231 config.uiMode = UI_MODE_NIGHT_YES in uiModeChanged_listenerNotified()
298 config.uiMode = UI_MODE_NIGHT_YES in multipleUpdates_listenerNotifiedOfAll()
/frameworks/base/core/java/com/android/internal/widget/
DColoredIconHelper.java49 == Configuration.UI_MODE_NIGHT_YES; in applyGrayTint()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java626 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_nightMode_successfullyApplied()
647 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied()
680 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied()
708 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply()
737 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply()
771 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_WhenUserRemoved_configShouldNotApply()
800 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_setLocaleListToEmpty_doesNotOverlayLocaleListInWpc()
829 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_resetNightMode_doesNotOverrideNightModeInWpc()
865 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
871 assertEquals(appSpecificConfig2.mNightMode.intValue(), Configuration.UI_MODE_NIGHT_YES); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
DWindowProcessControllerTests.java435 Configuration.UI_MODE_NIGHT_YES, LocaleList.forLanguageTags("en-XA"), in testTopActivityUiModeChangeScheduleConfigChange()
445 Configuration.UI_MODE_NIGHT_YES, LocaleList.forLanguageTags("en-XA"), in testTopActivityUiModeChangeForDifferentPackage_noScheduledConfigChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DColorSchemeTransition.kt25 import android.content.res.Configuration.UI_MODE_NIGHT_YES in <lambda>()
163 UI_MODE_NIGHT_YES in colorScheme()
/frameworks/base/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/
DLottieColorUtils.java76 == Configuration.UI_MODE_NIGHT_YES; in isDarkMode()
DColorUtils.java99 == Configuration.UI_MODE_NIGHT_YES; in isDarkMode()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DRestartDialogWindowManagerTest.java93 | Configuration.UI_MODE_NIGHT_YES; in testWhenDarkLightThemeHasChanged_needsToBeRecreated()
DLetterboxEduWindowManagerTest.java19 import static android.content.res.Configuration.UI_MODE_NIGHT_YES;
380 newTaskInfo.configuration.uiMode |= UI_MODE_NIGHT_YES; in testDeviceThemeChange_educationDialogUnseen_recreated()
390 newTaskInfo.configuration.uiMode |= UI_MODE_NIGHT_YES; in testDeviceThemeHasChanged_educationDialogSeen_notRecreated()
DReachabilityEduWindowManagerTest.java104 | Configuration.UI_MODE_NIGHT_YES; in testWhenDarkLightThemeHasChanged_needsToBeRecreated()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DThemedIconDrawable.java19 import static android.content.res.Configuration.UI_MODE_NIGHT_YES;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUiModeNightTileTest.kt132 configuration.uiMode = Configuration.UI_MODE_NIGHT_YES in setNightModeOn()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java127 return nightModeFlags == Configuration.UI_MODE_NIGHT_YES; in isDarkTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java124 & Configuration.UI_MODE_NIGHT_MASK) == Configuration.UI_MODE_NIGHT_YES; in handleUpdateState()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DResizeVeil.java211 == Configuration.UI_MODE_NIGHT_YES) { in getBackgroundColorId()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java154 config.uiMode = Configuration.UI_MODE_NIGHT_YES; in testNightModeHelper()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java19 import static android.content.res.Configuration.UI_MODE_NIGHT_YES;
594 configuration.uiMode = UI_MODE_TYPE_CAR | UI_MODE_NIGHT_YES; in configWithCarNightUiMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java126 == Configuration.UI_MODE_NIGHT_YES; in needsInversion()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java892 configNightMode = Configuration.UI_MODE_NIGHT_YES;
1665 uiMode |= Configuration.UI_MODE_NIGHT_YES; in updateConfigurationLocked()
1687 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES in getComputedUiModeConfiguration()
1690 : ~Configuration.UI_MODE_NIGHT_YES; in getComputedUiModeConfiguration()
2219 final boolean isIt = (mConfiguration.uiMode & Configuration.UI_MODE_NIGHT_YES) != 0; in isNightMode()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java299 if (newNightMode == Configuration.UI_MODE_NIGHT_YES) { in refreshNightMode()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimationUtils.java210 return nightMode == Configuration.UI_MODE_NIGHT_YES; in isDarkTheme()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/
DShellControllerTest.java345 newConfig.uiMode = Configuration.UI_MODE_NIGHT_YES; in testNightModeChangeCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java205 == Configuration.UI_MODE_NIGHT_YES; in StatusBarIconView()
313 == Configuration.UI_MODE_NIGHT_YES; in onConfigurationChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleOverflowContainerView.java204 final boolean isNightMode = (mode == Configuration.UI_MODE_NIGHT_YES); in updateTheme()
/frameworks/base/core/java/android/content/res/
DConfiguration.java773 public static final int UI_MODE_NIGHT_YES = 0x20; field in Configuration
1209 case UI_MODE_NIGHT_YES: sb.append(" night"); break; in toString()
2158 return (uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES; in isNightModeActive()
2621 case Configuration.UI_MODE_NIGHT_YES: in resourceQualifierString()

12