Searched refs:getHsl (Results 1 – 3 of 3) sorted by relevance
133 if (!isWhiteOrBlack(backgroundSwatch.getHsl())) { in processNotification()134 final float backgroundHue = backgroundSwatch.getHsl()[0]; in processNotification()185 && dominantSwatch.getHsl()[1] > MIN_SATURATION_WHEN_DECIDING) { in selectForegroundColorForSwatches()202 float firstSaturation = first.getHsl()[1]; in selectMutedCandidate()203 float secondSaturation = second.getHsl()[1]; in selectMutedCandidate()267 if (!isWhiteOrBlack(dominantSwatch.getHsl())) { in findBackgroundSwatch()277 && !isWhiteOrBlack(swatch.getHsl())) { in findBackgroundSwatch()
392 final float hsl[] = swatch.getHsl(); in shouldBeScoredForTarget()399 final float[] hsl = swatch.getHsl(); in generateScore()438 System.arraycopy(color.getHsl(), 0, newHsl, 0, 3); in copyHslValues()492 public float[] getHsl() { in getHsl() method in Palette.Swatch572 .append(" [HSL: ").append(Arrays.toString(getHsl())).append(']') in toString()
457 return shouldIgnoreColor(color.getRgb(), color.getHsl()); in shouldIgnoreColor()