Home
last modified time | relevance | path

Searched refs:hct (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DColorScheme.java26 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() local
337 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 …]
DSchemeClockVibrant.java23 import com.google.ux.material.libmonet.hct.Hct;
DSchemeClock.java25 import com.google.ux.material.libmonet.hct.Hct;
/frameworks/base/core/tests/coretests/src/android/colormodel/
DCamTest.java218 Cam hct = Cam.fromInt(color); in testHctReflexivity() local
219 int reconstructedFromHct = Cam.getInt(hct.getHue(), hct.getChroma(), in testHctReflexivity()
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/
DColorSchemeTest.kt23 import com.google.ux.material.libmonet.hct.Hct in <lambda>()