Package org.robolectric.shadows
Class ShadowNativePositionedGlyphs
java.lang.Object
org.robolectric.shadows.ShadowNativePositionedGlyphs
@Implements(value=android.graphics.text.PositionedGlyphs.class,
minSdk=31,
shadowPicker=Picker.class,
callNativeMethodsByDefault=true)
public class ShadowNativePositionedGlyphs
extends Object
Shadow for
PositionedGlyphs
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
ThePositionedGlyphs
static initializer invokes its own native methods.protected static float
nGetAscent
(long minikinLayout) protected static float
nGetDescent
(long minikinLayout) protected static long
nGetFont
(long minikinLayout, int i) protected static int
nGetGlyphCount
(long minikinLayout) protected static int
nGetGlyphId
(long minikinLayout, int i) protected static float
nGetTotalAdvance
(long minikinLayout) protected static float
nGetX
(long minikinLayout, int i) protected static float
nGetY
(long minikinLayout, int i) protected static long
-
Constructor Details
-
ShadowNativePositionedGlyphs
public ShadowNativePositionedGlyphs()
-
-
Method Details
-
__staticInitializer__
ThePositionedGlyphs
static initializer invokes its own native methods. This has to be deferred starting in Android V. -
nGetGlyphCount
-
nGetTotalAdvance
-
nGetAscent
-
nGetDescent
-
nGetGlyphId
-
nGetX
-
nGetY
-
nGetFont
-
nReleaseFunc
-