Class ShadowNativeLineBreaker

java.lang.Object
org.robolectric.shadows.ShadowNativeLineBreaker

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

    • ShadowNativeLineBreaker

      public ShadowNativeLineBreaker()
  • Method Details

    • __staticInitializer__

      @Implementation(minSdk=35) protected static void __staticInitializer__()
    • nInit

      @Implementation(maxSdk=34) protected static long nInit(int breakStrategy, int hyphenationFrequency, boolean isJustified, int[] indents)
    • nGetReleaseFunc

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

      @Implementation(maxSdk=34) protected static long nComputeLineBreaks(long nativePtr, char[] text, long measuredTextPtr, int length, float firstWidth, int firstWidthLineCount, float restWidth, float[] variableTabStops, float defaultTabStop, int indentsOffset)
    • nGetLineCount

      @Implementation(maxSdk=34) protected static int nGetLineCount(long ptr)
    • nGetLineBreakOffset

      @Implementation(maxSdk=34) protected static int nGetLineBreakOffset(long ptr, int idx)
    • nGetLineWidth

      @Implementation(maxSdk=34) protected static float nGetLineWidth(long ptr, int idx)
    • nGetLineAscent

      @Implementation(maxSdk=34) protected static float nGetLineAscent(long ptr, int idx)
    • nGetLineDescent

      @Implementation(maxSdk=34) protected static float nGetLineDescent(long ptr, int idx)
    • nGetLineFlag

      @Implementation(maxSdk=34) protected static int nGetLineFlag(long ptr, int idx)
    • nGetReleaseResultFunc

      @Implementation(maxSdk=34) protected static long nGetReleaseResultFunc()