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
  • Constructor Details

    • ShadowNativeFontFamilyBuilder

      public ShadowNativeFontFamilyBuilder()
  • Method Details

    • nInitBuilder

      @Implementation protected static long nInitBuilder()
    • nAddFont

      @Implementation protected static void nAddFont(long builderPtr, long fontPtr)
    • 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

      @Implementation protected static long nGetReleaseNativeFamily()