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(Map.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()
183 FontInfo font = mFonts.get(i); in getFont()
[all …]
DPaint_Delegate.java62 /*package*/ static final class FontInfo { class in Paint_Delegate
75 private List<FontInfo> mFonts;
118 public List<FontInfo> getFonts() { in getFonts()
1272 ArrayList<FontInfo> infoList = new ArrayList<FontInfo>(nFonts); in updateFontObject()
1282 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()