Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DDynamicLayout.java498 int[] blockIndices = new int[blockEndLines.length]; in updateBlocks()
500 System.arraycopy(mBlockIndices, 0, blockIndices, 0, firstBlock); in updateBlocks()
504 blockIndices, firstBlock + numAddedBlocks, mNumberOfBlocks - lastBlock - 1); in updateBlocks()
506 mBlockIndices = blockIndices; in updateBlocks()
552 void setBlocksDataForTest(int[] blockEndLines, int[] blockIndices, int numberOfBlocks) { in setBlocksDataForTest() argument
554 mBlockIndices = new int[blockIndices.length]; in setBlocksDataForTest()
556 System.arraycopy(blockIndices, 0, mBlockIndices, 0, blockIndices.length); in setBlocksDataForTest()
/frameworks/base/core/java/android/widget/
DEditor.java1681 int[] blockIndices = dynamicLayout.getBlockIndices(); in drawHardwareAccelerated() local
1689 int blockIndex = blockIndices[i]; in drawHardwareAccelerated()
1693 blockIndex = getAvailableDisplayListIndex(blockIndices, numberOfBlocks, in drawHardwareAccelerated()
1696 blockIndices[i] = blockIndex; in drawHardwareAccelerated()
1763 private int getAvailableDisplayListIndex(int[] blockIndices, int numberOfBlocks, in getAvailableDisplayListIndex() argument
1769 if (blockIndices[j] == i) { in getAvailableDisplayListIndex()
1814 int[] blockIndices = dynamicLayout.getBlockIndices(); in invalidateTextDisplayList() local
1826 final int blockIndex = blockIndices[i]; in invalidateTextDisplayList()