Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DCam.java112 Cam(float hue, float chroma, float j, float q, float m, float s, float jstar, float astar, in Cam() argument
114 mHue = hue; in Cam()
131 public static int getInt(float hue, float chroma, float lstar) { in getInt() argument
132 return getInt(hue, chroma, lstar, Frame.DEFAULT); in getInt()
182 float hue = in fromIntInFrame() local
186 float hueRadians = hue * (float) Math.PI / 180.0f; in fromIntInFrame()
201 float huePrime = (hue < 20.14) ? hue + 360 : hue; in fromIntInFrame()
219 return new Cam(hue, c, j, q, m, s, jstar, astar, bstar); in fromIntInFrame()
338 public static int getInt(float hue, float chroma, float lstar, Frame frame) { in getInt() argument
386 hue = hue < 0 ? 0 : Math.min(360, hue); in getInt()
[all …]
/cts/tests/tests/systemui/src/android/systemui/cts/
DColorUtils.java34 public static float hue(int argb) { in hue() method in ColorUtils
DLightBarTests.java456 float hueDiff = Math.abs(ColorUtils.hue(background) - ColorUtils.hue(c)); in evaluateBarBitmap()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.kt682 val diffHue = abs(hct1.hue - hct2.hue) in <lambda>()