Lines Matching defs:outResult
561 * @param outResult 3-element array which holds the resulting HSL components
564 @FloatRange(from = 0.0, to = 1.0) float ratio, @NonNull float[] outResult) {
565 if (outResult.length != 3) {
570 outResult[0] = circularInterpolate(hsl1[0], hsl2[0], ratio);
571 outResult[1] = hsl1[1] * inverseRatio + hsl2[1] * ratio;
572 outResult[2] = hsl1[2] * inverseRatio + hsl2[2] * ratio;
584 * @param outResult 3-element array which holds the resulting LAB components
587 @FloatRange(from = 0.0, to = 1.0) double ratio, @NonNull double[] outResult) {
588 if (outResult.length != 3) {
589 throw new IllegalArgumentException("outResult must have a length of 3.");
592 outResult[0] = lab1[0] * inverseRatio + lab2[0] * ratio;
593 outResult[1] = lab1[1] * inverseRatio + lab2[1] * ratio;
594 outResult[2] = lab1[2] * inverseRatio + lab2[2] * ratio;