Searched refs:fgAlpha (Results 1 – 1 of 1) sorted by relevance
219 int fgAlpha = Color.alpha(foreground); in mixSrcOver() local224 return Color.argb(fgAlpha + (255 - fgAlpha) * bgAlpha / 255, in mixSrcOver()225 fgRed + (255 - fgAlpha) * bgRed / 255, in mixSrcOver()226 fgGreen + (255 - fgAlpha) * bgGreen / 255, in mixSrcOver()227 fgBlue + (255 - fgAlpha) * bgBlue / 255); in mixSrcOver()