Class PositionedGlyphsNatives

java.lang.Object
org.robolectric.nativeruntime.PositionedGlyphsNatives

public final class PositionedGlyphsNatives extends Object
Native methods for PositionedGlyphs 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/PositionedGlyphs.java

  • Method Details

    • nGetGlyphCount

      public static int nGetGlyphCount(long minikinLayout)
    • nGetTotalAdvance

      public static float nGetTotalAdvance(long minikinLayout)
    • nGetAscent

      public static float nGetAscent(long minikinLayout)
    • nGetDescent

      public static float nGetDescent(long minikinLayout)
    • nGetGlyphId

      public static int nGetGlyphId(long minikinLayout, int i)
    • nGetX

      public static float nGetX(long minikinLayout, int i)
    • nGetY

      public static float nGetY(long minikinLayout, int i)
    • nGetFont

      public static long nGetFont(long minikinLayout, int i)
    • nReleaseFunc

      public static long nReleaseFunc()