Searched refs:tmpHsl (Results 1 – 2 of 2) sorted by relevance
62 private var tmpHsl = floatArrayOf(0f, 0f, 0f) variable in com.android.systemui.media.IlluminationDrawable164 ColorUtils.colorToHSL(backgroundColor, tmpHsl) in animateBackground()165 val L = tmpHsl[2] in animateBackground()166 tmpHsl[2] = MathUtils.constrain(if (L < 1f - highlight) { in animateBackground()174 val finalHighlight = ColorUtils.HSLToColor(tmpHsl) in animateBackground()
237 final float[] tmpHsl = new float[3]; in WallpaperColors() local238 ColorUtils.colorToHSL(primaryColor.toArgb(), tmpHsl); in WallpaperColors() local239 final float luminance = tmpHsl[2]; in WallpaperColors()526 float[] tmpHsl = new float[3]; in calculateDarkHints() local528 ColorUtils.colorToHSL(pixels[i], tmpHsl); in calculateDarkHints()529 final float luminance = tmpHsl[2]; in calculateDarkHints()