Class ShadowNativeMeasuredText

java.lang.Object
org.robolectric.shadows.ShadowNativeMeasuredText

Shadow for MeasuredText that is backed by native code
  • Constructor Details

    • ShadowNativeMeasuredText

      public ShadowNativeMeasuredText()
  • Method Details

    • nGetWidth

      @Implementation(maxSdk=34) protected static float nGetWidth(long nativePtr, int start, int end)
    • nGetReleaseFunc

      @Implementation(maxSdk=34) protected static long nGetReleaseFunc()
    • nGetMemoryUsage

      @Implementation(maxSdk=34) protected static int nGetMemoryUsage(long nativePtr)
    • nGetBounds

      @Implementation(maxSdk=34) protected static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect)
    • nGetCharWidthAt

      @Implementation(maxSdk=34) protected static float nGetCharWidthAt(long nativePtr, int offset)