Searched refs:color2 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 585 public static int blendARGB(@ColorInt int color1, @ColorInt int color2, in blendARGB() argument 588 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; in blendARGB() 589 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; in blendARGB() 590 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; in blendARGB() 591 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | InvocationLightsView.java | 180 public void setColors(@ColorInt int color1, @ColorInt int color2, in setColors() argument 185 mAssistInvocationLights.get(1).setColor(color2); in setColors()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiProducerActivity.java | 282 public ColorPulse(int color1, int color2, Rect rect) { in ColorPulse() argument 284 mColorEnd = color2; in ColorPulse()
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 1714 40% color1 and 60% color2, use <code>mix(color1, color2, 0.6f)</code>.
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 3552 * 40% color1 and 60% color2, use mix(color1, color2, 0.6f).
|