Searched refs:bestIndex (Results 1 – 4 of 4) sorted by relevance
365 int bestIndex = Integer.MAX_VALUE; in computeFirstMatchIndex() local371 } else if (idx < bestIndex) { in computeFirstMatchIndex()372 bestIndex = idx; in computeFirstMatchIndex()382 } else if (idx < bestIndex) { in computeFirstMatchIndex()383 bestIndex = idx; in computeFirstMatchIndex()386 if (bestIndex == Integer.MAX_VALUE) { in computeFirstMatchIndex()390 return bestIndex; in computeFirstMatchIndex()396 int bestIndex = computeFirstMatchIndex(supportedLocales, assumeEnglishIsSupported); in computeFirstMatch() local397 return bestIndex == -1 ? null : mList[bestIndex]; in computeFirstMatch()
154 int bestIndex = 0; in getClosestMatch() local155 Font* bestFont = mFonts[bestIndex].get(); in getClosestMatch()162 bestIndex = i; in getClosestMatch()166 return FakedFont{mFonts[bestIndex], computeFakery(style, bestFont->style())}; in getClosestMatch()
629 uint8_t bestIndex = 0; in getBestFont() local639 bestIndex = run.familyMatch[i]; in getBestFont()644 bestIndex = run.familyMatch[0]; in getBestFont()646 return mFamilies[bestIndex]->getClosestMatch(style); in getBestFont()
302 int bestIndex = 0; in chooseModifier() local325 bestIndex = i; in chooseModifier()328 etc1_uint32 lowMask = (((bestIndex >> 1) << 16) | (bestIndex & 1)) in chooseModifier()