Searched refs:bgR (Results 1 – 2 of 2) sorted by relevance
36 float bgR = Color.red(bg) / 255f; in computeContrastBetweenColors() local39 bgR = (bgR < 0.03928f) ? bgR / 12.92f : (float) Math.pow((bgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()42 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in computeContrastBetweenColors()
313 float bgR = Color.red(bg) / 255f; in computeContrastBetweenColors() local316 bgR = (bgR < 0.03928f) ? bgR / 12.92f : (float) Math.pow((bgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()319 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in computeContrastBetweenColors()