Package org.robolectric.shadows
Class ShadowNativeTextRunShaper
java.lang.Object
org.robolectric.shadows.ShadowNativeTextRunShaper
@Implements(value=android.graphics.text.TextRunShaper.class,
minSdk=31,
shadowPicker=Picker.class,
isInAndroidSdk=false,
callNativeMethodsByDefault=true)
public class ShadowNativeTextRunShaper
extends Object
Shadow for
TextRunShaper
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static long
nativeShapeTextRun
(char[] text, int start, int count, int contextStart, int contextCount, boolean isRtl, long nativePaint) protected static long
nativeShapeTextRun
(String text, int start, int count, int contextStart, int contextCount, boolean isRtl, long nativePaint)
-
Constructor Details
-
ShadowNativeTextRunShaper
public ShadowNativeTextRunShaper()
-
-
Method Details
-
nativeShapeTextRun
@Implementation(maxSdk=34) protected static long nativeShapeTextRun(char[] text, int start, int count, int contextStart, int contextCount, boolean isRtl, long nativePaint) -
nativeShapeTextRun
@Implementation(maxSdk=34) protected static long nativeShapeTextRun(String text, int start, int count, int contextStart, int contextCount, boolean isRtl, long nativePaint)
-