Searched refs:deltaMaxMin (Results 1 – 2 of 2) sorted by relevance
228 final float deltaMaxMin = max - min; in RGBToHSL() local238 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()240 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()242 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()245 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()
1140 final float deltaMaxMin = max - min; in RGBToHSL() local1150 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()1152 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()1154 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()1157 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()