Home
last modified time | relevance | path

Searched refs:secondaryColor (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
DMaterialColorMapUtils.java42 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() argument
44 mSecondaryColor = secondaryColor; in MaterialPalette()
139 final int secondaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors() local
141 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
25 mSecondaryColor = secondaryColor; in MaterialPalette()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModelTest.kt316 assertThat(actualWallpaperColors?.secondaryColor) in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
317 .isEqualTo(storedWallpaperColors.secondaryColor) in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
351 assertThat(actualWallpaperColors?.secondaryColor) in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
352 .isEqualTo(clientWallpaperColors.secondaryColor) in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
400 assertThat(actualWallpaperColors?.secondaryColor) in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
401 .isEqualTo(clientWallpaperColors.secondaryColor) in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
441 assertThat(actualWallpaperColors?.secondaryColor) in wallpaperColors_withNoStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
442 .isEqualTo(clientWallpaperColors.secondaryColor) in wallpaperColors_withNoStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
/packages/apps/Dialer/java/com/android/incallui/
DThemeColorManager.java38 @ColorInt private int secondaryColor; field in ThemeColorManager
95 secondaryColor = palette.mSecondaryColor; in updateThemeColors()
116 return secondaryColor; in getSecondaryColor()
DInCallUIMaterialColorMapUtils.java47 final int secondaryColor = ThemeComponent.get(context).theme().getColorPrimaryDark(); in getDefaultPrimaryAndSecondaryColors() local
48 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPreferences.kt390 val secondaryColor = wallpaperColors.secondaryColor in storeWallpaperColors() constant
391 if (secondaryColor != null) { in storeWallpaperColors()
392 value += "," + secondaryColor.toArgb() in storeWallpaperColors()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java123 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() argument
125 mSecondaryColor = secondaryColor; in MaterialPalette()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.kt805 val secondaryColor = wallpaperColors.secondaryColor in <lambda>() constant
806 if (secondaryColor != null) { in <lambda>()
807 value += "," + secondaryColor.toArgb() in <lambda>()