Lines Matching refs:color
32 * Calculates the background color for the in call window. The background color is based on the SIM
46 * determine the theme color for InCallUI.
71 colorMap.calculatePrimaryAndSecondaryColor(R.color.incall_call_spam_background_color);
72 backgroundColorTop = context.getColor(R.color.incall_background_gradient_spam_top);
73 backgroundColorMiddle = context.getColor(R.color.incall_background_gradient_spam_middle);
74 backgroundColorBottom = context.getColor(R.color.incall_background_gradient_spam_bottom);
75 backgroundColorSolid = context.getColor(R.color.incall_background_multiwindow_spam);
79 backgroundColorTop = context.getColor(R.color.incall_background_gradient_top);
80 backgroundColorMiddle = context.getColor(R.color.incall_background_gradient_middle);
81 backgroundColorBottom = context.getColor(R.color.incall_background_gradient_bottom);
82 backgroundColorSolid = context.getColor(R.color.incall_background_multiwindow);
85 // the phone account color.
139 private static int applyAlpha(@ColorInt int color, @ColorInt int sourceColorWithAlpha) {
140 return ColorUtils.setAlphaComponent(color, Color.alpha(sourceColorWithAlpha));