/packages/apps/Contacts/src/com/android/contacts/util/ |
D | MaterialColorMapUtils.java | 42 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/ |
D | MaterialColorMapUtils.java | 89 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/ |
D | ThemeColorManager.java | 37 @ColorInt private int primaryColor; field in ThemeColorManager 94 primaryColor = palette.mPrimaryColor; in updateThemeColors() 111 return primaryColor; in getPrimaryColor()
|
D | InCallUIMaterialColorMapUtils.java | 46 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/ |
D | MaterialPalette.java | 23 public MaterialPalette(final int primaryColor, final int secondaryColor) { in MaterialPalette() argument 24 mPrimaryColor = primaryColor; in MaterialPalette()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/ |
D | MediaSourceColors.java | 50 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/ |
D | TaskIconCache.java | 226 int primaryColor, boolean isInstantApp) { in getBitmapInfo() argument 229 bif.setWrapperBackgroundColor(primaryColor); in getBitmapInfo()
|
/packages/apps/Dialer/java/com/android/bubble/ |
D | BubbleInfo.java | 64 public abstract Builder setPrimaryColor(@ColorInt int primaryColor); in setPrimaryColor() argument
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | PrimaryCallState.java | 63 public abstract @ColorInt int primaryColor(); in primaryColor() method in PrimaryCallState
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 506 int primaryColor = ta.getColor(0, 0); in bindThumbnailTile() local 511 foreground.setTint(ColorUtils.blendARGB(primaryColor, foregroundColor, .05f)); in bindThumbnailTile()
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | TopRow.java | 167 new ForegroundColorSpan(state.primaryColor()), in getColoredConnectionLabel()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1984 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()
|