Searched refs:breaks (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingTest.java | 96 final int[] breaks = new int[staticLayout.getLineCount() - 1]; in getBreaks() local 97 for (int line = 0; line < breaks.length; line++) { in getBreaks() 98 breaks[line] = staticLayout.getLineEnd(line); in getBreaks() 100 return breaks; in getBreaks() 117 private static void layout(CharSequence source, int[] breaks) { in layout() argument 118 layout(source, breaks, WIDTH); in layout() 121 private static void layout(CharSequence source, int[] breaks, int width) { in layout() argument 129 final int lineCount = breaks.length + 1; in layout() 139 assertEquals("Line start for line " + line, breaks[line - 1], lineStart); in layout() 145 assertEquals("Line end for line " + line, breaks[line], lineEnd); in layout() [all …]
|
D | BoringLayoutTest.java | 471 int[] breaks = { in testPrecomputedText() local 506 for (int b : breaks) { in testPrecomputedText() 524 for (int bi = 0; bi < breaks.length; bi++) { in testPrecomputedText() 538 int b = breaks[bi]; in testPrecomputedText()
|
D | StaticLayoutTest.java | 1406 int[] breaks = { 1440 for (int b : breaks) { 1459 for (int bi = 0; bi < breaks.length; bi++) { 1473 int b1 = breaks[bi]; 1474 int b2 = breaks[(bi + 1) % breaks.length];
|
/cts/tests/libcore/luni/ |
D | Android.bp | 42 // Exclude apache harmony tests from coverage instrumentation, since it breaks
|