Home
last modified time | relevance | path

Searched refs:primaryColor (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
DMaterialColorMapUtils.java42 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() argument
43 mPrimaryColor = primaryColor; in MaterialPalette()
119 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor() local
120 final float comparedHue = hue(primaryColor); in calculatePrimaryAndSecondaryColor()
137 final int primaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors() local
141 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java89 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor() local
90 final float comparedHue = hue(primaryColor); in calculatePrimaryAndSecondaryColor()
123 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() argument
124 mPrimaryColor = primaryColor; in MaterialPalette()
/packages/apps/Dialer/java/com/android/incallui/
DThemeColorManager.java37 @ColorInt private int primaryColor; field in ThemeColorManager
94 primaryColor = palette.mPrimaryColor; in updateThemeColors()
111 return primaryColor; in getPrimaryColor()
DInCallUIMaterialColorMapUtils.java46 final int primaryColor = ThemeComponent.get(context).theme().getColorPrimary(); in getDefaultPrimaryAndSecondaryColors() local
48 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
/packages/apps/Messaging/src/com/android/messaging/util/
DMaterialPalette.java23 public MaterialPalette(final int primaryColor, final int secondaryColor) { in MaterialPalette() argument
24 mPrimaryColor = primaryColor; in MaterialPalette()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperColorsCompat.java31 public WallpaperColorsCompat(int primaryColor, int secondaryColor, int tertiaryColor, in WallpaperColorsCompat() argument
33 mPrimaryColor = primaryColor; in WallpaperColorsCompat()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceColors.java50 public MediaSourceColors(int primaryColor, int accentColor, int primaryColorDark) { in MediaSourceColors() argument
51 this.mPrimaryColor = primaryColor; in MediaSourceColors()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DNormalizedIconLoader.java76 int primaryColor, boolean isInstantApp) { in getBitmapInfo() argument
81 la.setWrapperBackgroundColor(primaryColor); in getBitmapInfo()
/packages/apps/Dialer/java/com/android/bubble/
DBubbleInfo.java64 public abstract Builder setPrimaryColor(@ColorInt int primaryColor); in setPrimaryColor() argument
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java450 int primaryColor = ta.getColor(0, 0); in bindThumbnailTile() local
454 foreground.setTint(ColorUtils.blendARGB(primaryColor, foregroundColor, .05f)); in bindThumbnailTile()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java63 public abstract @ColorInt int primaryColor(); in primaryColor() method in PrimaryCallState
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1984 final int primaryColor = colorFromBitmap(bitmap); in extractAndApplyTintFromPhotoViewAsynchronously() local
1985 if (primaryColor != 0) { in extractAndApplyTintFromPhotoViewAsynchronously()
1987 primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously()
1994 final int primaryColor = ((LetterTileDrawable) imageViewDrawable).getColor(); in extractAndApplyTintFromPhotoViewAsynchronously() local
1995 return mMaterialColorMapUtils.calculatePrimaryAndSecondaryColor(primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java165 new ForegroundColorSpan(state.primaryColor()), in getColoredConnectionLabel()