Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDualToneHandler.kt38 private lateinit var darkColor: Color variable
55 darkColor = Color( in setColorsFromContext()
65 private fun getColorForDarkIntensity(darkIntensity: Float, lightColor: Int, darkColor: Int) =
66 ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor) as Int
76 getColorForDarkIntensity(intensity, lightColor.single, darkColor.single)
86 getColorForDarkIntensity(intensity, lightColor.background, darkColor.background)
96 getColorForDarkIntensity(intensity, lightColor.fill, darkColor.fill)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFloatingRotationButton.java159 @ColorInt int darkColor = Utils.getColorAttrDefaultColor(darkContext, in getImageDrawable() local
161 Color ovalBackgroundColor = Color.valueOf(Color.red(darkColor), Color.green(darkColor), in getImageDrawable()
162 Color.blue(darkColor), BACKGROUND_ALPHA); in getImageDrawable()
165 Utils.getColorAttrDefaultColor(lightContext, R.attr.singleToneColor), darkColor, in getImageDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java84 public KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor, in KeyButtonDrawable() argument
86 this(d, new ShadowDrawableState(lightColor, darkColor, in KeyButtonDrawable()
398 public ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor, in ShadowDrawableState() argument
401 mDarkColor = darkColor; in ShadowDrawableState()
469 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create() argument
474 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java166 private int getColorForDarkIntensity(float darkIntensity, int lightColor, int darkColor) { in getColorForDarkIntensity() argument
167 return (int) ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor); in getColorForDarkIntensity()