Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DIlluminationDrawable.kt62 private var tmpHsl = floatArrayOf(0f, 0f, 0f) variable
164 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()
/frameworks/base/core/java/android/app/
DWallpaperColors.java237 final float[] tmpHsl = new float[3]; in WallpaperColors() local
238 ColorUtils.colorToHSL(primaryColor.toArgb(), tmpHsl); in WallpaperColors() local
239 final float luminance = tmpHsl[2]; in WallpaperColors()
526 float[] tmpHsl = new float[3]; in calculateDarkHints() local
528 ColorUtils.colorToHSL(pixels[i], tmpHsl); in calculateDarkHints()
529 final float luminance = tmpHsl[2]; in calculateDarkHints()