Package org.robolectric.shadows
Class ShadowNativeMeasuredParagraph
- java.lang.Object
-
- org.robolectric.shadows.ShadowNativeMeasuredParagraph
-
@Implements(value=android.text.MeasuredParagraph.class, minSdk=28, maxSdk=28, shadowPicker=Picker.class) public class ShadowNativeMeasuredParagraph extends Object
Shadow forMeasuredParagraphthat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeMeasuredParagraph.PickerShadow picker forMeasuredParagraph.
-
Constructor Summary
Constructors Constructor Description ShadowNativeMeasuredParagraph()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidnAddReplacementRun(long nativeBuilderPtr, long paintPtr, int start, int end, float width)protected static voidnAddStyleRun(long nativeBuilderPtr, long paintPtr, int start, int end, boolean isRtl)protected static longnBuildNativeMeasuredParagraph(long nativeBuilderPtr, char[] text, boolean computeHyphenation, boolean computeLayout)protected static voidnFreeBuilder(long nativeBuilderPtr)protected static voidnGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect)protected static intnGetMemoryUsage(long nativePtr)protected static longnGetReleaseFunc()protected static floatnGetWidth(long nativePtr, int start, int end)protected static longnInitBuilder()
-
-
-
Method Detail
-
nInitBuilder
@Implementation protected static long nInitBuilder()
-
nAddStyleRun
@Implementation protected static void nAddStyleRun(long nativeBuilderPtr, long paintPtr, int start, int end, boolean isRtl)
-
nAddReplacementRun
@Implementation protected static void nAddReplacementRun(long nativeBuilderPtr, long paintPtr, int start, int end, float width)
-
nBuildNativeMeasuredParagraph
@Implementation protected static long nBuildNativeMeasuredParagraph(long nativeBuilderPtr, char[] text, boolean computeHyphenation, boolean computeLayout)
-
nFreeBuilder
@Implementation protected static void nFreeBuilder(long nativeBuilderPtr)
-
nGetWidth
@Implementation protected static float nGetWidth(long nativePtr, int start, int end)
-
nGetReleaseFunc
@Implementation protected static long nGetReleaseFunc()
-
nGetMemoryUsage
@Implementation protected static int nGetMemoryUsage(long nativePtr)
-
nGetBounds
@Implementation protected static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect)
-
-