Searched refs:flattenAlpha (Results 1 – 1 of 1) sorted by relevance
5554 int pillColor = Colors.flattenAlpha(getColors(p).getProtectionColor(), bgColor); in bindExpandButton()5555 int textColor = Colors.flattenAlpha(getPrimaryTextColor(p), pillColor); in bindExpandButton()5560 pillColor = Colors.flattenAlpha(getColors(p).getTertiaryAccentColor(), bgColor); in bindExpandButton()5561 textColor = Colors.flattenAlpha(getColors(p).getOnAccentTextColor(), pillColor); in bindExpandButton()12794 mTertiaryAccentColor = flattenAlpha(mPrimaryTextColor, mBackgroundColor); in resolvePalette()12868 return flattenAlpha(color, backgroundColor); in calculateContrastColor()12872 private static @ColorInt int flattenAlpha(@ColorInt int color, @ColorInt int background) { in flattenAlpha() method in Notification.Builder.Colors