Lines Matching refs:from

75     @FloatRange(from = 0.0, to = 1.0)
170 public static void RGBToHSL(@IntRange(from = 0x0, to = 0xFF) int r,
171 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b,
296 @IntRange(from = 0x0, to = 0xFF) int alpha) {
327 public static void RGBToLAB(@IntRange(from = 0x0, to = 0xFF) int r,
328 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b,
373 public static void RGBToXYZ(@IntRange(from = 0x0, to = 0xFF) int r,
374 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b,
393 * Converts a color from CIE XYZ to CIE Lab representation.
409 public static void XYZToLAB(@FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_X) double x,
410 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Y) double y,
411 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Z) double z,
425 * Converts a color from CIE Lab to CIE XYZ representation.
441 public static void LABToXYZ(@FloatRange(from = 0f, to = 100) final double l,
442 @FloatRange(from = -128, to = 127) final double a,
443 @FloatRange(from = -128, to = 127) final double b,
462 * Converts a color from CIE XYZ to its RGB representation.
473 public static int XYZToColor(@FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_X) double x,
474 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Y) double y,
475 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Z) double z) {
491 * Converts a color from CIE Lab to its RGB representation.
499 public static int LABToColor(@FloatRange(from = 0f, to = 100) final double l,
500 @FloatRange(from = -128, to = 127) final double a,
501 @FloatRange(from = -128, to = 127) final double b) {
542 @FloatRange(from = 0.0, to = 1.0) float ratio) {
564 @FloatRange(from = 0.0, to = 1.0) float ratio, @NonNull float[] outResult) {
587 @FloatRange(from = 0.0, to = 1.0) double ratio, @NonNull double[] outResult) {