Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java38 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors() local
41 bgB = (bgB < 0.03928f) ? bgB / 12.92f : (float) Math.pow((bgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
42 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in computeContrastBetweenColors()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java315 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors() local
318 bgB = (bgB < 0.03928f) ? bgB / 12.92f : (float) Math.pow((bgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
319 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in computeContrastBetweenColors()