Lines Matching refs:color
42 final int primaryColor = resources.getColor(R.color.dialer_theme_color);
43 final int secondaryColor = resources.getColor(R.color.dialer_theme_color_dark);
48 * Currently the InCallUI color will only vary by SIM color which is a list of colors defined in
49 * the background_colors array, so first search the list for the matching color and fall back to
50 * the closest matching color if an exact match does not exist.
53 public MaterialPalette calculatePrimaryAndSecondaryColor(int color) {
54 if (color == PhoneAccount.NO_HIGHLIGHT_COLOR) {
59 if (mPrimaryColors.getColor(i, 0) == color) {
64 // The color isn't in the list, so use the superclass to find an approximate color.
65 return super.calculatePrimaryAndSecondaryColor(color);