Home
last modified time | relevance | path

Searched refs:lstarFromInt (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/colormodel/
H A DCamTest.java119 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()
159 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getMidgrayFromGamutMap()
167 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRandomGreenFromGamutMap()
178 assertEquals(70.029f, CamUtils.lstarFromInt(color), 0.001f); in gamutMapArbitraryHCL()
220 CamUtils.lstarFromInt(color)); in testHctReflexivity()
/aosp14/frameworks/base/core/java/com/android/internal/graphics/cam/
H A DCamUtils.java221 public static float lstarFromInt(int argb) { in lstarFromInt() method in CamUtils
H A DCam.java477 float clippedLstar = CamUtils.lstarFromInt(clipped); in findCamByJ()
/aosp14/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/
H A DColorScheme.kt343 baseColor = ColorUtils.CAMToColor(h, c, CamUtils.lstarFromInt(seedColor))
453 get() = 1000f - CamUtils.lstarFromInt(seed) * 10f