Home
last modified time | relevance | path

Searched refs:getChroma (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/colormodel/
DCamTest.java64 assertEquals(113.357f, cam.getChroma(), 0.001f); in camFromRed()
75 assertEquals(108.410f, cam.getChroma(), 0.001f); in camFromGreen()
86 assertEquals(87.230f, cam.getChroma(), 0.001f); in camFromBlue()
97 assertEquals(0.0f, cam.getChroma(), 0.001f); in camFromBlack()
108 assertEquals(2.869f, cam.getChroma(), 0.001f); in camFromWhite()
119 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRedFromGamutMap()
127 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getGreenFromGamutMap()
135 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlueFromGamutMap()
143 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getWhiteFromGamutMap()
151 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlackFromGamutMap()
[all …]
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DSchemeClockVibrant.java36 /*chroma*/ max(sourceColorHct.getChroma(), 70) in SchemeClockVibrant()
41 /*chroma*/ max(sourceColorHct.getChroma(), 70) in SchemeClockVibrant()
46 /*chroma*/ max(sourceColorHct.getChroma(), 70) in SchemeClockVibrant()
DSchemeClock.java38 /*chroma*/ max(sourceColorHct.getChroma(), 20) in SchemeClock()
43 /*chroma*/ clampDouble(17, 40, sourceColorHct.getChroma() * 0.85) in SchemeClock()
48 /*chroma*/ max(sourceColorHct.getChroma() + 20, 50) in SchemeClock()
DColorScheme.java75 && mProposedSeedHct.getChroma() < 5 in ColorScheme()
224 .filter(color -> !filter || Hct.fromInt(color).getChroma() >= MIN_CHROMA) in getSeedColors()
261 return hct.getChroma() >= MIN_CHROMA && proportion > 0.01; in getSeedColors()
338 String c = "C" + String.format("%" + width + "s", Math.round(hct.getChroma())); in stringForColor()
354 double chromaScore = hct.getChroma() < ACCENT1_CHROMA in score()
355 ? 0.1 * (hct.getChroma() - ACCENT1_CHROMA) in score()
356 : 0.3 * (hct.getChroma() - ACCENT1_CHROMA); in score()
368 if (filter && hct.getChroma() <= MIN_CHROMA) {
/frameworks/base/core/java/com/android/internal/graphics/cam/
DCam.java59 public float getChroma() { in getChroma() method in Cam
283 (getChroma() == 0.0 || getJ() == 0.0) in viewed()
285 : getChroma() / (float) Math.sqrt(getJ() / 100.0); in viewed()
488 Cam.fromJch(camClipped.getJ(), camClipped.getChroma(), hue)); in findCamByJ()
/frameworks/base/core/java/android/content/res/
DColorStateList.java560 baseColor = ColorUtils.CAMToColor(baseCam.getHue(), baseCam.getChroma(), lStar); in modulateColor()
/frameworks/base/core/java/android/app/
DWallpaperColors.java379 return cam.getChroma() + (proportion * 100); in score()
/frameworks/base/boot/
Dboot-image-profile.txt21284 HSPLcom/android/internal/graphics/cam/Cam;->getChroma()F
/frameworks/base/config/
Dboot-image-profile.txt21348 HSPLcom/android/internal/graphics/cam/Cam;->getChroma()F