/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ColorExtractor.java | 92 int hue = (int) hsv[0]; in findDominantColorByHue() local 93 if (hue < 0 || hue >= hueScoreHistogram.length) { in findDominantColorByHue() 101 hueScoreHistogram[hue] += score; in findDominantColorByHue() 102 if (hueScoreHistogram[hue] > highScore) { in findDominantColorByHue() 103 highScore = hueScoreHistogram[hue]; in findDominantColorByHue() 104 bestHue = hue; in findDominantColorByHue() 119 int hue = (int) hsv[0]; in findDominantColorByHue() local 120 if (hue == bestHue) { in findDominantColorByHue()
|
/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | Cam.java | 115 Cam(float hue, float chroma, float j, float q, float m, float s, float jstar, float astar, in Cam() argument 117 mHue = hue; in Cam() 134 public static int getInt(float hue, float chroma, float lstar) { in getInt() argument 135 return getInt(hue, chroma, lstar, Frame.DEFAULT); in getInt() 187 float hue = in fromIntInFrame() local 191 float hueRadians = hue * (float) Math.PI / 180.0f; in fromIntInFrame() 206 float huePrime = (hue < 20.14) ? hue + 360 : hue; in fromIntInFrame() 224 return new Cam(hue, c, j, q, m, s, jstar, astar, bstar); in fromIntInFrame() 345 public static int getInt(float hue, float chroma, float lstar, @NonNull Frame frame) { in getInt() argument 393 return HctSolver.solveToInt(hue, chroma, lstar); in getInt() [all …]
|
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/ |
D | Shades.java | 54 public static @ColorInt int[] of(float hue, float chroma) { in of() argument 58 shades[0] = ColorUtils.CAMToColor(hue, Math.min(40f, chroma), 99); in of() 59 shades[1] = ColorUtils.CAMToColor(hue, Math.min(40f, chroma), 95); in of() 62 shades[i] = ColorUtils.CAMToColor(hue, chroma, lStar); in of()
|
D | ColorScheme.java | 244 int hue = (int) Math.round(hct.getHue()); in getSeedColors() 246 for (int i = hue - 15; i <= hue + 15; i++) { in getSeedColors() 367 int hue = (int) Math.round(hct.getHue()) % 360; 371 huePopulation.set(hue, huePopulation.get(hue) + population);
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | ColorExpression.java | 57 public ColorExpression(int id, float hue, float sat, float value) { in ColorExpression() argument 60 mOutHue = mHue = hue; in ColorExpression() 63 mColor1 = Float.floatToRawIntBits(hue); in ColorExpression() 67 public ColorExpression(int id, int alpha, float hue, float sat, float value) { in ColorExpression() argument 70 mOutHue = mHue = hue; in ColorExpression() 73 mColor1 = Float.floatToRawIntBits(hue); in ColorExpression()
|
D | Utils.java | 199 public static int hsvToRgb(float hue, float saturation, float value) { in hsvToRgb() argument 200 int h = (int) (hue * 6); in hsvToRgb() 201 float f = hue * 6 - h; in hsvToRgb()
|
/frameworks/wilhelm/src/itf/ |
D | ILEDArray.cpp | 64 if (!(0 <= color.hue && color.hue <= 360000)) in ILEDArray_SetColor() 117 color->hue = 0; // red, but per specification 1.0.1 pg. 259: "Default color is undefined." in ILEDArray_init()
|
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/ |
D | ColorSchemeTest.kt | 91 var hue = 0.0 in generateThemeStyles() variable 92 while (hue < 360) { in generateThemeStyles() 93 val sourceColor = Hct.from(hue, 50.0, 50.0) in generateThemeStyles() 128 hue += 60 in generateThemeStyles()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 386 final int hue = wrapDegrees(Math.round(colorToCam.get(color).getHue())); in colorToHueProportion() local 388 for (int i = hue - 15; i < hue + 15; i++) { in colorToHueProportion() 419 final int hue = wrapDegrees(Math.round(cam.getHue())); in hueProportions() local 420 proportions[hue] = proportions[hue] + ((double) population / totalPopulation); in hueProportions()
|
/frameworks/base/libs/hwui/ |
D | VectorDrawable.cpp | 592 MinMaxAverage hue, saturation, value; in computePalette() local 603 hue.add(hsv[0]); in computePalette() 615 sampledCount, hue.min(), hue.max(), hue.average(), saturation.min(), saturation.max(), in computePalette() 618 if (hue.delta() <= 20 && saturation.delta() <= .1f) { in computePalette()
|
/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.cpp | 458 MinMaxAverage hue, saturation, value; in computePalette() local 474 hue.add(hsv[0]); in computePalette() 490 sampledCount, hue.min(), hue.max(), hue.average(), saturation.min(), saturation.max(), in computePalette() 493 if (hue.delta() <= 20 && saturation.delta() <= .1f) { in computePalette()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Target.java | 211 public Builder setTargetHue(@IntRange(from = 0, to = 360) int hue) { in setTargetHue() 212 mTarget.mTargetHue = hue; in setTargetHue()
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
D | DemoModeController.java | 129 final float hue = y / (h / 360); in onTouch() local 132 final int color = Color.HSVToColor(new float[]{hue, sat, val}); in onTouch() 133 if (DEBUG) Log.d(TAG, String.format("hsv=(%s,%s,%s) argb=#%08x", hue, sat, val, color)); in onTouch()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/ |
D | RemoteComposeBuffer.java | 972 public short addColorExpression(float hue, float sat, float value) { in addColorExpression() argument 973 ColorExpression c = new ColorExpression(0, hue, sat, value); in addColorExpression() 989 public short addColorExpression(int alpha, float hue, float sat, float value) { in addColorExpression() argument 990 ColorExpression c = new ColorExpression(0, alpha, hue, sat, value); in addColorExpression()
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 443 public ColorRange(Range<Float> hue, Range<Float> saturation, Range<Float> lightness) { in ColorRange() argument 444 mHue = hue; in ColorRange()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 365 public static int CAMToColor(float hue, float chroma, float lstar) { in CAMToColor() argument 366 return Cam.getInt(hue, chroma, lstar); in CAMToColor()
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rscript | 78 // set hue
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rscript | 78 // set hue
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rscript | 78 // set hue
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rscript | 78 // set hue
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 623 SLmillidegree hue; member
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 2593 XAmillidegree hue; member
|