Home
last modified time | relevance | path

Searched refs:startLine (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/
DDynamicLayout.java442 void updateBlocks(int startLine, int endLine, int newLineCount) { in updateBlocks() argument
451 if (mBlockEndLines[i] >= startLine) { in updateBlocks()
464 boolean createBlockBefore = startLine > (firstBlock == 0 ? 0 : in updateBlocks()
505 final int deltaLines = newLineCount - (endLine - startLine + 1); in updateBlocks()
512 mBlockEndLines[blockIndex] = startLine - 1; in updateBlocks()
518 mBlockEndLines[blockIndex] = startLine + newLineCount - 1; in updateBlocks()
DLayout.java281 int startLine = getLineForOffset(sp.getSpanStart(margin)); in drawText() local
282 useFirstLineMargin = i < startLine + count; in drawText()
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutBlocksTest.java63 private void update(int startLine, int endLine, int newLineCount) { in update() argument
66 dl.updateBlocks(startLine, endLine, newLineCount); in update()