Home
last modified time | relevance | path

Searched refs:color2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DColorExpression.java78 public ColorExpression(int id, int mode, int color1, int color2, float tween) { in ColorExpression() argument
84 mOutSat = mSat = Float.intBitsToFloat(color2); in ColorExpression()
88 this.mColor2 = color2; in ColorExpression()
92 this.mOutColor2 = color2; in ColorExpression()
215 int color1, int color2, float tween) { in apply() argument
220 buffer.writeInt(color2); in apply()
230 int color2 = buffer.readInt(); in read() local
233 operations.add(new ColorExpression(id, mode, color1, color2, tween)); in read()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DRemoteComposeBuffer.java908 public short addColorExpression(int color1, int color2, float tween) { in addColorExpression() argument
909 ColorExpression c = new ColorExpression(0, 0, color1, color2, tween); in addColorExpression()
924 public short addColorExpression(short color1, int color2, float tween) { in addColorExpression() argument
925 ColorExpression c = new ColorExpression(0, 1, color1, color2, tween); in addColorExpression()
940 public short addColorExpression(int color1, short color2, float tween) { in addColorExpression() argument
941 ColorExpression c = new ColorExpression(0, 2, color1, color2, tween); in addColorExpression()
956 public short addColorExpression(short color1, short color2, float tween) { in addColorExpression() argument
957 ColorExpression c = new ColorExpression(0, 3, color1, color2, tween); in addColorExpression()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java619 public static int blendARGB(@ColorInt int color1, @ColorInt int color2, in blendARGB() argument
622 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; in blendARGB()
623 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; in blendARGB()
624 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; in blendARGB()
625 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DInvocationLightsView.java181 public void setColors(@ColorInt int color1, @ColorInt int color2, in setColors() argument
186 mAssistInvocationLights.get(1).setColor(color2); in setColors()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DMultiProducerActivity.java282 public ColorPulse(int color1, int color2, Rect rect) { in ColorPulse() argument
284 mColorEnd = color2; in ColorPulse()
/frameworks/base/cmds/bootanimation/
DFORMAT.md168 * persist.bootanim.color2
176 color2, color3 and color4 respectively.
/frameworks/rs/script_api/
Drs_math.spec1714 40% color1 and 60% color2, use <code>mix(color1, color2, 0.6f)</code>.
/frameworks/rs/script_api/include/
Drs_math.rsh3552 * 40% color1 and 60% color2, use mix(color1, color2, 0.6f).