Searched refs:outHsl (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/ |
H A D | ColorUtils.java | 204 * <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/core-utils/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 160 * <li>outHsl[0] is Hue [0 .. 360)</li> 161 * <li>outHsl[1] is Saturation [0...1]</li> 162 * <li>outHsl[2] is Lightness [0...1]</li> 168 * @param outHsl 3-element array which holds the resulting HSL components 172 @NonNull float[] outHsl) { 204 outHsl[0] = constrain(h, 0f, 360f); 205 outHsl[1] = constrain(s, 0f, 1f); 206 outHsl[2] = constrain(l, 0f, 1f); 212 * <li>outHsl[0] is Hue [0 .. 360)</li> 213 * <li>outHsl[ 170 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 220 colorToHSL(@olorInt int color, @NonNull float[] outHsl) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 991 * <li>outHsl[0] is Hue [0 .. 360)</li> 992 * <li>outHsl[1] is Saturation [0...1]</li> 993 * <li>outHsl[2] is Lightness [0...1]</li> 997 * @param outHsl 3-element array which holds the resulting HSL components 999 public static void colorToHSL(@ColorInt int color, @NonNull float[] outHsl) { argument 1000 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); 1006 * <li>outHsl[0] is Hue [0 .. 360)</li> 1007 * <li>outHsl[1] is Saturation [0...1]</li> 1008 * <li>outHsl[2] is Lightness [0...1]</li> 1014 * @param outHsl 1016 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 37 milliseconds