Searched refs:bgAlpha (Results 1 – 2 of 2) sorted by relevance
317 int bgAlpha = Color.alpha(background); in compositeColors() local319 int a = compositeAlpha(fgAlpha, bgAlpha); in compositeColors()322 Color.red(background), bgAlpha, a); in compositeColors()324 Color.green(background), bgAlpha, a); in compositeColors()326 Color.blue(background), bgAlpha, a); in compositeColors()
281 int bgAlpha = Color.alpha(background); in mixSrcOver() local291 return Color.argb(fgAlpha + (255 - fgAlpha) * bgAlpha / 255, in mixSrcOver()