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,
callNativeMethodsByDefault=true)
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
protected 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
protected static long
-
Constructor Details
-
ShadowNativeFontFamilyBuilder
public ShadowNativeFontFamilyBuilder()
-
-
Method Details
-
__staticInitializer__
-
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) -
nGetReleaseNativeFamily
-