Searched refs:outXyz (Results 1 – 2 of 2) sorted by relevance
430 public static void colorToXYZ(@ColorInt int color, @NonNull double[] outXyz) { in colorToXYZ() argument431 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() local453 @NonNull double[] outXyz) { in RGBToXYZ() argument454 if (outXyz.length != 3) { in RGBToXYZ()465 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ()466 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ()467 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()522 @NonNull double[] outXyz) {534 outXyz[0] = xr * XYZ_WHITE_REFERENCE_X;535 outXyz[1] = yr * XYZ_WHITE_REFERENCE_Y;[all …]
858 public static void colorToXYZ(@ColorInt int color, @NonNull double[] outXyz) { in colorToXYZ() argument859 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() local881 @NonNull double[] outXyz) { in RGBToXYZ() argument882 if (outXyz.length != 3) { in RGBToXYZ()893 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ()894 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ()895 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()950 @NonNull double[] outXyz) {962 outXyz[0] = xr * XYZ_WHITE_REFERENCE_X;963 outXyz[1] = yr * XYZ_WHITE_REFERENCE_Y;[all …]