Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java317 int bgAlpha = Color.alpha(background); in compositeColors() local
319 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()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java281 int bgAlpha = Color.alpha(background); in mixSrcOver() local
291 return Color.argb(fgAlpha + (255 - fgAlpha) * bgAlpha / 255, in mixSrcOver()