/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/ |
D | ThemeUtils.kt | 23 import android.content.res.Configuration.UI_MODE_NIGHT_MASK 65 get() = if ((context.resources.configuration.uiMode and UI_MODE_NIGHT_MASK) == in isLight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 56 uiMode = currentConfig.uiMode and Configuration.UI_MODE_NIGHT_MASK 82 val uiMode = newConfig.uiMode and Configuration.UI_MODE_NIGHT_MASK in onConfigurationChanged() 172 return when (uiMode and Configuration.UI_MODE_NIGHT_MASK) { in getNightModeName()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | RestartDialogWindowManagerTest.java | 68 (mTaskInfo.configuration.uiMode & ~Configuration.UI_MODE_NIGHT_MASK) in setUp() 92 (mTaskInfo.configuration.uiMode & ~Configuration.UI_MODE_NIGHT_MASK) in testWhenDarkLightThemeHasChanged_needsToBeRecreated()
|
D | ReachabilityEduWindowManagerTest.java | 74 (mTaskInfo.configuration.uiMode & ~Configuration.UI_MODE_NIGHT_MASK) in setUp() 103 (mTaskInfo.configuration.uiMode & ~Configuration.UI_MODE_NIGHT_MASK) in testWhenDarkLightThemeHasChanged_needsToBeRecreated()
|
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/extensions/ |
D | ConfigurationExt.kt | 27 return (uiMode and Configuration.UI_MODE_NIGHT_MASK) == Configuration.UI_MODE_NIGHT_YES in Configuration()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ColoredIconHelper.java | 48 boolean inNightMode = (config.uiMode & Configuration.UI_MODE_NIGHT_MASK) in applyGrayTint()
|
/frameworks/base/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/ |
D | LottieColorUtils.java | 86 return (context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK) in isDarkMode()
|
D | ColorUtils.java | 100 return (context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK) in isDarkMode()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 768 public static final int UI_MODE_NIGHT_MASK = 0x30; field in Configuration 1227 switch ((uiMode&UI_MODE_NIGHT_MASK)) { in toString() 1231 default: sb.append(" night="); sb.append(uiMode&UI_MODE_NIGHT_MASK); break; in toString() 1747 if ((delta.uiMode&UI_MODE_NIGHT_MASK) != UI_MODE_NIGHT_UNDEFINED) { in updateFrom() 1748 uiMode = (uiMode&~UI_MODE_NIGHT_MASK) in updateFrom() 1749 | (delta.uiMode&UI_MODE_NIGHT_MASK); in updateFrom() 2181 return (uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES; in isNightModeActive() 2654 switch (config.uiMode & Configuration.UI_MODE_NIGHT_MASK) { in resourceQualifierString() 2901 if ((base.uiMode & UI_MODE_NIGHT_MASK) != (change.uiMode & UI_MODE_NIGHT_MASK)) { in generateDelta() 2902 delta.uiMode |= change.uiMode & UI_MODE_NIGHT_MASK; in generateDelta()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/ |
D | UiModeNightTileDataInteractor.kt | 91 (context.resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK) == in createModel()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ConfigurationContainer.java | 667 final int currentNightMode = currentUiMode & Configuration.UI_MODE_NIGHT_MASK; in setOverrideNightMode() 668 final int validNightMode = nightMode & Configuration.UI_MODE_NIGHT_MASK; in setOverrideNightMode() 673 | (currentUiMode & ~Configuration.UI_MODE_NIGHT_MASK); in setOverrideNightMode()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | Utils.java | 126 & Configuration.UI_MODE_NIGHT_MASK; in isDarkTheme()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleFlyoutView.java | 439 int nightModeFlags = configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK; in applyColorsAccordingToConfiguration() 449 int nightModeFlags = configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK; in applyConfigurationColors()
|
D | BubbleOverflowContainerView.java | 210 final int mode = res.getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK; in updateTheme()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/ |
D | ColorSchemeTransition.kt | 164 context.resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK == in colorScheme()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 124 & Configuration.UI_MODE_NIGHT_MASK) == Configuration.UI_MODE_NIGHT_YES; in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | SideFpsOverlayViewModel.kt | 225 val darkMode = context.resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK in isDarkMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 130 boolean nightMode = (configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK) in needsInversion()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | WindowDecoration.java | 259 ? (mWindowDecorConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in inflateIfNeeded() 264 final int newNightMode = mWindowDecorConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK; in inflateIfNeeded()
|
D | HandleMenu.java | 237 & Configuration.UI_MODE_NIGHT_MASK; in getWindowingIconColor()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | PaintActivity.java | 288 (config.uiMode & Configuration.UI_MODE_NIGHT_MASK); in refreshNightMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 211 mNightMode = (mConfiguration.uiMode & Configuration.UI_MODE_NIGHT_MASK) in StatusBarIconView() 323 boolean nightMode = (newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in onConfigurationChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanel.kt | 155 resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK == in updateArrowPaint()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashScreenExitAnimationUtils.java | 239 int nightMode = configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK; in isDarkTheme()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/ |
D | AppHeaderViewHolder.kt | 489 Configuration.UI_MODE_NIGHT_MASK == in isDarkMode()
|