Searched refs:outLab (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 384 public static void colorToLAB(@ColorInt int color, @NonNull double[] outLab) { in colorToLAB() argument 385 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() local 404 @NonNull double[] outLab) { in RGBToLAB() argument 406 RGBToXYZ(r, g, b, outLab); in RGBToLAB() 408 XYZToLAB(outLab[0], outLab[1], outLab[2], outLab); in RGBToLAB() 487 @NonNull double[] outLab) { 488 if (outLab.length != 3) { 494 outLab[0] = Math.max(0, 116 * y - 16); 495 outLab[1] = 500 * (x - y); 496 outLab[2] = 200 * (y - z);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 726 public static void colorToLAB(@ColorInt int color, @NonNull double[] outLab) { in colorToLAB() argument 727 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() local 746 @NonNull double[] outLab) { in RGBToLAB() argument 748 RGBToXYZ(r, g, b, outLab); in RGBToLAB() 750 XYZToLAB(outLab[0], outLab[1], outLab[2], outLab); in RGBToLAB() 829 @NonNull double[] outLab) { 830 if (outLab.length != 3) { 836 outLab[0] = Math.max(0, 116 * y - 16); 837 outLab[1] = 500 * (x - y); 838 outLab[2] = 200 * (y - z);
|