Class FontFamilyBuilderNatives

java.lang.Object
org.robolectric.nativeruntime.FontFamilyBuilderNatives

public final class FontFamilyBuilderNatives extends Object
Native methods for android.graphics.fonts.FontFamily$Builder JNI registration.

Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/fonts/FontFamily.java

  • Method Details

    • nInitBuilder

      public static long nInitBuilder()
    • nAddFont

      public static void nAddFont(long builderPtr, long fontPtr)
    • nBuild

      public static long nBuild(long builderPtr, String langTags, int variant, boolean isCustomFallback)
    • nGetReleaseNativeFamily

      public static long nGetReleaseNativeFamily()