Package org.robolectric.shadows
Class ShadowNativeMeasuredText
java.lang.Object
org.robolectric.shadows.ShadowNativeMeasuredText
@Implements(value=android.graphics.text.MeasuredText.class, minSdk=29, shadowPicker=Picker.class) public class ShadowNativeMeasuredText extends Object
Shadow for
MeasuredText
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeMeasuredText.Picker
Shadow picker forMeasuredText
.static class
ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder
Shadow forMeasuredText.Builder
that is backed by native code -
Constructor Summary
Constructors Constructor Description ShadowNativeMeasuredText()
-
Method Summary
Modifier and Type Method Description protected static void
nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect)
protected static float
nGetCharWidthAt(long nativePtr, int offset)
protected static int
nGetMemoryUsage(long nativePtr)
protected static long
nGetReleaseFunc()
protected static float
nGetWidth(long nativePtr, int start, int end)
-
Constructor Details
-
ShadowNativeMeasuredText
public ShadowNativeMeasuredText()
-
-
Method Details
-
nGetWidth
-
nGetReleaseFunc
-
nGetMemoryUsage
-
nGetBounds
@Implementation protected static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect) -
nGetCharWidthAt
-