Home
last modified time | relevance | path

Searched refs:FontVariant (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java23 import android.graphics.FontFamily_Delegate.FontVariant;
83 public List<Font> getFonts(FontVariant variant) { in getFonts()
84 assert variant != FontVariant.NONE; in getFonts()
98 FontVariant ffdVariant = ffd.getVariant(); in getFonts()
99 if (ffdVariant == FontVariant.NONE) { in getFonts()
109 FontVariant ffd2Variant = ffd2.getVariant(); in getFonts()
111 assert ffd2Variant != FontVariant.NONE && ffd2Variant != ffdVariant in getFonts()
DFontFamily_Delegate.java96 private FontVariant mVariant;
105 public enum FontVariant { enum in FontFamily_Delegate
175 public FontVariant getVariant() { in getVariant()
229 delegate.mVariant = FontVariant.values()[variant]; in nCreateFamily()
DPaint_Delegate.java24 import android.graphics.FontFamily_Delegate.FontVariant;
87 private FontVariant mFontVariant = FontVariant.COMPACT;
445 return delegate != null && delegate.mFontVariant == FontVariant.ELEGANT; in isElegantTextHeight()
456 delegate.mFontVariant = elegant ? FontVariant.ELEGANT : FontVariant.COMPACT; in setElegantTextHeight()
/frameworks/base/core/jni/android/graphics/
DPaint.h64 void setFontVariant(FontVariant variant) { in setFontVariant()
68 FontVariant getFontVariant() const { in getFontVariant()
76 FontVariant mFontVariant;
DMinikinUtils.cpp50 FontVariant minikinVariant = (paint->getFontVariant() == VARIANT_ELEGANT) ? VARIANT_ELEGANT in doLayout()
/frameworks/minikin/include/minikin/
DFontFamily.h92 enum FontVariant { enum