Searched refs:FontVariant (Results 1 – 3 of 3) sorted by relevance
36 import android.graphics.FontFamily_Delegate.FontVariant;87 private SoftReference<EnumMap<FontVariant, List<Font>>> mFontsCache = new SoftReference<>(null);329 private static List<Font> computeFonts(FontVariant variant, FontFamily_Delegate[] fontFamilies, in computeFonts()346 FontVariant ffdVariant = ffd.getVariant(); in computeFonts()347 if (ffdVariant == FontVariant.NONE) { in computeFonts()357 FontVariant ffd2Variant = ffd2.getVariant(); in computeFonts()359 assert ffd2Variant != FontVariant.NONE && ffd2Variant != ffdVariant && in computeFonts()392 public Iterable<Font> getFonts(final FontVariant variant) {393 assert variant != FontVariant.NONE;402 private final FontVariant variant;[all …]
149 private FontVariant mVariant;158 public enum FontVariant { enum in FontFamily_Delegate245 public FontVariant getVariant() { in getVariant()311 delegate.mVariant = FontVariant.values()[variant]; in nInitBuilder()
26 import android.graphics.FontFamily_Delegate.FontVariant;105 private FontVariant mFontVariant = FontVariant.COMPACT;484 return delegate != null && delegate.mFontVariant == FontVariant.ELEGANT; in nIsElegantTextHeight()496 delegate.mFontVariant = elegant ? FontVariant.ELEGANT : FontVariant.COMPACT; in nSetElegantTextHeight()