Searched refs:getRgb (Results 1 – 5 of 5) sorted by relevance
126 backgroundColor = backgroundSwatch.getRgb(); in processNotification()182 return coloredCandidate.getRgb(); in selectForegroundColorForSwatches()186 return dominantSwatch.getRgb(); in selectForegroundColorForSwatches()188 return coloredCandidate.getRgb(); in selectForegroundColorForSwatches()191 return dominantSwatch.getRgb(); in selectForegroundColorForSwatches()
327 return swatch != null ? swatch.getRgb() : defaultColor; in getColorForTarget()349 return mDominantSwatch != null ? mDominantSwatch.getRgb() : defaultColor; in getDominantColor()368 mUsedColors.append(maxScoreSwatch.getRgb(), true); in generateScoredTarget()395 && !mUsedColors.get(swatch.getRgb()); in shouldBeScoredForTarget()482 public int getRgb() { in getRgb() method in Palette.Swatch571 .append(" [RGB: #").append(Integer.toHexString(getRgb())).append(']') in toString()
457 return shouldIgnoreColor(color.getRgb(), color.getHsl()); in shouldIgnoreColor()
136 assertCloseColors(swatch.getRgb(), Color.WHITE); in findBackgroundSwatch_white()148 assertCloseColors(swatch.getRgb(), Color.RED); in findBackgroundSwatch_red()
187 Color color = Color.valueOf(swatches.get(i).getRgb()); in fromBitmap()