Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DColorStateList.java366 final int baseColor = a.getColor(R.styleable.ColorStateListItem_color, Color.MAGENTA); in inflate() local
399 final int color = modulateColor(baseColor, alphaMod, lStar); in inflate()
493 final int baseColor = a.getColor( in applyTheme() local
499 mColors[i] = modulateColor(baseColor, alphaMod, lStar); in applyTheme()
549 private int modulateColor(int baseColor, float alphaMod, float lStar) { in modulateColor() argument
552 return baseColor; in modulateColor()
555 final int baseAlpha = Color.alpha(baseColor); in modulateColor()
559 final Cam baseCam = ColorUtils.colorToCAM(baseColor); in modulateColor()
560 baseColor = ColorUtils.CAMToColor(baseCam.getHue(), baseCam.getChroma(), lStar); in modulateColor()
563 return (baseColor & 0xFFFFFF) | (alpha << 24); in modulateColor()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DUserBadgeDrawable.java79 private UserBadgeDrawable(Drawable base, int bgColor, int baseColor, in UserBadgeDrawable() argument
84 mBaseColor = baseColor; in UserBadgeDrawable()
157 MyConstantState(ConstantState base, int bgColor, int baseColor, in MyConstantState() argument
161 mBaseColor = baseColor; in MyConstantState()
/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.java607 public static int changeColorLightness(int baseColor, int amount) { in changeColorLightness() argument
609 ColorUtilsFromCompat.colorToLAB(baseColor, result); in changeColorLightness()