Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DDynamicLayout.java552 void setBlocksDataForTest(int[] blockEndLines, int[] blockIndices, int numberOfBlocks) { in setBlocksDataForTest() argument
557 mNumberOfBlocks = numberOfBlocks; in setBlocksDataForTest()
/frameworks/base/core/java/android/widget/
DEditor.java1682 final int numberOfBlocks = dynamicLayout.getNumberOfBlocks(); in drawHardwareAccelerated() local
1687 for (int i = 0; i < numberOfBlocks; i++) { in drawHardwareAccelerated()
1693 blockIndex = getAvailableDisplayListIndex(blockIndices, numberOfBlocks, in drawHardwareAccelerated()
1756 dynamicLayout.setIndexFirstChangedBlock(numberOfBlocks); in drawHardwareAccelerated()
1763 private int getAvailableDisplayListIndex(int[] blockIndices, int numberOfBlocks, in getAvailableDisplayListIndex() argument
1768 for (int j = 0; j < numberOfBlocks; j++) { in getAvailableDisplayListIndex()
1815 final int numberOfBlocks = dynamicLayout.getNumberOfBlocks(); in invalidateTextDisplayList() local
1819 while (i < numberOfBlocks) { in invalidateTextDisplayList()
1825 while (i < numberOfBlocks) { in invalidateTextDisplayList()