Searched refs:outHsl (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/
H A DColorUtils.java204 * <li>outHsl[0] is Hue [0 .. 360)</li>
205 * <li>outHsl[1] is Saturation [0...1]</li>
206 * <li>outHsl[2] is Lightness [0...1]</li>
212 * @param outHsl 3-element array which holds the resulting HSL components
216 @NonNull float[] outHsl) {
248 outHsl[0] = constrain(h, 0f, 360f);
249 outHsl[1] = constrain(s, 0f, 1f);
250 outHsl[2] = constrain(l, 0f, 1f);
256 * <li>outHsl[0] is Hue [0 .. 360)</li>
257 * <li>outHsl[
214 RGBToHSL(@ntRangefrom = 0x0, to = 0xFF) int r, @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, @NonNull float[] outHsl) argument
264 colorToHSL(@olorInt int color, @NonNull float[] outHsl) argument
[all...]
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DColorUtils.java228 * <li>outHsl[0] is Hue [0 .. 360)</li>
229 * <li>outHsl[1] is Saturation [0...1]</li>
230 * <li>outHsl[2] is Lightness [0...1]</li>
236 * @param outHsl 3-element array which holds the resulting HSL components
240 @NonNull float[] outHsl) {
272 outHsl[0] = constrain(h, 0f, 360f);
273 outHsl[1] = constrain(s, 0f, 1f);
274 outHsl[2] = constrain(l, 0f, 1f);
280 * <li>outHsl[0] is Hue [0 .. 360)</li>
281 * <li>outHsl[
238 RGBToHSL(@ntRangefrom = 0x0, to = 0xFF) int r, @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, @NonNull float[] outHsl) argument
288 colorToHSL(@olorInt int color, @NonNull float[] outHsl) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java1003 * <li>outHsl[0] is Hue [0 .. 360)</li>
1004 * <li>outHsl[1] is Saturation [0...1]</li>
1005 * <li>outHsl[2] is Lightness [0...1]</li>
1009 * @param outHsl 3-element array which holds the resulting HSL components
1011 public static void colorToHSL(@ColorInt int color, @NonNull float[] outHsl) { argument
1012 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl);
1018 * <li>outHsl[0] is Hue [0 .. 360)</li>
1019 * <li>outHsl[1] is Saturation [0...1]</li>
1020 * <li>outHsl[2] is Lightness [0...1]</li>
1026 * @param outHsl
1028 RGBToHSL(@ntRangefrom = 0x0, to = 0xFF) int r, @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, @NonNull float[] outHsl) argument
[all...]

Completed in 112 milliseconds