Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureColorStore.java120 float[] endHsv = mTempHsv2; in lerpColor() local
121 Color.colorToHSV(endColor, endHsv); in lerpColor()
125 startHsv[0] = endHsv[0]; in lerpColor()
127 if (endHsv[1] == 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()