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 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)