Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DMaterialColorMapUtils.java39 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() argument
40 mPrimaryColor = primaryColor; in MaterialPalette()
116 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor() local
117 final float comparedHue = hue(primaryColor); in calculatePrimaryAndSecondaryColor()
134 final int primaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors() local
138 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1796 final int primaryColor = colorFromBitmap(bitmap); in extractAndApplyTintFromPhotoViewAsynchronously() local
1797 if (primaryColor != 0) { in extractAndApplyTintFromPhotoViewAsynchronously()
1799 primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously()
1806 final int primaryColor = ((LetterTileDrawable) imageViewDrawable).getColor(); in extractAndApplyTintFromPhotoViewAsynchronously() local
1807 return mMaterialColorMapUtils.calculatePrimaryAndSecondaryColor(primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously()
1835 final int primaryColor = palette.mPrimaryColor; in setThemeColor() local
1836 mScroller.setHeaderTintColor(primaryColor); in setThemeColor()
1841 new PorterDuffColorFilter(primaryColor, PorterDuff.Mode.SRC_ATOP); in setThemeColor()
1842 mContactCard.setColorAndFilter(primaryColor, mColorFilter); in setThemeColor()
1843 mRecentCard.setColorAndFilter(primaryColor, mColorFilter); in setThemeColor()
[all …]
/packages/apps/InCallUI/src/com/android/incallui/
DInCallUIMaterialColorMapUtils.java48 final int primaryColor = resources.getColor(R.color.dialer_theme_color); in getDefaultPrimaryAndSecondaryColors() local
50 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralRS.java219 float separationDegrees, int primaryColor, int secondaryColor) { in generateSpiral() argument
227 Float4 primary = convertColor(primaryColor); in generateSpiral()