Package org.robolectric.shadows
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 Summary
Constructors Constructor Description ShadowLineBreaker()
-
Method Summary
Modifier and Type Method Description protected static long
nComputeLineBreaks(long nativePtr, char[] text, long measuredTextPtr, int length, float firstWidth, int firstWidthLineCount, float restWidth, float[] variableTabStops, float defaultTabStop, int indentsOffset)
protected static int
nGetLineBreakOffset(long ptr, int idx)
protected static int
nGetLineCount(long ptr)
-
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
-
nGetLineBreakOffset
-