Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutTest.java134 final DynamicLayout dynamicLayout = new DynamicLayout(text, in testGetLineExtra_withoutLinespacing() local
143 assertEquals(lineCount, dynamicLayout.getLineCount()); in testGetLineExtra_withoutLinespacing()
145 assertEquals(staticLayout.getLineExtra(i), dynamicLayout.getLineExtra(i)); in testGetLineExtra_withoutLinespacing()
165 final DynamicLayout dynamicLayout = new DynamicLayout(text, in testGetLineExtra_withLinespacing() local
174 assertEquals(lineCount, dynamicLayout.getLineCount()); in testGetLineExtra_withLinespacing()
176 assertEquals(staticLayout.getLineExtra(i), dynamicLayout.getLineExtra(i)); in testGetLineExtra_withLinespacing()
/frameworks/base/core/java/android/widget/
DEditor.java1838 DynamicLayout dynamicLayout = (DynamicLayout) layout; in drawHardwareAccelerated() local
1839 int[] blockEndLines = dynamicLayout.getBlockEndLines(); in drawHardwareAccelerated()
1840 int[] blockIndices = dynamicLayout.getBlockIndices(); in drawHardwareAccelerated()
1841 final int numberOfBlocks = dynamicLayout.getNumberOfBlocks(); in drawHardwareAccelerated()
1842 final int indexFirstChangedBlock = dynamicLayout.getIndexFirstChangedBlock(); in drawHardwareAccelerated()
1844 final ArraySet<Integer> blockSet = dynamicLayout.getBlocksAlwaysNeedToBeRedrawn(); in drawHardwareAccelerated()
1847 final int blockIndex = dynamicLayout.getBlockIndex(blockSet.valueAt(i)); in drawHardwareAccelerated()
1887 final int blockIndex = dynamicLayout.getBlockIndex(block); in drawHardwareAccelerated()
1899 dynamicLayout.setIndexFirstChangedBlock(lastIndex); in drawHardwareAccelerated()
2025 DynamicLayout dynamicLayout = (DynamicLayout) layout; in invalidateTextDisplayList() local
[all …]