Searched refs:bestFont (Results 1 – 6 of 6) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BidiRenderer.java | 172 Font bestFont = null; in renderScript() local 193 bestFont = font; in renderScript() 197 bestFont = font; in renderScript() 203 if (bestFont != null) { in renderScript() 204 render(start, highestUpTo, bestFont, flag, advances, advancesIndex, draw); in renderScript() 344 Font bestFont = fonts.get(0).mFont; in getScriptFont() local 355 bestFont = fontInfo.mFont; in getScriptFont() 359 return bestFont; in getScriptFont()
|
D | FontFamily_Delegate.java | 212 FontInfo bestFont = null; in getFont() local 216 bestFont = mFonts.keySet().iterator().next(); in getFont() 224 bestFont = font; in getFont() 232 if (bestFont == null) { in getFont() 238 deriveFont(bestFont, desiredStyle); in getFont()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 136 FontInfo bestFont = null; 140 bestFont = mFonts.keySet().iterator().next(); 148 bestFont = font; 156 if (bestFont == null) { 162 deriveFont(bestFont, desiredStyle);
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 155 Font* bestFont = mFonts[bestIndex].get(); in getClosestMatch() local 156 int bestMatch = computeMatch(bestFont->style(), style); in getClosestMatch() 161 bestFont = font; in getClosestMatch() 166 return FakedFont{mFonts[bestIndex], computeFakery(style, bestFont->style())}; in getClosestMatch()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 703 Font bestFont = family.getFont(0); in buildTypeface() local 704 int bestScore = normal.getMatchScore(bestFont.getStyle()); in buildTypeface() 709 bestFont = candidate; in buildTypeface() 713 return new Typeface.CustomFallbackBuilder(family).setStyle(bestFont.getStyle()).build(); in buildTypeface()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 355 Font bestFont = family.getFont(0); in createFromResources() local 356 int bestScore = normal.getMatchScore(bestFont.getStyle()); in createFromResources() 361 bestFont = candidate; in createFromResources() 366 .setStyle(bestFont.getStyle()) in createFromResources()
|