Searched refs:hct (Results 1 – 5 of 5) sorted by relevance
26 import com.google.ux.material.libmonet.hct.Hct;243 Hct hct = intToHct.get(entry.getKey()); in getSeedColors()244 int hue = (int) Math.round(hct.getHue()); in getSeedColors()259 Hct hct = entry.getValue(); in getSeedColors()261 return hct.getChroma() >= MIN_CHROMA && proportion > 0.01; in getSeedColors()336 Hct hct = Hct.fromInt(color); in stringForColor() local337 String h = "H" + String.format("%" + width + "s", Math.round(hct.getHue())); in stringForColor()338 String c = "C" + String.format("%" + width + "s", Math.round(hct.getChroma())); in stringForColor()339 String t = "T" + String.format("%" + width + "s", Math.round(hct.getTone())); in stringForColor()352 private static double score(Hct hct, double proportion) { in score() argument[all …]
23 import com.google.ux.material.libmonet.hct.Hct;
25 import com.google.ux.material.libmonet.hct.Hct;
218 Cam hct = Cam.fromInt(color); in testHctReflexivity() local219 int reconstructedFromHct = Cam.getInt(hct.getHue(), hct.getChroma(), in testHctReflexivity()
23 import com.google.ux.material.libmonet.hct.Hct in <lambda>()