Searched refs:sPrimaryColors (Results 1 – 2 of 2) sorted by relevance
27 private final TypedArray sPrimaryColors; field in MaterialColorMapUtils31 sPrimaryColors = in MaterialColorMapUtils()88 for (int i = 0; i < sPrimaryColors.length(); i++) { in calculatePrimaryAndSecondaryColor()89 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor()103 sPrimaryColors.getColor(indexBestMatch, 0), sSecondaryColors.getColor(indexBestMatch, 0)); in calculatePrimaryAndSecondaryColor()
31 private final TypedArray sPrimaryColors; field in MaterialColorMapUtils35 sPrimaryColors = resources.obtainTypedArray( in MaterialColorMapUtils()118 for (int i = 0; i < sPrimaryColors.length(); i++) { in calculatePrimaryAndSecondaryColor()119 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor()132 return new MaterialPalette(sPrimaryColors.getColor(indexBestMatch, 0), in calculatePrimaryAndSecondaryColor()