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 forMeasuredTextthat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeMeasuredText.PickerShadow picker forMeasuredText.static classShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilderShadow forMeasuredText.Builderthat is backed by native code
-
Constructor Summary
Constructors Constructor Description ShadowNativeMeasuredText()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidnGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect)protected static floatnGetCharWidthAt(long nativePtr, int offset)protected static intnGetMemoryUsage(long nativePtr)protected static longnGetReleaseFunc()protected static floatnGetWidth(long nativePtr, int start, int end)
-
-
-
Method Detail
-
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)
-
nGetCharWidthAt
@Implementation protected static float nGetCharWidthAt(long nativePtr, int offset)
-
-