Package org.robolectric.nativeruntime
Class PositionedGlyphsNatives
java.lang.Object
org.robolectric.nativeruntime.PositionedGlyphsNatives
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 Summary
Modifier and TypeMethodDescriptionstatic float
nGetAscent
(long minikinLayout) static float
nGetDescent
(long minikinLayout) static long
nGetFont
(long minikinLayout, int i) static int
nGetGlyphCount
(long minikinLayout) static int
nGetGlyphId
(long minikinLayout, int i) static float
nGetTotalAdvance
(long minikinLayout) static float
nGetX
(long minikinLayout, int i) static float
nGetY
(long minikinLayout, int i) static long
-
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()
-