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,
            callNativeMethodsByDefault=true)
public class ShadowNativeMeasuredText
extends Object
Shadow for 
MeasuredText that is backed by native code- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classShadow picker forMeasuredText.static classShadow forMeasuredText.Builderthat is backed by native code
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected 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 longprotected static floatnGetWidth(long nativePtr, int start, int end) 
- 
Constructor Details- 
ShadowNativeMeasuredTextpublic ShadowNativeMeasuredText()
 
- 
- 
Method Details- 
nGetWidth
- 
nGetReleaseFunc
- 
nGetMemoryUsage
- 
nGetBounds@Implementation(maxSdk=34) protected static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect) 
- 
nGetCharWidthAt
 
-