Home
last modified time | relevance | path

Searched refs:hueRadians (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/cam/
DHctSolver.java606 static int findResultByJ(double hueRadians, double chroma, double y) { in findResultByJ() argument
614 double eHue = 0.25 * (Math.cos(hueRadians + 2.0) + 3.8); in findResultByJ()
617 double hSin = Math.sin(hueRadians); in findResultByJ()
618 double hCos = Math.cos(hueRadians); in findResultByJ()
686 double hueRadians = Math.toRadians(hueDegrees); in solveToInt() local
688 int exactAnswer = findResultByJ(hueRadians, chroma, y); in solveToInt()
692 return bisectToLimit(y, hueRadians); in solveToInt()
DCam.java191 float hueRadians = hue * (float) Math.PI / 180.0f; in fromIntInFrame() local
221 float astar = mstar * (float) Math.cos(hueRadians); in fromIntInFrame()
222 float bstar = mstar * (float) Math.sin(hueRadians); in fromIntInFrame()
252 float hueRadians = h * (float) Math.PI / 180.0f; in fromJchInFrame() local
255 float astar = mstar * (float) Math.cos(hueRadians); in fromJchInFrame()
256 float bstar = mstar * (float) Math.sin(hueRadians); in fromJchInFrame()