Searched refs:outHsl (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/ |
H A D | ColorUtils.java | 161 * <li>outHsl[0] is Hue [0 .. 360)</li> 162 * <li>outHsl[1] is Saturation [0...1]</li> 163 * <li>outHsl[2] is Lightness [0...1]</li> 169 * @param outHsl 3-element array which holds the resulting HSL components 173 @NonNull float[] outHsl) { 205 outHsl[0] = constrain(h, 0f, 360f); 206 outHsl[1] = constrain(s, 0f, 1f); 207 outHsl[2] = constrain(l, 0f, 1f); 213 * <li>outHsl[0] is Hue [0 .. 360)</li> 214 * <li>outHsl[ 171 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 221 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 | 928 * <li>outHsl[0] is Hue [0 .. 360)</li> 929 * <li>outHsl[1] is Saturation [0...1]</li> 930 * <li>outHsl[2] is Lightness [0...1]</li> 934 * @param outHsl 3-element array which holds the resulting HSL components 936 public static void colorToHSL(@ColorInt int color, @NonNull float[] outHsl) { argument 937 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); 943 * <li>outHsl[0] is Hue [0 .. 360)</li> 944 * <li>outHsl[1] is Saturation [0...1]</li> 945 * <li>outHsl[2] is Lightness [0...1]</li> 951 * @param outHsl 953 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 1113 milliseconds