Searched refs:isDarkTheme (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/ |
D | MaterialColors.kt | 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()
|
D | SettingsTheme.kt | 30 val isDarkTheme = isSystemInDarkTheme() in SettingsTheme() constant 33 colorScheme = materialColorScheme(isDarkTheme), in SettingsTheme()
|
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/ |
D | DefaultDeviceEmulationSpec.kt | 47 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false) + 48 DeviceEmulationSpec.forDisplays(Displays.Tablet, isDarkTheme = true, isLandscape = false) 57 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false, isLandscape = false)
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/activity/ |
D | EdgeToEdgeActivitContent.kt | 43 val isDarkTheme = isSystemInDarkTheme() in EdgeToEdgeActivityContent() constant 44 val useDarkIcons = !isDarkTheme in EdgeToEdgeActivityContent() 53 PlatformTheme(isDarkTheme) { in EdgeToEdgeActivityContent()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/theme/ |
D | PlatformTheme.kt | 38 isDarkTheme: Boolean = isSystemInDarkTheme(), in PlatformTheme() 45 if (isDarkTheme) { in PlatformTheme()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | Utils.java | 124 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/ |
D | SplashScreenExitAnimationUtils.java | 166 isDarkTheme(splashScreenView.getContext()) ? Color.BLACK : Color.WHITE); in createRadialVanishSlideUpAnimator() 237 private static boolean isDarkTheme(Context context) { in isDarkTheme() method in SplashScreenExitAnimationUtils
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | CrossActivityBackAnimation.kt | 372 val isDarkTheme: Boolean = isDarkMode(context) in <lambda>() constant 384 maxScrimAlpha = if (isDarkTheme) MAX_SCRIM_ALPHA_DARK else MAX_SCRIM_ALPHA_LIGHT in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBaseAdapter.java | 98 void updateColorScheme(WallpaperColors wallpaperColors, boolean isDarkTheme) { in updateColorScheme() argument 99 mController.setCurrentColorScheme(wallpaperColors, isDarkTheme); in updateColorScheme()
|
D | MediaOutputController.java | 559 void setCurrentColorScheme(WallpaperColors wallpaperColors, boolean isDarkTheme) { in setCurrentColorScheme() argument 561 isDarkTheme); in setCurrentColorScheme() 562 if (isDarkTheme) { in setCurrentColorScheme()
|