Home
last modified time | relevance | path

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

/frameworks/support/core-utils/java/android/support/v4/graphics/
DColorUtils.java179 final float deltaMaxMin = max - min; in RGBToHSL() local
189 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()
191 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()
193 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()
196 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java223 final float deltaMaxMin = max - min; in RGBToHSL() local
233 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()
235 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()
237 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()
240 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java1025 final float deltaMaxMin = max - min; in RGBToHSL() local
1035 h = ((gf - bf) / deltaMaxMin) % 6f; in RGBToHSL()
1037 h = ((bf - rf) / deltaMaxMin) + 2f; in RGBToHSL()
1039 h = ((rf - gf) / deltaMaxMin) + 4f; in RGBToHSL()
1042 s = deltaMaxMin / (1f - Math.abs(2f * l - 1f)); in RGBToHSL()