HomeSort by relevance Sort by last modified time
    Searched refs:approximateToRgb888 (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/java/com/android/internal/graphics/palette/
ColorCutQuantizer.java 142 mQuantizedColors.add(new Swatch(approximateToRgb888(color), hist[color]));
413 return new Swatch(approximateToRgb888(redMean, greenMean, blueMean), totalPopulation);
451 final int rgb = approximateToRgb888(color565);
494 static int approximateToRgb888(int r, int g, int b) {
500 private static int approximateToRgb888(int color) {
501 return approximateToRgb888(quantizedRed(color), quantizedGreen(color), quantizedBlue(color));
  /frameworks/support/palette/src/main/java/androidx/palette/graphics/
ColorCutQuantizer.java 124 mQuantizedColors.add(new Palette.Swatch(approximateToRgb888(color), hist[color]));
396 return new Palette.Swatch(approximateToRgb888(redMean, greenMean, blueMean), totalPopulation);
434 final int rgb = approximateToRgb888(color565);
477 static int approximateToRgb888(int r, int g, int b) {
483 private static int approximateToRgb888(int color) {
484 return approximateToRgb888(quantizedRed(color), quantizedGreen(color), quantizedBlue(color));

Completed in 78 milliseconds