Home
last modified time | relevance | path

Searched refs:getHsl (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java133 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()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java392 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.Swatch
572 .append(" [HSL: ").append(Arrays.toString(getHsl())).append(']') in toString()
DColorCutQuantizer.java457 return shouldIgnoreColor(color.getRgb(), color.getHsl()); in shouldIgnoreColor()