Searched defs:getRgb (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/palette/src/main/java/androidx/palette/graphics/
H A DPalette.java327 return swatch != null ? swatch.getRgb() : defaultColor;
349 return mDominantSwatch != null ? mDominantSwatch.getRgb() : defaultColor;
369 mUsedColors.append(maxScoreSwatch.getRgb(), true);
397 && !mUsedColors.get(swatch.getRgb());
441 * by calling {@link #getRgb()}.
479 public int getRgb() { method in class:Palette.Swatch
569 .append(" [RGB: #").append(Integer.toHexString(getRgb())).append(']')
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DPalette.java327 return swatch != null ? swatch.getRgb() : defaultColor;
349 return mDominantSwatch != null ? mDominantSwatch.getRgb() : defaultColor;
368 mUsedColors.append(maxScoreSwatch.getRgb(), true);
395 && !mUsedColors.get(swatch.getRgb());
444 * by calling {@link #getRgb()}.
482 public int getRgb() { method in class:Palette.Swatch
571 .append(" [RGB: #").append(Integer.toHexString(getRgb())).append(']')

Completed in 80 milliseconds