Searched refs:style1 (Results 1 – 1 of 1) sorted by relevance
134 static int computeMatch(FontStyle style1, FontStyle style2) { in computeMatch() argument135 if (style1 == style2) return 0; in computeMatch()136 int score = abs(style1.weight() / 100 - style2.weight() / 100); in computeMatch()137 if (style1.slant() != style2.slant()) { in computeMatch()