/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/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/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | StaticWallpaperPreviewViewModelTest.kt | 314 assertThat(actualWallpaperColors?.primaryColor) in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences() 315 .isEqualTo(storedWallpaperColors.primaryColor) in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences() 349 assertThat(actualWallpaperColors?.primaryColor) in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors() 350 .isEqualTo(clientWallpaperColors.primaryColor) in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors() 398 assertThat(actualWallpaperColors?.primaryColor) in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors() 399 .isEqualTo(clientWallpaperColors.primaryColor) in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors() 439 assertThat(actualWallpaperColors?.primaryColor) in wallpaperColors_withNoStoredColorsAndNonNullCropHints_returnsClientWallpaperColors() 440 .isEqualTo(clientWallpaperColors.primaryColor) in wallpaperColors_withNoStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
|
/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/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | TestWallpaperPreferences.kt | 388 val primaryColor = wallpaperColors.primaryColor in storeWallpaperColors() constant 389 var value = java.lang.String(primaryColor.toArgb().toString()) as String in storeWallpaperColors()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskIconCache.java | 246 int primaryColor, boolean isInstantApp) { in getBitmapInfo() argument 248 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/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.kt | 803 val primaryColor = wallpaperColors.primaryColor in <lambda>() constant 804 var value = java.lang.String(primaryColor.toArgb().toString()) as String in <lambda>()
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | TopRow.java | 167 new ForegroundColorSpan(state.primaryColor()), in getColoredConnectionLabel()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/fragment/ |
D | UdfpsEnrollFragment.kt | 74 val color = backgroundColor?.defaultColor ?: glifLayout.primaryColor.defaultColor in <lambda>()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1989 final int primaryColor = colorFromBitmap(bitmap); in extractAndApplyTintFromPhotoViewAsynchronously() local 1990 if (primaryColor != 0) { in extractAndApplyTintFromPhotoViewAsynchronously() 1992 primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously() 1999 final int primaryColor = ((LetterTileDrawable) imageViewDrawable).getColor(); in extractAndApplyTintFromPhotoViewAsynchronously() local 2000 return mMaterialColorMapUtils.calculatePrimaryAndSecondaryColor(primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/ |
D | WallpaperClientImpl.kt | 519 placeholderColor = colors?.primaryColor?.toArgb() ?: Color.TRANSPARENT, in <lambda>()
|