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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
nAddFont
(long builderPtr, long fontPtr) protected static long
protected static long
nBuild
(long builderPtr, String langTags, int variant, boolean isCustomFallback, boolean isDefaultFallback) protected static long
nBuild
(long builderPtr, String langTags, int variant, boolean isCustomFallback, boolean isDefaultFallback, int variableFamilyType) protected static long
protected static long
-
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=34, maxSdk=34) protected static long nBuild(long builderPtr, String langTags, int variant, boolean isCustomFallback, boolean isDefaultFallback) -
nBuild
@Implementation(minSdk=35) protected static long nBuild(long builderPtr, String langTags, int variant, boolean isCustomFallback, boolean isDefaultFallback, int variableFamilyType) -
nGetReleaseNativeFamily
-