Home
last modified time | relevance | path

Searched refs:darkColor (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDualToneHandler.kt40 private lateinit var darkColor: Color variable
58 darkColor = Color( in setColorsFromContext()
68 darkColor = Color( in setColorsFromContext()
79 private fun getColorForDarkIntensity(darkIntensity: Float, lightColor: Int, darkColor: Int) =
80 ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor) as Int
90 getColorForDarkIntensity(intensity, lightColor.single, darkColor.single)
100 getColorForDarkIntensity(intensity, lightColor.background, darkColor.background)
110 getColorForDarkIntensity(intensity, lightColor.fill, darkColor.fill)
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButtonView.java82 public void setColors(int lightColor, int darkColor) { in setColors() argument
85 final int ovalBackgroundColor = Color.valueOf(Color.red(darkColor), in setColors()
86 Color.green(darkColor), Color.blue(darkColor), BACKGROUND_ALPHA).toArgb(); in setColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusOverlayHoverListener.kt108 @ColorInt private var darkColor: Int = 0 variable
115 get() = if (lastTheme == HoverTheme.LIGHT) lightColor else darkColor
152 darkColor = resources.getColor(R.color.status_bar_icons_hover_color_dark) in updateResources()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonDrawable.java103 KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor, in KeyButtonDrawable() argument
105 this(d, new ShadowDrawableState(lightColor, darkColor, in KeyButtonDrawable()
436 ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor, boolean animated, in ShadowDrawableState() argument
439 mDarkColor = darkColor; in ShadowDrawableState()
467 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create() argument
472 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonDrawable.java99 public KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor, in KeyButtonDrawable() argument
101 this(d, new ShadowDrawableState(lightColor, darkColor, in KeyButtonDrawable()
432 public ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor, in ShadowDrawableState() argument
435 mDarkColor = darkColor; in ShadowDrawableState()
475 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create() argument
480 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/
DRegionSampler.kt56 fun setForegroundColors(lightColor: Int, darkColor: Int) { in setForegroundColors()
58 darkForegroundColor = darkColor in setForegroundColors()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java188 private int getColorForDarkIntensity(float darkIntensity, int lightColor, int darkColor) { in getColorForDarkIntensity() argument
189 return (int) ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor); in getColorForDarkIntensity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt604 val darkColor = Utils.getColorAttrDefaultColor(lightThemeContext, R.attr.wallpaperTextColor) in <lambda>() constant
609 regionSampler.setForegroundColors(lightColor, darkColor) in <lambda>()