Searched refs:outLab (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/v4/java/android/support/v4/graphics/ |
D | ColorUtils.java | 309 public static void colorToLAB(@ColorInt int color, @NonNull double[] outLab) { in colorToLAB() argument 310 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() local 329 @NonNull double[] outLab) { in RGBToLAB() argument 331 RGBToXYZ(r, g, b, outLab); in RGBToLAB() 333 XYZToLAB(outLab[0], outLab[1], outLab[2], outLab); in RGBToLAB() 412 @NonNull double[] outLab) { 413 if (outLab.length != 3) { 419 outLab[0] = Math.max(0, 116 * y - 16); 420 outLab[1] = 500 * (x - y); 421 outLab[2] = 200 * (y - z);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 429 public static void colorToLAB(@ColorInt int color, @NonNull double[] outLab) { in colorToLAB() argument 430 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() local 449 @NonNull double[] outLab) { in RGBToLAB() argument 451 RGBToXYZ(r, g, b, outLab); in RGBToLAB() 453 XYZToLAB(outLab[0], outLab[1], outLab[2], outLab); in RGBToLAB() 532 @NonNull double[] outLab) { 533 if (outLab.length != 3) { 539 outLab[0] = Math.max(0, 116 * y - 16); 540 outLab[1] = 500 * (x - y); 541 outLab[2] = 200 * (y - z);
|