Home
last modified time | relevance | path

Searched refs:FontFamily_Delegate (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java23 import android.graphics.FontFamily_Delegate.FontVariant;
32 import static android.graphics.FontFamily_Delegate.getFontLocation;
59 private final FontFamily_Delegate[] mFontFamilies; // the reference to FontFamily_Delegate.
89 …int weight = mWeight + ((mStyle & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA… in getFonts()
96 FontFamily_Delegate ffd = mFontFamilies[i]; in getFonts()
109 FontFamily_Delegate ffd2 = mFontFamilies[++i]; in getFonts()
139 if (FontFamily_Delegate.getFontLocation() != null) {
177 FontFamily_Delegate[] fontFamilies = new FontFamily_Delegate[familyArray.length];
179 fontFamilies[i] = FontFamily_Delegate.getDelegate(familyArray[i]);
215 FontFamily_Delegate.addFont(fontFamily.mNativePtr, font.fontName, font.weight,
[all …]
DFontFamily_Delegate.java60 public class FontFamily_Delegate { class
100 private static final DelegateManager<FontFamily_Delegate> sManager =
101 new DelegateManager<FontFamily_Delegate>(FontFamily_Delegate.class);
105 private static final List<FontFamily_Delegate> sPostInitDelegate = new
106 ArrayList<FontFamily_Delegate>();
137 public static FontFamily_Delegate getDelegate(long nativeFontFamily) { in getDelegate()
168 for (FontFamily_Delegate fontFamily : sPostInitDelegate) { in setFontLocation()
251 final FontFamily_Delegate delegate = getDelegate(thisFontFamily.mNativePtr); in addFont()
260 FontFamily_Delegate delegate = new FontFamily_Delegate(); in nCreateFamily()
295 final FontFamily_Delegate delegate = getDelegate(nativeFamily);
[all …]
DPaint_Delegate.java26 import android.graphics.FontFamily_Delegate.FontVariant;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java40 import android.graphics.FontFamily_Delegate;
247 FontFamily_Delegate.setFontLocation(fontLocation.getAbsolutePath()); in init()