Searched refs:bestIndex (Results 1 – 4 of 4) sorted by relevance
395 int bestIndex = Integer.MAX_VALUE; in computeFirstMatchIndex() local401 } else if (idx < bestIndex) { in computeFirstMatchIndex()402 bestIndex = idx; in computeFirstMatchIndex()412 } else if (idx < bestIndex) { in computeFirstMatchIndex()413 bestIndex = idx; in computeFirstMatchIndex()416 if (bestIndex == Integer.MAX_VALUE) { in computeFirstMatchIndex()420 return bestIndex; in computeFirstMatchIndex()426 int bestIndex = computeFirstMatchIndex(supportedLocales, assumeEnglishIsSupported); in computeFirstMatch() local427 return bestIndex == -1 ? null : mList[bestIndex]; in computeFirstMatch()
309 int bestIndex = 0; in getClosestMatch() local310 Font* bestFont = mFonts[bestIndex].get(); in getClosestMatch()317 bestIndex = i; in getClosestMatch()321 return FakedFont{mFonts[bestIndex], computeFakery(style, bestFont->style())}; in getClosestMatch()
865 uint8_t bestIndex = 0; in getBestFont() local876 bestIndex = run.familyMatch[i]; in getBestFont()881 bestIndex = run.familyMatch[0]; in getBestFont()883 return getFamilyAt(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()