@Implements(value=android.text.StaticLayout.class, looseSignatures=true) public class ShadowStaticLayout extends java.lang.Object
Constructor and Description |
---|
ShadowStaticLayout() |
Modifier and Type | Method and Description |
---|---|
static int |
nComputeLineBreaks(java.lang.Object nativePtr,
java.lang.Object recycle,
java.lang.Object recycleBreaks,
java.lang.Object recycleWidths,
java.lang.Object recycleFlags,
java.lang.Object recycleLength) |
protected static int |
nComputeLineBreaks(java.lang.Object nativePtr,
java.lang.Object text,
java.lang.Object measuredTextPtr,
java.lang.Object length,
java.lang.Object firstWidth,
java.lang.Object firstWidthLineCount,
java.lang.Object restWidth,
java.lang.Object variableTabStops,
java.lang.Object defaultTabStop,
java.lang.Object indentsOffset,
java.lang.Object recycle,
java.lang.Object recycleLength,
java.lang.Object recycleBreaks,
java.lang.Object recycleWidths,
java.lang.Object recycleAscents,
java.lang.Object recycleDescents,
java.lang.Object recycleFlags,
java.lang.Object charWidths) |
static int[] |
nLineBreakOpportunities(java.lang.String locale,
char[] text,
int length,
int[] recycle) |
@Implementation(minSdk=21, maxSdk=22) @HiddenApi public static int[] nLineBreakOpportunities(java.lang.String locale, char[] text, int length, int[] recycle)
@HiddenApi @Implementation(minSdk=23, maxSdk=27) public static int nComputeLineBreaks(java.lang.Object nativePtr, java.lang.Object recycle, java.lang.Object recycleBreaks, java.lang.Object recycleWidths, java.lang.Object recycleFlags, java.lang.Object recycleLength)
@Implementation(minSdk=28, maxSdk=28) @HiddenApi protected static int nComputeLineBreaks(java.lang.Object nativePtr, java.lang.Object text, java.lang.Object measuredTextPtr, java.lang.Object length, java.lang.Object firstWidth, java.lang.Object firstWidthLineCount, java.lang.Object restWidth, java.lang.Object variableTabStops, java.lang.Object defaultTabStop, java.lang.Object indentsOffset, java.lang.Object recycle, java.lang.Object recycleLength, java.lang.Object recycleBreaks, java.lang.Object recycleWidths, java.lang.Object recycleAscents, java.lang.Object recycleDescents, java.lang.Object recycleFlags, java.lang.Object charWidths)