Home
last modified time | relevance | path

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

123

/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/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/extensions/
DConfigurationExt.kt27 return (uiMode and Configuration.UI_MODE_NIGHT_MASK) == Configuration.UI_MODE_NIGHT_YES in Configuration()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DUiModePreviews.kt23 @Preview(showBackground = true, uiMode = Configuration.UI_MODE_NIGHT_YES)
/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.java706 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_nightMode_successfullyApplied()
727 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied()
760 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied()
788 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply()
817 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply()
851 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_WhenUserRemoved_configShouldNotApply()
880 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_setLocaleListToEmpty_doesNotOverlayLocaleListInWpc()
909 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_resetNightMode_doesNotOverrideNightModeInWpc()
945 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
951 assertEquals(appSpecificConfig2.mNightMode.intValue(), Configuration.UI_MODE_NIGHT_YES); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
DWindowProcessControllerTests.java437 Configuration.UI_MODE_NIGHT_YES, LocaleList.forLanguageTags("en-XA"), in testTopActivityUiModeChangeScheduleConfigChange()
447 Configuration.UI_MODE_NIGHT_YES, LocaleList.forLanguageTags("en-XA"), in testTopActivityUiModeChangeForDifferentPackage_noScheduledConfigChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransition.kt25 import android.content.res.Configuration.UI_MODE_NIGHT_YES in <lambda>()
165 UI_MODE_NIGHT_YES in colorScheme()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileDataInteractorTest.kt22 import android.content.res.Configuration.UI_MODE_NIGHT_YES
132 setUiMode(UI_MODE_NIGHT_YES) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/
DThemeUtils.kt66 Configuration.UI_MODE_NIGHT_YES) { in isLight()
/frameworks/base/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/
DLottieColorUtils.java87 == Configuration.UI_MODE_NIGHT_YES; in isDarkMode()
DColorUtils.java101 == 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/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/
DUiModeNightTileDataInteractor.kt92 Configuration.UI_MODE_NIGHT_YES in createModel()
/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/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt173 Configuration.UI_MODE_NIGHT_YES -> "night" in getNightModeName()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java127 return nightModeFlags == Configuration.UI_MODE_NIGHT_YES; in isDarkTheme()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DSideFpsOverlayViewModelTest.kt20 import android.content.res.Configuration.UI_MODE_NIGHT_YES
369 UI_MODE_NIGHT_YES in setDarkMode()
/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/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DSideFpsOverlayViewModel.kt226 return darkMode == Configuration.UI_MODE_NIGHT_YES in isDarkMode()
/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.java131 == Configuration.UI_MODE_NIGHT_YES; in needsInversion()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java950 configNightMode = Configuration.UI_MODE_NIGHT_YES; in setApplicationNightMode()
1761 uiMode |= Configuration.UI_MODE_NIGHT_YES; in updateConfigurationLocked()
1783 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES in getComputedUiModeConfiguration()
1786 : ~Configuration.UI_MODE_NIGHT_YES; in getComputedUiModeConfiguration()
2324 final boolean isIt = (mConfiguration.uiMode & Configuration.UI_MODE_NIGHT_YES) != 0; in isNightMode()

123