Class TextRunShaperNatives

java.lang.Object
org.robolectric.nativeruntime.TextRunShaperNatives

public final class TextRunShaperNatives extends Object
Native methods for TextRunShaper 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/text/TextRunShaper.java

  • Method Details

    • nativeShapeTextRun

      public static long nativeShapeTextRun(char[] text, int start, int count, int contextStart, int contextCount, boolean isRtl, long nativePaint)
    • nativeShapeTextRun

      public static long nativeShapeTextRun(String text, int start, int count, int contextStart, int contextCount, boolean isRtl, long nativePaint)