Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotification.java6059 int pillColor = Colors.flattenAlpha(getColors(p).getProtectionColor(), bgColor); in bindExpandButton()
6060 int textColor = Colors.flattenAlpha(getPrimaryTextColor(p), pillColor); in bindExpandButton()
6065 pillColor = Colors.flattenAlpha( in bindExpandButton()
6067 textColor = Colors.flattenAlpha( in bindExpandButton()
13731 mTertiaryAccentColor = flattenAlpha(mPrimaryTextColor, mBackgroundColor); in resolvePalette()
13819 return flattenAlpha(color, backgroundColor); in calculateContrastColor()
13823 private static @ColorInt int flattenAlpha(@ColorInt int color, @ColorInt int background) { in flattenAlpha() method in Notification.Builder.Colors