Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java73 private static final Map<String, FontInfo> sCache =
74 new LinkedHashMap<String, FontInfo>(CACHE_SIZE) {
76 protected boolean removeEldestEntry(Entry<String, FontInfo> eldest) {
81 public FontInfo put(String key, FontInfo value) {
83 FontInfo removed = remove(key);
92 private static final class FontInfo { class in FontFamily_Delegate
111 private List<FontInfo> mFonts = new ArrayList<FontInfo>();
176 FontInfo desiredStyle = new FontInfo(); in getFont()
179 FontInfo bestFont = null; in getFont()
181 for (FontInfo font : mFonts) { in getFont()
[all …]
DPaint_Delegate.java60 /*package*/ static final class FontInfo { class in Paint_Delegate
72 private List<FontInfo> mFonts;
115 public List<FontInfo> getFonts() { in getFonts()
1269 ArrayList<FontInfo> infoList = new ArrayList<FontInfo>(fonts.size()); in updateFontObject()
1277 FontInfo info = new FontInfo(); in updateFontObject()
DBidiRenderer.java22 import android.graphics.Paint_Delegate.FontInfo;
81 for (FontInfo fontInfo : paint.getFonts()) { in BidiRenderer()
/frameworks/base/tools/layoutlib/rename_font/
Dbuild_font_single.py41 class FontInfo(object): class
135 font = FontInfo()
Dbuild_font.py43 class FontInfo(object): class
151 font = FontInfo()