Home
last modified time | relevance | path

Searched refs:isDarkTheme (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
DMaterialColors.kt31 internal fun materialColorScheme(isDarkTheme: Boolean): ColorScheme { in materialColorScheme()
33 return remember(isDarkTheme) { in materialColorScheme()
36 if (isDarkTheme) dynamicDarkColorScheme(context) in materialColorScheme()
39 isDarkTheme -> darkColorScheme() in materialColorScheme()
DSettingsTheme.kt33 val isDarkTheme = isSystemInDarkTheme() in SettingsTheme() constant
34 val settingsColorScheme = settingsColorScheme(isDarkTheme) in SettingsTheme()
35 val colorScheme = materialColorScheme(isDarkTheme).copy( in SettingsTheme()
41 LocalColorScheme provides settingsColorScheme(isDarkTheme), in SettingsTheme()
DSettingsColors.kt45 internal fun settingsColorScheme(isDarkTheme: Boolean): SettingsColorScheme { in settingsColorScheme()
47 return remember(isDarkTheme) { in settingsColorScheme()
50 if (isDarkTheme) dynamicDarkColorScheme(context) in settingsColorScheme()
53 isDarkTheme -> darkColorScheme() in settingsColorScheme()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/activity/
DEdgeToEdgeActivitContent.kt43 val isDarkTheme = isSystemInDarkTheme() in EdgeToEdgeActivityContent() constant
44 val useDarkIcons = !isDarkTheme in EdgeToEdgeActivityContent()
53 PlatformTheme(isDarkTheme) { in EdgeToEdgeActivityContent()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/
DDefaultDeviceEmulationSpec.kt47 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false) +
48 DeviceEmulationSpec.forDisplays(Displays.Tablet, isDarkTheme = true, isLandscape = false)
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/theme/
DPlatformTheme.kt36 isDarkTheme: Boolean = isSystemInDarkTheme(), in PlatformTheme()
43 if (isDarkTheme) { in PlatformTheme()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/ui/theme/
DPlatformTheme.kt42 isDarkTheme: Boolean = isSystemInDarkTheme(), in PlatformTheme()
48 if (isDarkTheme) { in PlatformTheme()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java124 private static boolean isDarkTheme(@NonNull Context context) { in isDarkTheme() method in Utils
132 if (isDarkTheme(context)) { in getImageColor()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimationUtils.java136 isDarkTheme(splashScreenView.getContext()) ? Color.BLACK : Color.WHITE); in createAnimator()
207 private static boolean isDarkTheme(Context context) { in isDarkTheme() method in SplashScreenExitAnimationUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseAdapter.java98 void updateColorScheme(WallpaperColors wallpaperColors, boolean isDarkTheme) { in updateColorScheme() argument
99 mController.setCurrentColorScheme(wallpaperColors, isDarkTheme); in updateColorScheme()
DMediaOutputController.java532 void setCurrentColorScheme(WallpaperColors wallpaperColors, boolean isDarkTheme) { in setCurrentColorScheme() argument
534 isDarkTheme); in setCurrentColorScheme()
535 if (isDarkTheme) { in setCurrentColorScheme()