Home
last modified time | relevance | path

Searched refs:defaultColor (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceColors.java59 public int getPrimaryColor(int defaultColor) { in getPrimaryColor() argument
60 return mPrimaryColor == FLAG_USE_DEFAULT_COLOR ? defaultColor : mPrimaryColor; in getPrimaryColor()
64 public int getAccentColor(int defaultColor) { in getAccentColor() argument
65 return mAccentColor == FLAG_USE_DEFAULT_COLOR ? defaultColor : mAccentColor; in getAccentColor()
72 public int getPrimaryColorDark(int defaultColor) { in getPrimaryColorDark() argument
73 return mPrimaryColorDark == FLAG_USE_DEFAULT_COLOR ? defaultColor : mPrimaryColorDark; in getPrimaryColorDark()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DControlBarHelper.java51 int defaultColor = context.getResources().getColor(R.color.minimized_progress_bar_highlight, in initProgressBar() local
57 defaultColor) in initProgressBar()
58 : defaultColor; in initProgressBar()
62 progressBar.setProgressTintList(ColorStateList.valueOf(defaultColor)); in initProgressBar()
DMediaButtonController.java220 int defaultColor = mContext.getResources().getColor(R.color.media_source_default_color, in getMediaSourceColor() local
222 return colors != null ? colors.getAccentColor(defaultColor) : defaultColor; in getMediaSourceColor()
/packages/apps/Dialer/java/com/android/dialer/lettertile/
DLetterTileDrawable.java100 private final int defaultColor; field in LetterTileDrawable
122 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()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DParameterColor.java39 public ParameterColor(int id, int defaultColor) { in ParameterColor() argument
41 Color.colorToHSV(defaultColor, mHSVO); in ParameterColor()
42 mHSVO[3] = ((defaultColor >> 24) & 0xFF) / (float) 255; in ParameterColor()
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java405 int defaultColor = res.getColor(R.color.progress_bar_highlight, null); in onCreateView() local
410 defaultColor) in onCreateView()
411 : defaultColor; in onCreateView()
416 mSeekBar.setThumbTintList(ColorStateList.valueOf(defaultColor)); in onCreateView()
417 mSeekBar.setProgressTintList(ColorStateList.valueOf(defaultColor)); in onCreateView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyDrawParams.java154 private static int selectColor(final int attrColor, final int defaultColor) { in selectColor() argument
158 return defaultColor; in selectColor()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DPhoneCallDetailsHelper.java209 int defaultColor = R.color.dialer_secondary_text_color; in setPhoneCallDetails() local
210 views.callAccountLabel.setTextColor(context.getResources().getColor(defaultColor)); in setPhoneCallDetails()