Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DFontFamily.cpp134 static int computeMatch(FontStyle style1, FontStyle style2) { in computeMatch() argument
135 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()