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.java160 @ColorInt int darkColor = Utils.getColorAttrDefaultColor(darkContext, in getImageDrawable() local
162 Color ovalBackgroundColor = Color.valueOf(Color.red(darkColor), Color.green(darkColor), in getImageDrawable()
163 Color.blue(darkColor), BACKGROUND_ALPHA); in getImageDrawable()
166 Utils.getColorAttrDefaultColor(lightContext, R.attr.singleToneColor), darkColor, in getImageDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java100 public KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor, in KeyButtonDrawable() argument
102 this(d, new ShadowDrawableState(lightColor, darkColor, in KeyButtonDrawable()
415 public ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor, in ShadowDrawableState() argument
418 mDarkColor = darkColor; in ShadowDrawableState()
486 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create() argument
491 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java173 private int getColorForDarkIntensity(float darkIntensity, int lightColor, int darkColor) { in getColorForDarkIntensity() argument
174 return (int) ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor); in getColorForDarkIntensity()