Package org.robolectric.shadows
Class ShadowNativeFontsFontFamily
- java.lang.Object
-
- org.robolectric.shadows.ShadowNativeFontsFontFamily
-
@Implements(value=android.graphics.fonts.FontFamily.class, minSdk=29, shadowPicker=Picker.class, isInAndroidSdk=false) public class ShadowNativeFontsFontFamily extends Object
Shadow forFontFamilythat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeFontsFontFamily.PickerShadow picker forFontFamily.static classShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilderShadow forFontFamily.Builderthat is backed by native code
-
Constructor Summary
Constructors Constructor Description ShadowNativeFontsFontFamily()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static longnGetFont(long family, int i)protected static intnGetFontSize(long family)protected static StringnGetLangTags(long family)protected static intnGetVariant(long family)
-
-
-
Method Detail
-
nGetFontSize
@Implementation(minSdk=31) protected static int nGetFontSize(long family)
-
nGetFont
@Implementation(minSdk=31) protected static long nGetFont(long family, int i)
-
nGetLangTags
@Implementation(minSdk=31) protected static String nGetLangTags(long family)
-
nGetVariant
@Implementation(minSdk=31) protected static int nGetVariant(long family)
-
-