Searched refs:FontInfo (Results 1 – 10 of 10) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 80 private static final Map<String, FontInfo> sCache = 81 new LinkedHashMap<String, FontInfo>(CACHE_SIZE) { 83 protected boolean removeEldestEntry(Map.Entry<String, FontInfo> eldest) { 88 public FontInfo put(String key, FontInfo value) { 90 FontInfo removed = remove(key); 99 public static final class FontInfo { class in FontFamily_Delegate 113 FontInfo fontInfo = (FontInfo) o; in equals() 144 private Map<FontInfo, Font> mFonts = new LinkedHashMap<>(); 209 FontInfo desiredStyle = new FontInfo(); in getFont() 218 FontInfo bestFont = null; in getFont() [all …]
|
D | BidiRenderer.java | 24 import android.graphics.Paint_Delegate.FontInfo; 171 List<FontInfo> fontInfos = mPaint.getFonts(); in renderScript() 317 …private static List<ScriptRun> getScriptRuns(char[] text, int start, int limit, List<FontInfo> fon… in getScriptRuns() 335 private static Font getScriptFont(char[] text, int start, int limit, List<FontInfo> fonts) { in getScriptFont() 345 for (FontInfo fontInfo : fonts) { in getScriptFont()
|
D | Paint_Delegate.java | 67 /*package*/ static final class FontInfo { class in Paint_Delegate 71 FontInfo(@NonNull Font font, @NonNull java.awt.FontMetrics fontMetrics) { in FontInfo() method in Paint_Delegate.FontInfo 86 private List<FontInfo> mFonts; 129 public List<FontInfo> getFonts() { in getFonts() 148 List<FontInfo> infoList = StreamSupport.stream(typeface.getFonts(mFontVariant).spliterator in getFonts() 572 List<FontInfo> fonts = delegate.getFonts(); in nAscent() 590 List<FontInfo> fonts = delegate.getFonts(); in nDescent() 620 List<FontInfo> fonts = delegate.getFonts(); in nGetFontMetricsInt() 1308 private static FontInfo getFontInfo(@Nullable Font font, float textSize, in getFontInfo() 1321 return new FontInfo(transformedFont, in getFontInfo() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 26 import android.graphics.FontFamily_Delegate.FontInfo; 61 private Map<FontInfo, Font> mFonts = new LinkedHashMap<>(); 116 FontInfo desiredStyle = new FontInfo(); 125 FontInfo bestFont = null; 133 for (FontInfo font : mFonts.keySet()) { 172 FontInfo fontInfo = new FontInfo(); 179 private void addFont(@NonNull FontInfo fontInfo) {
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 37 import android.provider.FontsContract.FontInfo; 78 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultOK() 82 FontInfo font = fonts[0]; in testGetFontFromProvider_resultOK() 97 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_providerDoesntReturnAllFields() 101 FontInfo font = fonts[0]; in testGetFontFromProvider_providerDoesntReturnAllFields() 113 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultFontNotFound() 117 FontInfo font = fonts[0]; in testGetFontFromProvider_resultFontNotFound() 126 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultFontUnavailable() 131 FontInfo font = fonts[0]; in testGetFontFromProvider_resultFontUnavailable() 146 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultMalformedQuery() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 178 public static class FontInfo { class in FontsContract 196 public FontInfo(@NonNull Uri uri, @IntRange(from = 0) int ttcIndex, in FontInfo() method in FontsContract.FontInfo 292 private final FontInfo[] mFonts; 295 public FontFamilyResult(@FontResultStatus int statusCode, @Nullable FontInfo[] fonts) { in FontFamilyResult() 304 public @NonNull FontInfo[] getFonts() { in getFonts() 540 final FontInfo[] fonts = result.getFonts(); in requestFonts() 546 for (final FontInfo font : fonts) { in requestFonts() 605 FontInfo[] fonts = getFontFromProvider( in fetchFonts() 626 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts) { in buildTypeface() 638 for (FontInfo fontInfo : fonts) { in buildTypeface() [all …]
|
/frameworks/layoutlib/rename_font/ |
D | build_font_single.py | 41 class FontInfo(object): class 135 font = FontInfo()
|
D | build_font.py | 43 class FontInfo(object): class 151 font = FontInfo()
|
/frameworks/base/config/ |
D | preloaded-classes | 3008 android.provider.FontsContract$FontInfo
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |