Home
last modified time | relevance | path

Searched refs:primaryColor (Results 1 – 15 of 15) 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/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/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModelTest.kt314 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/
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/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPreferences.kt388 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/
DTaskIconCache.java246 int primaryColor, boolean isInstantApp) { in getBitmapInfo() argument
248 bif.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/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java63 public abstract @ColorInt int primaryColor(); in primaryColor() method in PrimaryCallState
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.kt803 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/
DTopRow.java167 new ForegroundColorSpan(state.primaryColor()), in getColoredConnectionLabel()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/fragment/
DUdfpsEnrollFragment.kt74 val color = backgroundColor?.defaultColor ?: glifLayout.primaryColor.defaultColor in <lambda>()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1989 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/
DWallpaperClientImpl.kt519 placeholderColor = colors?.primaryColor?.toArgb() ?: Color.TRANSPARENT, in <lambda>()