Searched refs:endLine (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | DynamicLayoutBlocksTest.java | 72 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()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 758 int endLine = mBlockEndLines[blockIndex]; in updateAlwaysNeedsToBeRedrawn() local 759 for (int i = startLine; i <= endLine; i++) { in updateAlwaysNeedsToBeRedrawn() 815 public void updateBlocks(int startLine, int endLine, int newLineCount) { in updateBlocks() argument 830 if (mBlockEndLines[i] >= endLine) { in updateBlocks() 840 final boolean createBlockAfter = endLine < mBlockEndLines[lastBlock]; in updateBlocks() 897 final int deltaLines = newLineCount - (endLine - startLine + 1); in updateBlocks()
|
H A D | Layout.java | 1530 final int endLine = getLineForOffset(end - 1); in fillCharacterBounds() local 1532 for (int line = startLine; line <= endLine; ++line) { in fillCharacterBounds() 1996 int endLine = getLineForVertical((int) area.bottom); in getRangeForRect() local 1997 if (endLine == 0 && area.bottom < getLineTop(0)) { in getRangeForRect() 2001 if (endLine < startLine) { in getRangeForRect() 2010 while (start == -1 && startLine < endLine) { in getRangeForRect() 2021 endLine, area, segmentFinder, inclusionStrategy, /* getStart= */ false); in getRangeForRect() 2024 while (end == -1 && startLine < endLine) { in getRangeForRect() 2025 endLine--; in getRangeForRect() 2027 endLine, area, segmentFinder, inclusionStrategy, /* getStart= */ false); in getRangeForRect()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 14168 final int endLine = layout.getLineForVertical((int) Math.floor(localBounds.bottom)); in getTextBoundsInfo() local 14170 final int end = layout.getLineEnd(endLine); in getTextBoundsInfo() 14178 for (int line = startLine; line <= endLine; ++line) { in getTextBoundsInfo() 14219 final int lineCount = endLine - startLine + 1; in getTextBoundsInfo() 14221 for (int line = startLine; line <= endLine; ++line) { in getTextBoundsInfo()
|