Searched refs:deltaMaxMin (Results 1 – 2 of 2) sorted by relevance
223 final float deltaMaxMin = max - min; in RGBToHSL() local233 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()235 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()237 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()240 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()
1048 final float deltaMaxMin = max - min; in RGBToHSL() local1058 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()1060 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()1062 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()1065 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()