Home
last modified time | relevance | path

Searched refs:hslColor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java988 private boolean isBlack(float[] hslColor) {
989 return hslColor[2] <= BLACK_MAX_LIGHTNESS;
995 private boolean isWhite(float[] hslColor) {
996 return hslColor[2] >= WHITE_MIN_LIGHTNESS;
1002 private boolean isNearRedILine(float[] hslColor) {
1003 return hslColor[0] >= 10f && hslColor[0] <= 37f && hslColor[1] <= 0.82f;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java320 private static boolean isBlack(float[] hslColor) { in isBlack() argument
321 return hslColor[2] <= BLACK_MAX_LIGHTNESS; in isBlack()
327 private static boolean isWhite(float[] hslColor) { in isWhite() argument
328 return hslColor[2] >= WHITE_MIN_LIGHTNESS; in isWhite()