Searched refs:isDarkTheme (Results 1 – 11 of 11) sorted by relevance
31 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()
33 val isDarkTheme = isSystemInDarkTheme() in SettingsTheme() constant34 val settingsColorScheme = settingsColorScheme(isDarkTheme) in SettingsTheme()35 val colorScheme = materialColorScheme(isDarkTheme).copy( in SettingsTheme()41 LocalColorScheme provides settingsColorScheme(isDarkTheme), in SettingsTheme()
45 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()
43 val isDarkTheme = isSystemInDarkTheme() in EdgeToEdgeActivityContent() constant44 val useDarkIcons = !isDarkTheme in EdgeToEdgeActivityContent()53 PlatformTheme(isDarkTheme) { in EdgeToEdgeActivityContent()
47 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false) +48 DeviceEmulationSpec.forDisplays(Displays.Tablet, isDarkTheme = true, isLandscape = false)
36 isDarkTheme: Boolean = isSystemInDarkTheme(), in PlatformTheme()43 if (isDarkTheme) { in PlatformTheme()
42 isDarkTheme: Boolean = isSystemInDarkTheme(), in PlatformTheme()48 if (isDarkTheme) { in PlatformTheme()
124 private static boolean isDarkTheme(@NonNull Context context) { in isDarkTheme() method in Utils132 if (isDarkTheme(context)) { in getImageColor()
136 isDarkTheme(splashScreenView.getContext()) ? Color.BLACK : Color.WHITE); in createAnimator()207 private static boolean isDarkTheme(Context context) { in isDarkTheme() method in SplashScreenExitAnimationUtils
98 void updateColorScheme(WallpaperColors wallpaperColors, boolean isDarkTheme) { in updateColorScheme() argument99 mController.setCurrentColorScheme(wallpaperColors, isDarkTheme); in updateColorScheme()
532 void setCurrentColorScheme(WallpaperColors wallpaperColors, boolean isDarkTheme) { in setCurrentColorScheme() argument534 isDarkTheme); in setCurrentColorScheme()535 if (isDarkTheme) { in setCurrentColorScheme()