Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java36 import android.graphics.FontFamily_Delegate.FontVariant;
57 import static android.graphics.FontFamily_Delegate.getFontLocation;
83 private final FontFamily_Delegate[] mFontFamilies; // the reference to FontFamily_Delegate.
92 public Typeface_Delegate(@NonNull FontFamily_Delegate[] fontFamilies, int style, int weight) { in Typeface_Delegate()
108 if (FontFamily_Delegate.getFontLocation() != null) { in resetDefaults()
182 FontFamily_Delegate[] fontFamilies = new FontFamily_Delegate[familyArray.length]; in nativeCreateFromArray()
184 fontFamilies[i] = FontFamily_Delegate.getDelegate(familyArray[i]); in nativeCreateFromArray()
240 FontFamily_Delegate.addFont(fontFamily.mBuilderPtr, fullPathName, font.getWeight(), in createFontFamily()
329 private static List<Font> computeFonts(FontVariant variant, FontFamily_Delegate[] fontFamilies, in computeFonts()
333 ((inputStyle & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA); in computeFonts()
[all …]
DFontFamily_Delegate.java63 public class FontFamily_Delegate { class
125 private static final DelegateManager<FontFamily_Delegate> sManager =
126 new DelegateManager<FontFamily_Delegate>(FontFamily_Delegate.class);
130 private static final List<FontFamily_Delegate> sPostInitDelegate = new
131 ArrayList<FontFamily_Delegate>();
165 public static FontFamily_Delegate getDelegate(long nativeFontFamily) { in getDelegate()
196 for (FontFamily_Delegate fontFamily : sPostInitDelegate) { in setFontLocation()
299 final FontFamily_Delegate delegate = getDelegate(thisFontFamily.mBuilderPtr); in addFont()
308 FontFamily_Delegate delegate = new FontFamily_Delegate(); in nInitBuilder()
353 final FontFamily_Delegate delegate = getDelegate(builderPtr);
[all …]
DPaint_Delegate.java26 import android.graphics.FontFamily_Delegate.FontVariant;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java40 import android.graphics.FontFamily_Delegate;
205 FontFamily_Delegate.setFontLocation(fontLocation.getAbsolutePath()); in init()