Searched refs:defaultColor (Results 1 – 8 of 8) sorted by relevance
59 public int getPrimaryColor(int defaultColor) { in getPrimaryColor() argument60 return mPrimaryColor == FLAG_USE_DEFAULT_COLOR ? defaultColor : mPrimaryColor; in getPrimaryColor()64 public int getAccentColor(int defaultColor) { in getAccentColor() argument65 return mAccentColor == FLAG_USE_DEFAULT_COLOR ? defaultColor : mAccentColor; in getAccentColor()72 public int getPrimaryColorDark(int defaultColor) { in getPrimaryColorDark() argument73 return mPrimaryColorDark == FLAG_USE_DEFAULT_COLOR ? defaultColor : mPrimaryColorDark; in getPrimaryColorDark()
51 int defaultColor = context.getResources().getColor(R.color.minimized_progress_bar_highlight, in initProgressBar() local57 defaultColor) in initProgressBar()58 : defaultColor; in initProgressBar()62 progressBar.setProgressTintList(ColorStateList.valueOf(defaultColor)); in initProgressBar()
219 int defaultColor = mContext.getResources().getColor(R.color.media_source_default_color, in getMediaSourceColor() local221 return colors != null ? colors.getAccentColor(defaultColor) : defaultColor; in getMediaSourceColor()
100 private final int defaultColor; field in LetterTileDrawable122 defaultColor = res.getColor(R.color.letter_tile_default_color); in LetterTileDrawable()137 color = defaultColor; in LetterTileDrawable()264 return defaultColor; in pickColor()271 return colors.getColor(color, defaultColor); in pickColor()
39 public ParameterColor(int id, int defaultColor) { in ParameterColor() argument41 Color.colorToHSV(defaultColor, mHSVO); in ParameterColor()42 mHSVO[3] = ((defaultColor >> 24) & 0xFF) / (float) 255; in ParameterColor()
385 int defaultColor = res.getColor(R.color.progress_bar_highlight, null); in onCreateView() local390 defaultColor) in onCreateView()391 : defaultColor; in onCreateView()396 mSeekBar.setThumbTintList(ColorStateList.valueOf(defaultColor)); in onCreateView()397 mSeekBar.setProgressTintList(ColorStateList.valueOf(defaultColor)); in onCreateView()
154 private static int selectColor(final int attrColor, final int defaultColor) { in selectColor() argument158 return defaultColor; in selectColor()
209 int defaultColor = R.color.dialer_secondary_text_color; in setPhoneCallDetails() local210 views.callAccountLabel.setTextColor(context.getResources().getColor(defaultColor)); in setPhoneCallDetails()