Home
last modified time | relevance | path

Searched refs:isDark (Results 1 – 12 of 12) sorted by relevance

/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DCustomDynamicColors.java38 /* tone= */ (s) -> s.isDark ? 20.0 : 95.0, in widgetBackground()
50 /* tone= */ (s) -> s.isDark ? 30.0 : 60.0, in clockHour()
64 /* tone= */ (s) -> s.isDark ? 40.0 : 90.0, in clockMinute()
76 /* tone= */ (s) -> s.isDark ? 40.0 : 90.0, in clockSecond()
88 /* tone= */ (s) -> s.isDark ? 55.0 : 80.0, in weatherTemp()
102 /* tone= */ (s) -> s.isDark ? 90.0 : 30.0, // Adjusted values in themeApp()
114 /* tone= */ (s) -> s.isDark ? 40.0 : 80.0, // Adjusted values in onThemeApp()
138 /* tone= */ (s) -> s.isDark ? 80.0 : 90.0, in themeNotif()
154 /* tone= */ (s) -> s.isDark ? 40.0 : 80.0, in brandA()
167 /* tone= */ (s) -> s.isDark ? 70.0 : 98.0, in brandB()
[all …]
DColorScheme.java65 public ColorScheme(@ColorInt int seed, boolean isDark, Style style, double contrastLevel) { in ColorScheme() argument
67 this.mIsDark = isDark; in ColorScheme()
80 case SPRITZ -> new SchemeNeutral(seedHct, isDark, contrastLevel); in ColorScheme()
81 case TONAL_SPOT -> new SchemeTonalSpot(seedHct, isDark, contrastLevel); in ColorScheme()
82 case VIBRANT -> new SchemeVibrant(seedHct, isDark, contrastLevel); in ColorScheme()
83 case EXPRESSIVE -> new SchemeExpressive(seedHct, isDark, contrastLevel); in ColorScheme()
84 case RAINBOW -> new SchemeRainbow(seedHct, isDark, contrastLevel); in ColorScheme()
85 case FRUIT_SALAD -> new SchemeFruitSalad(seedHct, isDark, contrastLevel); in ColorScheme()
86 case CONTENT -> new SchemeContent(seedHct, isDark, contrastLevel); in ColorScheme()
87 case MONOCHROMATIC -> new SchemeMonochrome(seedHct, isDark, contrastLevel); in ColorScheme()
[all …]
DSchemeClockVibrant.java27 public SchemeClockVibrant(Hct sourceColorHct, boolean isDark, double contrastLevel) { in SchemeClockVibrant() argument
31 isDark, in SchemeClockVibrant()
DSchemeClock.java29 public SchemeClock(Hct sourceColorHct, boolean isDark, double contrastLevel) { in SchemeClock() argument
33 isDark, in SchemeClock()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/
DRegionDarkness.kt6 enum class RegionDarkness(val isDark: Boolean) { constant in com.android.systemui.shared.regionsampling.RegionDarkness
DRegionSampler.kt97 return if (regionDarkness.isDark) { in currentForegroundColor()
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/
DColorSchemeTest.kt166 arrayOf(false, true).forEach { isDark -> in generateDefaultValues() method
167 val suffix = if (isDark) "_dark" else "_light" in generateDefaultValues()
168 val dynamicScheme = SchemeTonalSpot(Hct.fromInt(GOOGLE_BLUE), isDark, 0.5) in generateDefaultValues()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayoutPreviewDrawable.java432 boolean isDark = (context.getResources().getConfiguration().uiMode in ResourceProvider()
435 isDark ? android.R.color.system_outline_variant_dark in ResourceProvider()
437 int specialKeyColor = context.getColor(isDark ? android.R.color.system_neutral1_800 in ResourceProvider()
439 int primaryGlyphColor = context.getColor(isDark ? android.R.color.system_on_surface_dark in ResourceProvider()
441 int secondaryGlyphColor = context.getColor(isDark ? android.R.color.system_outline_dark in ResourceProvider()
444 isDark ? android.R.color.system_surface_container_dark in ResourceProvider()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/
DThemeUtils.kt36 internal fun Theme.isDark(): Boolean = this == Theme.DARK in isLight() method
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java580 int backgroundColor, boolean isDark) { in resolveContrastColor() argument
581 final int resolvedColor = resolveColor(context, notificationColor, isDark); in resolveContrastColor()
584 color = ContrastColorUtil.ensureTextContrast(color, backgroundColor, isDark); in resolveContrastColor()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt245 val isRegionDark = it.currentRegionDarkness().isDark in <lambda>()
250 val isRegionDark = it.currentRegionDarkness().isDark in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java839 boolean isDark = !ContrastColorUtil.isColorLight(mCachedContrastBackgroundColor); in updateContrastedStaticColor()
841 contrastedColor, mCachedContrastBackgroundColor, isDark); in updateContrastedStaticColor()