Searched refs:newLineCount (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
H A DDynamicLayoutBlocksTest.java63 private void update(int startLine, int endLine, int newLineCount) { argument
66 dl.updateBlocks(startLine, endLine, newLineCount);
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java438 * @param newLineCount the number of lines that will replace the range, possibly 0
442 void updateBlocks(int startLine, int endLine, int newLineCount) { argument
466 boolean createBlock = newLineCount > 0;
506 final int deltaLines = newLineCount - (endLine - startLine + 1);
527 mBlockEndLines[blockIndex] = startLine + newLineCount - 1;

Completed in 210 milliseconds