Searched refs:baseColor (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 366 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()
|
/aosp12/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 209 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()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | TouchCircleDrawable.java | 78 public TouchCircleDrawable(Resources resources, int color, int baseColor) { in TouchCircleDrawable() argument
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchFragment.kt | 685 fun updateGradientColors(@ColorInt baseColor: Int) { 688 mGradientColors[i] = ColorUtils.setAlphaComponent(baseColor, ALPHAS[i])
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | ContrastColorUtil.java | 519 public static int changeColorLightness(int baseColor, int amount) { in changeColorLightness() argument 521 ColorUtilsFromCompat.colorToLAB(baseColor, result); in changeColorLightness()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
H A D | RecentsView.java | 5046 int baseColor = Themes.getAttrColor(context, R.attr.overviewScrimColor); 5048 return ColorUtils.blendARGB(Color.BLACK, baseColor, 0.25f);
|