Searched refs:baseColor (Results 1 – 3 of 3) sorted by relevance
332 final int baseColor = a.getColor(R.styleable.ColorStateListItem_color, Color.MAGENTA); in inflate() local360 final int color = modulateColorAlpha(baseColor, alphaMod); in inflate()453 final int baseColor = a.getColor( in applyTheme() local457 mColors[i] = modulateColorAlpha(baseColor, alphaMod); in applyTheme()507 private int modulateColorAlpha(int baseColor, float alphaMod) { in modulateColorAlpha() argument509 return baseColor; in modulateColorAlpha()512 final int baseAlpha = Color.alpha(baseColor); in modulateColorAlpha()514 return (baseColor & 0xFFFFFF) | (alpha << 24); in modulateColorAlpha()
209 float baseColor[3]; in createSuperShape() local218 baseColor[a] = ((randomUInt() % 155) + 100) / 255.f; in createSuperShape()301 color[a] = (int)(ca * baseColor[a] * 255); in createSuperShape()
518 public static int changeColorLightness(int baseColor, int amount) { in changeColorLightness() argument520 ColorUtilsFromCompat.colorToLAB(baseColor, result); in changeColorLightness()