Home
last modified time | relevance | path

Searched refs:baseColor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/res/
DColorStateList.java332 final int baseColor = a.getColor(R.styleable.ColorStateListItem_color, Color.MAGENTA); in inflate() local
360 final int color = modulateColorAlpha(baseColor, alphaMod); in inflate()
453 final int baseColor = a.getColor( in applyTheme() local
457 mColors[i] = modulateColorAlpha(baseColor, alphaMod); in applyTheme()
507 private int modulateColorAlpha(int baseColor, float alphaMod) { in modulateColorAlpha() argument
509 return baseColor; in modulateColorAlpha()
512 final int baseAlpha = Color.alpha(baseColor); in modulateColorAlpha()
514 return (baseColor & 0xFFFFFF) | (alpha << 24); in modulateColorAlpha()
/frameworks/native/opengl/tests/angeles/
Ddemo.c209 float baseColor[3]; in createSuperShape() local
218 baseColor[a] = ((randomUInt() % 155) + 100) / 255.f; in createSuperShape()
301 color[a] = (int)(ca * baseColor[a] * 255); in createSuperShape()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java518 public static int changeColorLightness(int baseColor, int amount) { in changeColorLightness() argument
520 ColorUtilsFromCompat.colorToLAB(baseColor, result); in changeColorLightness()