Searched refs:deltaMaxMin (Results 1 – 2 of 2) sorted by relevance
225 final float deltaMaxMin = max - min; in RGBToHSL() local235 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()237 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()239 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()242 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()
1051 final float deltaMaxMin = max - min; in RGBToHSL() local1061 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()1063 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()1065 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()1068 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()