Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java331 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument
332 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()