Searched refs:gf (Results 1 – 2 of 2) sorted by relevance
218 final float gf = g / 255f; in RGBToHSL() local221 final float max = Math.max(rf, Math.max(gf, bf)); in RGBToHSL()222 final float min = Math.min(rf, Math.min(gf, bf)); in RGBToHSL()233 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()234 } else if (max == gf) { in RGBToHSL()237 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()
1043 final float gf = g / 255f; in RGBToHSL() local1046 final float max = Math.max(rf, Math.max(gf, bf)); in RGBToHSL()1047 final float min = Math.min(rf, Math.min(gf, bf)); in RGBToHSL()1058 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()1059 } else if (max == gf) { in RGBToHSL()1062 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()