Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java49 int bgAlpha = Color.alpha(background); in compositeColors() local
51 int a = compositeAlpha(fgAlpha, bgAlpha); in compositeColors()
54 Color.red(background), bgAlpha, a); in compositeColors()
56 Color.green(background), bgAlpha, a); in compositeColors()
58 Color.blue(background), bgAlpha, a); in compositeColors()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java646 int bgAlpha = Color.alpha(background); in compositeColors() local
648 int a = compositeAlpha(fgAlpha, bgAlpha); in compositeColors()
651 Color.red(background), bgAlpha, a); in compositeColors()
653 Color.green(background), bgAlpha, a); in compositeColors()
655 Color.blue(background), bgAlpha, a); in compositeColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java571 float bgAlpha = isChildInGroup() && mDimmed ? transformationAmount : 1f; in updateBackgroundAlpha() local
573 bgAlpha *= mDimmedBackgroundFadeInAmount; in updateBackgroundAlpha()
575 mBackgroundDimmed.setAlpha(bgAlpha); in updateBackgroundAlpha()