Home
last modified time | relevance | path

Searched refs:defaultColor (Results 1 – 9 of 9) 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.java227 int defaultColor = mContext.getResources().getColor(R.color.media_source_default_color, in getMediaSourceColor() local
229 return colors != null ? colors.getAccentColor(defaultColor) : defaultColor; in getMediaSourceColor()
/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/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/Settings/src/com/android/settings/accessibility/
DPaletteListPreference.java111 final int defaultColor = context.getColor(R.color.palette_list_gradient_background); in initPaletteAttributes() local
112 mGradientColors.add(Position.START, defaultColor); in initPaletteAttributes()
113 mGradientColors.add(Position.CENTER, defaultColor); in initPaletteAttributes()
114 mGradientColors.add(Position.END, defaultColor); in initPaletteAttributes()
/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/Car/Media/src/com/android/car/media/
DPlaybackFragment.java521 int defaultColor = res.getColor(R.color.progress_bar_highlight, null); in onViewCreated() local
526 ? sourceColors.getAccentColor(defaultColor) in onViewCreated()
527 : defaultColor; in onViewCreated()
531 setSeekBarColor(defaultColor); in onViewCreated()
/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()