Searched refs:outXyz (Results 1 – 2 of 2) sorted by relevance
396 public static void colorToXYZ(@ColorInt int color, @NonNull double[] outXyz) { in colorToXYZ() argument397 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() local419 @NonNull double[] outXyz) { in RGBToXYZ() argument420 if (outXyz.length != 3) { in RGBToXYZ()431 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ()432 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ()433 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()488 @NonNull double[] outXyz) {500 outXyz[0] = xr * XYZ_WHITE_REFERENCE_X;501 outXyz[1] = yr * XYZ_WHITE_REFERENCE_Y;[all …]
766 public static void colorToXYZ(@ColorInt int color, @NonNull double[] outXyz) { in colorToXYZ() argument767 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() local789 @NonNull double[] outXyz) { in RGBToXYZ() argument790 if (outXyz.length != 3) { in RGBToXYZ()801 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ()802 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ()803 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()858 @NonNull double[] outXyz) {870 outXyz[0] = xr * XYZ_WHITE_REFERENCE_X;871 outXyz[1] = yr * XYZ_WHITE_REFERENCE_Y;[all …]