Class FontBuilderNatives

java.lang.Object
org.robolectric.nativeruntime.FontBuilderNatives

public final class FontBuilderNatives
extends Object
Native methods for android.graphics.fonts.Font$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/Font.java

  • Method Details

    • nInitBuilder

      public static long nInitBuilder()
    • nAddAxis

      public static void nAddAxis​(long builderPtr, int tag, float value)
    • nBuild

      public static long nBuild​(long builderPtr, ByteBuffer buffer, String filePath, String localeList, int weight, boolean italic, int ttcIndex)
    • nGetReleaseNativeFont

      public static long nGetReleaseNativeFont()
    • nClone

      public static long nClone​(long fontPtr, long builderPtr, int weight, boolean italic, int ttcIndex)