Searched refs:flattenAlpha (Results 1 – 1 of 1) sorted by relevance
5392 int pillColor = Colors.flattenAlpha(getColors(p).getProtectionColor(), bgColor); in bindExpandButton()5393 int textColor = Colors.flattenAlpha(getPrimaryTextColor(p), pillColor); in bindExpandButton()5398 pillColor = Colors.flattenAlpha(getColors(p).getTertiaryAccentColor(), bgColor); in bindExpandButton()5399 textColor = Colors.flattenAlpha(getColors(p).getOnAccentTextColor(), pillColor); in bindExpandButton()12453 mTertiaryAccentColor = flattenAlpha(mPrimaryTextColor, mBackgroundColor); in resolvePalette()12531 return flattenAlpha(color, backgroundColor); in calculateContrastColor()12535 private static @ColorInt int flattenAlpha(@ColorInt int color, @ColorInt int background) { in flattenAlpha() method in Notification.Builder.Colors