Package org.robolectric.shadows
Class ShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilder
java.lang.Object
org.robolectric.shadows.ShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilder
- Enclosing class:
- ShadowNativeFontsFontFamily
@Implements(value=android.graphics.fonts.FontFamily.Builder.class, minSdk=29, shadowPicker=Picker.class, isInAndroidSdk=false) public static class ShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilder extends Object
Shadow for
FontFamily.Builder
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilder.Picker
Shadow picker forFontFamily.Builder
. -
Constructor Summary
Constructors Constructor Description ShadowNativeFontFamilyBuilder()
-
Method Summary
Modifier and Type Method Description protected static void
nAddFont(long builderPtr, long fontPtr)
protected static long
nBuild(long builderPtr, String langTags, int variant, boolean isCustomFallback)
protected static long
nBuild(long builderPtr, String langTags, int variant, boolean isCustomFallback, boolean isDefaultFallback)
protected static long
nGetReleaseNativeFamily()
protected static long
nInitBuilder()
-
Constructor Details
-
ShadowNativeFontFamilyBuilder
public ShadowNativeFontFamilyBuilder()
-
-
Method Details
-
nInitBuilder
-
nAddFont
-
nBuild
@Implementation(maxSdk=33) protected static long nBuild(long builderPtr, String langTags, int variant, boolean isCustomFallback) -
nBuild
@Implementation(minSdk=10000) protected static long nBuild(long builderPtr, String langTags, int variant, boolean isCustomFallback, boolean isDefaultFallback) -
nGetReleaseNativeFamily
-