Package org.robolectric.nativeruntime
Class MeasuredTextNatives
java.lang.Object
org.robolectric.nativeruntime.MeasuredTextNatives
Native methods for MeasuredText JNI registration.
 
Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/text/MeasuredText.java
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidnGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect) static floatnGetCharWidthAt(long nativePtr, int offset) static intnGetMemoryUsage(long nativePtr) static longstatic floatnGetWidth(long nativePtr, int start, int end) 
- 
Method Details- 
nGetWidthpublic static float nGetWidth(long nativePtr, int start, int end) 
- 
nGetReleaseFuncpublic static long nGetReleaseFunc()
- 
nGetMemoryUsagepublic static int nGetMemoryUsage(long nativePtr) 
- 
nGetBounds
- 
nGetCharWidthAtpublic static float nGetCharWidthAt(long nativePtr, int offset) 
 
-