Home
last modified time | relevance | path

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

/core/core/src/main/java/androidx/core/graphics/
DColorUtils.java651 @FloatRange(from = 0.0, to = 1.0) float ratio, float @NonNull [] outResult) { in blendHSL() argument
652 if (outResult.length != 3) { in blendHSL()
657 outResult[0] = circularInterpolate(hsl1[0], hsl2[0], ratio); in blendHSL()
658 outResult[1] = hsl1[1] * inverseRatio + hsl2[1] * ratio; in blendHSL()
659 outResult[2] = hsl1[2] * inverseRatio + hsl2[2] * ratio; in blendHSL()
675 @FloatRange(from = 0.0, to = 1.0) double ratio, double @NonNull [] outResult) { in blendLAB() argument
676 if (outResult.length != 3) { in blendLAB()
680 outResult[0] = lab1[0] * inverseRatio + lab2[0] * ratio; in blendLAB()
681 outResult[1] = lab1[1] * inverseRatio + lab2[1] * ratio; in blendLAB()
682 outResult[2] = lab1[2] * inverseRatio + lab2[2] * ratio; in blendLAB()