Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DDynamicLayout.java488 int[] blockIndices = new int[newSize]; in updateBlocks()
490 System.arraycopy(mBlockIndices, 0, blockIndices, 0, firstBlock); in updateBlocks()
494 blockIndices, firstBlock + numAddedBlocks, mNumberOfBlocks - lastBlock - 1); in updateBlocks()
496 mBlockIndices = blockIndices; in updateBlocks()
533 void setBlocksDataForTest(int[] blockEndLines, int[] blockIndices, int numberOfBlocks) { in setBlocksDataForTest() argument
535 mBlockIndices = new int[blockIndices.length]; in setBlocksDataForTest()
537 System.arraycopy(blockIndices, 0, mBlockIndices, 0, blockIndices.length); in setBlocksDataForTest()
/frameworks/base/core/java/android/widget/
DEditor.java1304 int[] blockIndices = dynamicLayout.getBlockIndices(); in drawHardwareAccelerated() local
1311 int blockIndex = blockIndices[i]; in drawHardwareAccelerated()
1315 blockIndex = getAvailableDisplayListIndex(blockIndices, numberOfBlocks, in drawHardwareAccelerated()
1318 blockIndices[i] = blockIndex; in drawHardwareAccelerated()
1378 private int getAvailableDisplayListIndex(int[] blockIndices, int numberOfBlocks, in getAvailableDisplayListIndex() argument
1384 if (blockIndices[j] == i) { in getAvailableDisplayListIndex()
1420 int[] blockIndices = dynamicLayout.getBlockIndices(); in invalidateTextDisplayList() local
1432 final int blockIndex = blockIndices[i]; in invalidateTextDisplayList()