Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java353 public static void colorToLAB(@ColorInt int color, @NonNull double[] outLab) { in colorToLAB() argument
354 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() local
373 @NonNull double[] outLab) { in RGBToLAB() argument
375 RGBToXYZ(r, g, b, outLab); in RGBToLAB()
377 XYZToLAB(outLab[0], outLab[1], outLab[2], outLab); in RGBToLAB()
456 @NonNull double[] outLab) {
457 if (outLab.length != 3) {
463 outLab[0] = Math.max(0, 116 * y - 16);
464 outLab[1] = 500 * (x - y);
465 outLab[2] = 200 * (y - z);
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java723 public static void colorToLAB(@ColorInt int color, @NonNull double[] outLab) { in colorToLAB() argument
724 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() local
743 @NonNull double[] outLab) { in RGBToLAB() argument
745 RGBToXYZ(r, g, b, outLab); in RGBToLAB()
747 XYZToLAB(outLab[0], outLab[1], outLab[2], outLab); in RGBToLAB()
826 @NonNull double[] outLab) {
827 if (outLab.length != 3) {
833 outLab[0] = Math.max(0, 116 * y - 16);
834 outLab[1] = 500 * (x - y);
835 outLab[2] = 200 * (y - z);