Searched refs:backgroundAlpha (Results 1 – 3 of 3) sorted by relevance
110 float backgroundAlpha = mContext.getResources().getFloat( in showShutdownUi()112 background.setAlpha((int) (backgroundAlpha * 255)); in showShutdownUi()
63 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument64 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()
660 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument661 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()