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;
70 private FontVariant mVariant;
93 builder.mVariant = FontVariant.values()[variant]; in nBuild()
156 public FontVariant getVariant() {
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java36 import android.graphics.FontFamily_Delegate.FontVariant;
329 public Iterable<Font> getFonts(final FontVariant variant) { in getFonts()
330 assert variant != FontVariant.NONE; in getFonts()
340 private final FontVariant variant;
346 @NonNull FontVariant variant, int weight, int style) { in FontsIterator()
366 FontVariant ffdVariant; in next()
391 if (ffdVariant == FontVariant.NONE || ffdVariant == variant) { in next()
DFontFamily_Delegate.java154 private FontVariant mVariant;
163 public enum FontVariant { enum in FontFamily_Delegate
249 public FontVariant getVariant() { in getVariant()
315 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()