Searched refs:lab1 (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/
H A DColorUtils.java579 * <p>A blend ratio of 0.0 will result in {@code lab1}, 0.5 will give an even blend,
582 * @param lab1 3-element array which holds the first LAB color
584 * @param ratio the blend ratio of {@code lab1} to {@code lab2}
587 public static void blendLAB(@NonNull double[] lab1, @NonNull double[] lab2, argument
593 outResult[0] = lab1[0] * inverseRatio + lab2[0] * ratio;
594 outResult[1] = lab1[1] * inverseRatio + lab2[1] * ratio;
595 outResult[2] = lab1[2] * inverseRatio + lab2[2] * ratio;
/frameworks/support/core-utils/java/android/support/v4/graphics/
H A DColorUtils.java578 * <p>A blend ratio of 0.0 will result in {@code lab1}, 0.5 will give an even blend,
581 * @param lab1 3-element array which holds the first LAB color
583 * @param ratio the blend ratio of {@code lab1} to {@code lab2}
586 public static void blendLAB(@NonNull double[] lab1, @NonNull double[] lab2, argument
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;

Completed in 98 milliseconds