Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java44 float fgR = Color.red(fg) / 255f; in computeContrastBetweenColors() local
47 fgR = (fgR < 0.03928f) ? fgR / 12.92f : (float) Math.pow((fgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
50 float fgL = 0.2126f * fgR + 0.7152f * fgG + 0.0722f * fgB; in computeContrastBetweenColors()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java321 float fgR = Color.red(fg) / 255f; in computeContrastBetweenColors() local
324 fgR = (fgR < 0.03928f) ? fgR / 12.92f : (float) Math.pow((fgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
327 float fgL = 0.2126f * fgR + 0.7152f * fgG + 0.0722f * fgB; in computeContrastBetweenColors()