Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java27 import android.graphics.FontFamily_Delegate.FontVariant;
71 private FontVariant mVariant;
104 builder.mVariant = FontVariant.values()[variant]; in nBuild()
167 public FontVariant getVariant() {
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java36 import android.graphics.FontFamily_Delegate.FontVariant;
330 public Iterable<Font> getFonts(final FontVariant variant) { in getFonts()
331 assert variant != FontVariant.NONE; in getFonts()
341 private final FontVariant variant;
347 @NonNull FontVariant variant, int weight, int style) { in FontsIterator()
367 FontVariant ffdVariant; in next()
392 if (ffdVariant == FontVariant.NONE || ffdVariant == variant) { in next()
DFontFamily_Delegate.java148 private FontVariant mVariant;
157 public enum FontVariant { enum in FontFamily_Delegate
243 public FontVariant getVariant() { in getVariant()
309 delegate.mVariant = FontVariant.values()[variant]; in nInitBuilder()
DPaint_Delegate.java26 import android.graphics.FontFamily_Delegate.FontVariant;
107 private FontVariant mFontVariant = FontVariant.COMPACT;
474 return delegate != null && delegate.mFontVariant == FontVariant.ELEGANT; in nIsElegantTextHeight()
486 delegate.mFontVariant = elegant ? FontVariant.ELEGANT : FontVariant.COMPACT; in nSetElegantTextHeight()