Searched refs:maxHue (Results 1 – 2 of 2) sorted by relevance
359 if (h >= candidate.minHue && h <= candidate.maxHue) { in findTonalPalette()364 if (candidate.maxHue > 1.0f && h >= 0.0f && h <= fract(candidate.maxHue)) { in findTonalPalette()377 } else if (h >= candidate.maxHue && h - candidate.maxHue < error) { in findTonalPalette()379 error = h - candidate.maxHue; in findTonalPalette()380 } else if (candidate.maxHue > 1.0f && h >= fract(candidate.maxHue) in findTonalPalette()381 && h - fract(candidate.maxHue) < error) { in findTonalPalette()383 error = h - fract(candidate.maxHue); in findTonalPalette()404 public final float maxHue; field in Tonal.TonalPalette417 float maxHue = Float.NEGATIVE_INFINITY; in TonalPalette() local421 maxHue = Math.max(v, maxHue); in TonalPalette()[all …]
137 assertTrue("maxHue should be <= to 360.", palette.maxHue <= 360); in tonal_rangeTest()