/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImplTest.kt | 21 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() 281 config.uiMode = UI_MODE_NIGHT_YES in multipleUpdates_listenerNotifiedOfAll()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ThemedIconDrawable.java | 19 import static android.content.res.Configuration.UI_MODE_NIGHT_YES; 131 if ((res.getConfiguration().uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES) { in getColors()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 610 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_nightMode_successfullyApplied() 631 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied() 664 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied() 692 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply() 721 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply() 755 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_WhenUserRemoved_configShouldNotApply() 784 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_setLocaleListToEmpty_doesNotOverlayLocaleListInWpc() 813 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_resetNightMode_doesNotOverrideNightModeInWpc() 849 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull() 855 assertEquals(appSpecificConfig2.mNightMode.intValue(), Configuration.UI_MODE_NIGHT_YES); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
|
D | WindowProcessControllerTests.java | 419 Configuration.UI_MODE_NIGHT_YES, LocaleList.forLanguageTags("en-XA")); in testTopActivityUiModeChangeScheduleConfigChange() 428 Configuration.UI_MODE_NIGHT_YES, LocaleList.forLanguageTags("en-XA")); in testTopActivityUiModeChangeForDifferentPackage_noScheduledConfigChange()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ColoredIconHelper.java | 49 == Configuration.UI_MODE_NIGHT_YES; in applyGrayTint()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | UdfpsEnrollViewTest.java | 44 == Configuration.UI_MODE_NIGHT_YES; in fingerprintUdfpsEnroll_usesCorrectThemeCheckmarkFillColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
D | ColorSchemeTransition.kt | 25 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/ |
D | LottieColorUtils.java | 73 == Configuration.UI_MODE_NIGHT_YES; in isDarkMode()
|
D | ColorUtils.java | 99 == Configuration.UI_MODE_NIGHT_YES; in isDarkMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTileTest.kt | 132 configuration.uiMode = Configuration.UI_MODE_NIGHT_YES in setNightModeOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 122 & Configuration.UI_MODE_NIGHT_MASK) == Configuration.UI_MODE_NIGHT_YES; in handleUpdateState()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 154 config.uiMode = Configuration.UI_MODE_NIGHT_YES; in testNightModeHelper()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LogAccessDialogActivity.java | 97 & Configuration.UI_MODE_NIGHT_MASK) == Configuration.UI_MODE_NIGHT_YES; in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeMachineTest.java | 19 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/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 850 configNightMode = Configuration.UI_MODE_NIGHT_YES; 1592 uiMode |= Configuration.UI_MODE_NIGHT_YES; in updateConfigurationLocked() 1614 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES in getComputedUiModeConfiguration() 1617 : ~Configuration.UI_MODE_NIGHT_YES; in getComputedUiModeConfiguration() 2143 final boolean isIt = (mConfiguration.uiMode & Configuration.UI_MODE_NIGHT_YES) != 0; in isNightMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 126 == Configuration.UI_MODE_NIGHT_YES; in needsInversion()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | PaintActivity.java | 299 if (newNightMode == Configuration.UI_MODE_NIGHT_YES) { in refreshNightMode()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashScreenExitAnimationUtils.java | 210 return nightMode == Configuration.UI_MODE_NIGHT_YES; in isDarkTheme()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuView.java | 794 == Configuration.UI_MODE_NIGHT_YES; in updateStrokeWith() 813 == Configuration.UI_MODE_NIGHT_YES; in updateInsetWith()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/ |
D | ShellControllerTest.java | 345 newConfig.uiMode = Configuration.UI_MODE_NIGHT_YES; in testNightModeChangeCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 204 == Configuration.UI_MODE_NIGHT_YES; in StatusBarIconView() 278 == Configuration.UI_MODE_NIGHT_YES; in onConfigurationChanged()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 730 public static final int UI_MODE_NIGHT_YES = 0x20; field in Configuration 1153 case UI_MODE_NIGHT_YES: sb.append(" night"); break; in toString() 2084 return (uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES; in isNightModeActive() 2507 case Configuration.UI_MODE_NIGHT_YES: in resourceQualifierString()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleOverflowContainerView.java | 204 final boolean isNightMode = (mode == Configuration.UI_MODE_NIGHT_YES); in updateTheme()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanel.kt | 156 Configuration.UI_MODE_NIGHT_MASK == Configuration.UI_MODE_NIGHT_YES in updateArrowPaint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | SideFpsController.kt | 480 return darkMode == Configuration.UI_MODE_NIGHT_YES in isDarkMode()
|