Searched refs:color2 (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/v4/java/android/support/v4/graphics/ |
D | ColorUtils.java | 541 public static int blendARGB(@ColorInt int color1, @ColorInt int color2, in blendARGB() argument 544 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; in blendARGB() 545 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; in blendARGB() 546 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; in blendARGB() 547 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingTextHelper.java | 645 private static int blendColors(int color1, int color2, float ratio) { in blendColors() argument 647 float a = (Color.alpha(color1) * inverseRatio) + (Color.alpha(color2) * ratio); in blendColors() 648 float r = (Color.red(color1) * inverseRatio) + (Color.red(color2) * ratio); in blendColors() 649 float g = (Color.green(color1) * inverseRatio) + (Color.green(color2) * ratio); in blendColors() 650 float b = (Color.blue(color1) * inverseRatio) + (Color.blue(color2) * ratio); in blendColors()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SwipeProgressBar.java | 88 void setColorScheme(int color1, int color2, int color3, int color4) { in setColorScheme() argument 90 mColor2 = color2; in setColorScheme()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiProducerActivity.java | 283 public ColorPulse(int color1, int color2, Rect rect) { in ColorPulse() argument 285 mColorEnd = color2; in ColorPulse()
|
/frameworks/rs/api/ |
D | rs_math.spec | 1700 40% color1 and 60% color2, use <code>mix(color1, color2, 0.6f)</code>.
|
/frameworks/rs/scriptc/ |
D | rs_math.rsh | 3552 * 40% color1 and 60% color2, use mix(color1, color2, 0.6f).
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_math.jd | 4425 40% color1 and 60% color2, use <code>mix(color1, color2, 0.6f)</code>.
|