Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java110 float backgroundAlpha = mContext.getResources().getFloat( in showShutdownUi()
112 background.setAlpha((int) (backgroundAlpha * 255)); in showShutdownUi()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java63 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument
64 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java660 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument
661 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()