Searched refs:inverseRatio (Results 1 – 2 of 2) sorted by relevance
543 final float inverseRatio = 1 - ratio; in blendARGB() local544 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()568 final float inverseRatio = 1 - ratio; in blendHSL() local571 outResult[1] = hsl1[1] * inverseRatio + hsl2[1] * ratio; in blendHSL()572 outResult[2] = hsl1[2] * inverseRatio + hsl2[2] * ratio; in blendHSL()591 final double inverseRatio = 1 - ratio; in blendLAB() local592 outResult[0] = lab1[0] * inverseRatio + lab2[0] * ratio; in blendLAB()[all …]
646 final float inverseRatio = 1f - ratio; in blendColors() local647 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()