Home
last modified time | relevance | path

Searched refs:outHsl (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java218 @NonNull float[] outHsl) { in RGBToHSL() argument
250 outHsl[0] = constrain(h, 0f, 360f); in RGBToHSL()
251 outHsl[1] = constrain(s, 0f, 1f); in RGBToHSL()
252 outHsl[2] = constrain(l, 0f, 1f); in RGBToHSL()
266 public static void colorToHSL(@ColorInt int color, @NonNull float[] outHsl) { in colorToHSL() argument
267 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); in colorToHSL() local
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java1025 public static void colorToHSL(@ColorInt int color, @NonNull float[] outHsl) { in colorToHSL() argument
1026 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); in colorToHSL() local
1044 @NonNull float[] outHsl) { in RGBToHSL() argument
1076 outHsl[0] = constrain(h, 0f, 360f); in RGBToHSL()
1077 outHsl[1] = constrain(s, 0f, 1f); in RGBToHSL()
1078 outHsl[2] = constrain(l, 0f, 1f); in RGBToHSL()