Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DDynamicLayout.java548 int[] blockEndLines = ArrayUtils.newUnpaddedIntArray( in updateBlocks()
550 int[] blockIndices = new int[blockEndLines.length]; in updateBlocks()
551 System.arraycopy(mBlockEndLines, 0, blockEndLines, 0, firstBlock); in updateBlocks()
554 blockEndLines, firstBlock + numAddedBlocks, mNumberOfBlocks - lastBlock - 1); in updateBlocks()
557 mBlockEndLines = blockEndLines; in updateBlocks()
620 public void setBlocksDataForTest(int[] blockEndLines, int[] blockIndices, int numberOfBlocks) { in setBlocksDataForTest() argument
621 mBlockEndLines = new int[blockEndLines.length]; in setBlocksDataForTest()
623 System.arraycopy(blockEndLines, 0, mBlockEndLines, 0, blockEndLines.length); in setBlocksDataForTest()
/frameworks/base/core/java/android/widget/
DEditor.java1687 int[] blockEndLines = dynamicLayout.getBlockEndLines(); in drawHardwareAccelerated() local
1703 int startBlock = Arrays.binarySearch(blockEndLines, 0, numberOfBlocks, firstLine); in drawHardwareAccelerated()
1719 if (blockEndLines[i] < firstLine) { in drawHardwareAccelerated()
1725 highlight, highlightPaint, cursorOffsetVertical, blockEndLines, in drawHardwareAccelerated()
1727 if (blockEndLines[i] >= lastLine) { in drawHardwareAccelerated()
1741 blockEndLines, blockIndices, block, numberOfBlocks, in drawHardwareAccelerated()
1755 Paint highlightPaint, int cursorOffsetVertical, int[] blockEndLines, in drawHardwareAcceleratedInner() argument
1758 final int blockEndLine = blockEndLines[blockInfoIndex]; in drawHardwareAcceleratedInner()
1781 0 : blockEndLines[blockInfoIndex - 1] + 1; in drawHardwareAcceleratedInner()
1874 int[] blockEndLines = dynamicLayout.getBlockEndLines(); in invalidateTextDisplayList() local
[all …]