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