Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java42 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in computeContrastBetweenColors() local
52 return Math.abs((fgL + 0.05f) / (bgL + 0.05f)); in computeContrastBetweenColors()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java319 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in computeContrastBetweenColors() local
329 return Math.abs((fgL + 0.05f) / (bgL + 0.05f)); in computeContrastBetweenColors()