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