Home
last modified time | relevance | path

Searched refs:sPrimaryColors (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java27 private final TypedArray sPrimaryColors; field in MaterialColorMapUtils
31 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()
/packages/apps/Contacts/src/com/android/contacts/util/
DMaterialColorMapUtils.java31 private final TypedArray sPrimaryColors; field in MaterialColorMapUtils
35 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()