Searched refs:coloredCandidate (Results 1 – 1 of 1) sorted by relevance
182 Palette.Swatch coloredCandidate = selectVibrantCandidate(moreVibrant, vibrant); in selectForegroundColorForSwatches() local183 if (coloredCandidate == null) { in selectForegroundColorForSwatches()184 coloredCandidate = selectMutedCandidate(mutedSwatch, moreMutedSwatch); in selectForegroundColorForSwatches()186 if (coloredCandidate != null) { in selectForegroundColorForSwatches()187 if (dominantSwatch == coloredCandidate) { in selectForegroundColorForSwatches()188 return coloredCandidate.getRgb(); in selectForegroundColorForSwatches()189 } else if ((float) coloredCandidate.getPopulation() / dominantSwatch.getPopulation() in selectForegroundColorForSwatches()194 return coloredCandidate.getRgb(); in selectForegroundColorForSwatches()