Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureColorStore.java118 float[] startHsv = mTempHsv1; in lerpColor() local
119 Color.colorToHSV(startColor, startHsv); in lerpColor()
124 if (startHsv[1] == 0) { in lerpColor()
125 startHsv[0] = endHsv[0]; in lerpColor()
128 endHsv[0] = startHsv[0]; in lerpColor()
132 outColor[0] = hueLerp(fraction, startHsv[0], endHsv[0]); in lerpColor()
133 outColor[1] = lerp(fraction, startHsv[1], endHsv[1]); in lerpColor()
134 outColor[2] = lerp(fraction, startHsv[2], endHsv[2]); in lerpColor()