Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/colormodel/
H A DCamTest.java116 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRedFromGamutMap()
124 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getGreenFromGamutMap()
132 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlueFromGamutMap()
140 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getWhiteFromGamutMap()
148 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlackFromGamutMap()
156 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getMidgrayFromGamutMap()
164 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRandomGreenFromGamutMap()
175 assertEquals(70.029f, CamUtils.lstarFromInt(color), 0.001f); in gamutMapArbitraryHCL()
/aosp12/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/
H A DColorScheme.kt24 import com.android.internal.graphics.cam.CamUtils.lstarFromInt
170 val lstar = lstarFromInt(it.key)
/aosp12/frameworks/base/core/java/com/android/internal/graphics/cam/
H A DCamUtils.java109 public static float lstarFromInt(int argb) { in lstarFromInt() method in CamUtils
H A DCam.java470 float clippedLstar = CamUtils.lstarFromInt(clipped); in findCamByJ()