Searched refs:getHue (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/core/tests/coretests/src/android/colormodel/ |
H A D | CamTest.java | 65 assertEquals(27.408f, cam.getHue(), 0.001f); in camFromRed() 76 assertEquals(142.139f, cam.getHue(), 0.001f); in camFromGreen() 87 assertEquals(282.788f, cam.getHue(), 0.001f); in camFromBlue() 98 assertEquals(0.0f, cam.getHue(), 0.001f); in camFromBlack() 109 assertEquals(209.492f, cam.getHue(), 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() 176 assertEquals(308.759f, cam.getHue(), 0.001); in gamutMapArbitraryHCL() [all …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | WallpaperColors.java | 375 return (180f - Math.abs(Math.abs(a.getHue() - b.getHue()) - 180f)); in hueDiff() 386 final int hue = wrapDegrees(Math.round(colorToCam.get(color).getHue())); in colorToHueProportion() 419 final int hue = wrapDegrees(Math.round(cam.getHue())); in hueProportions()
|
/aosp14/frameworks/base/core/java/com/android/internal/graphics/cam/ |
H A D | Cam.java | 54 public float getHue() { in getHue() method in Cam 290 float hRad = getHue() * (float) Math.PI / 180.0f; in viewed()
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 560 baseColor = ColorUtils.CAMToColor(baseCam.getHue(), baseCam.getChroma(), lStar); in modulateColor()
|
/aosp14/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 21657 HSPLcom/android/internal/graphics/cam/Cam;->getHue()F
|
/aosp14/frameworks/base/config/ |
H A D | boot-image-profile.txt | 21721 HSPLcom/android/internal/graphics/cam/Cam;->getHue()F
|