Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutBlocksTest.java72 private void update(int startLine, int endLine, int newLineCount) { in update() argument
74 + newLineCount - endLine + startLine; in update()
78 dl.updateBlocks(startLine, endLine, newLineCount); in update()
/frameworks/base/core/java/android/text/
DDynamicLayout.java814 public void updateBlocks(int startLine, int endLine, int newLineCount) { in updateBlocks() argument
838 final boolean createBlock = newLineCount > 0; in updateBlocks()
896 final int deltaLines = newLineCount - (endLine - startLine + 1); in updateBlocks()
918 mBlockEndLines[blockIndex] = startLine + newLineCount - 1; in updateBlocks()