Class ShadowLineBreaker

java.lang.Object
org.robolectric.shadows.ShadowLineBreaker

@Implements(value=android.graphics.text.LineBreaker.class, isInAndroidSdk=false, minSdk=29) public class ShadowLineBreaker extends Object
Shadow for android.graphics.text.LineBreaker
  • Constructor Details

    • ShadowLineBreaker

      public ShadowLineBreaker()
  • Method Details

    • nComputeLineBreaks

      @Implementation 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 protected static int nGetLineCount(long ptr)
    • nGetLineBreakOffset

      @Implementation protected static int nGetLineBreakOffset(long ptr, int idx)