Searched refs:primaryColor (Results 1 – 4 of 4) sorted by relevance
39 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() argument40 mPrimaryColor = primaryColor; in MaterialPalette()116 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor() local117 final float comparedHue = hue(primaryColor); in calculatePrimaryAndSecondaryColor()134 final int primaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors() local138 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
1796 final int primaryColor = colorFromBitmap(bitmap); in extractAndApplyTintFromPhotoViewAsynchronously() local1797 if (primaryColor != 0) { in extractAndApplyTintFromPhotoViewAsynchronously()1799 primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously()1806 final int primaryColor = ((LetterTileDrawable) imageViewDrawable).getColor(); in extractAndApplyTintFromPhotoViewAsynchronously() local1807 return mMaterialColorMapUtils.calculatePrimaryAndSecondaryColor(primaryColor); in extractAndApplyTintFromPhotoViewAsynchronously()1835 final int primaryColor = palette.mPrimaryColor; in setThemeColor() local1836 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 …]
48 final int primaryColor = resources.getColor(R.color.dialer_theme_color); in getDefaultPrimaryAndSecondaryColors() local50 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
219 float separationDegrees, int primaryColor, int secondaryColor) { in generateSpiral() argument227 Float4 primary = convertColor(primaryColor); in generateSpiral()