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.java448 * @param newLineCount the number of lines that will replace the range, possibly 0
452 void updateBlocks(int startLine, int endLine, int newLineCount) { argument
476 boolean createBlock = newLineCount > 0;
516 final int deltaLines = newLineCount - (endLine - startLine + 1);
537 mBlockEndLines[blockIndex] = startLine + newLineCount - 1;

Completed in 58 milliseconds