Searched refs:getHue (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/colormodel/ |
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() 151 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlackFromGamutMap() [all …]
|
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/ |
D | SchemeClockVibrant.java | 35 /*hue*/ sourceColorHct.getHue(), in SchemeClockVibrant() 40 /*hue*/ sourceColorHct.getHue() + 20.0, in SchemeClockVibrant() 45 /*hue*/ sourceColorHct.getHue() + 60.0, in SchemeClockVibrant() 50 TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 0.0), in SchemeClockVibrant() 51 TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 0.0)); in SchemeClockVibrant()
|
D | SchemeClock.java | 37 /*hue*/ sourceColorHct.getHue(), in SchemeClock() 42 /*hue*/ sourceColorHct.getHue() + 10.0, in SchemeClock() 47 /*hue*/ sourceColorHct.getHue() + 20.0, in SchemeClock() 52 TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 0.0), in SchemeClock() 53 TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 0.0)); in SchemeClock()
|
D | ColorScheme.java | 244 int hue = (int) Math.round(hct.getHue()); in getSeedColors() 284 double hueA = intToHct.get(currentColor).getHue(); in getSeedColors() 285 double hueB = intToHct.get(seed).getHue(); in getSeedColors() 337 String h = "H" + String.format("%" + width + "s", Math.round(hct.getHue())); in stringForColor() 367 int hue = (int) Math.round(hct.getHue()) % 360;
|
/frameworks/base/core/java/android/app/ |
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()
|
/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | Cam.java | 54 public float getHue() { in getHue() method in Cam 290 float hRad = getHue() * (float) Math.PI / 180.0f; in viewed()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 560 baseColor = ColorUtils.CAMToColor(baseCam.getHue(), baseCam.getChroma(), lStar); in modulateColor()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 21285 HSPLcom/android/internal/graphics/cam/Cam;->getHue()F
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 21349 HSPLcom/android/internal/graphics/cam/Cam;->getHue()F
|