Searched refs:dynamicLayout (Results 1 – 3 of 3) sorted by relevance
1241 final DynamicLayout dynamicLayout = mLayout.get(); in beforeTextChanged() local1242 if (dynamicLayout != null && dynamicLayout.mDisplay instanceof OffsetMapping) { in beforeTextChanged()1243 final OffsetMapping transformedText = (OffsetMapping) dynamicLayout.mDisplay; in beforeTextChanged()1266 final DynamicLayout dynamicLayout = mLayout.get(); in onTextChanged() local1267 if (dynamicLayout != null && dynamicLayout.mDisplay instanceof OffsetMapping) { in onTextChanged()1279 before = dynamicLayout.getLineEnd(dynamicLayout.getLineCount() - 1); in onTextChanged()1280 after = dynamicLayout.mDisplay.length(); in onTextChanged()1298 final DynamicLayout dynamicLayout = mLayout.get(); in transformAndReflow() local1299 if (dynamicLayout != null && dynamicLayout.mDisplay instanceof OffsetMapping) { in transformAndReflow()1300 final OffsetMapping transformedText = (OffsetMapping) dynamicLayout.mDisplay; in transformAndReflow()[all …]
134 final DynamicLayout dynamicLayout = new DynamicLayout(text, in testGetLineExtra_withoutLinespacing() local143 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() local174 assertEquals(lineCount, dynamicLayout.getLineCount()); in testGetLineExtra_withLinespacing()176 assertEquals(staticLayout.getLineExtra(i), dynamicLayout.getLineExtra(i)); in testGetLineExtra_withLinespacing()
2191 DynamicLayout dynamicLayout = (DynamicLayout) layout; in drawHardwareAccelerated() local2192 int[] blockEndLines = dynamicLayout.getBlockEndLines(); in drawHardwareAccelerated()2193 int[] blockIndices = dynamicLayout.getBlockIndices(); in drawHardwareAccelerated()2194 final int numberOfBlocks = dynamicLayout.getNumberOfBlocks(); in drawHardwareAccelerated()2195 final int indexFirstChangedBlock = dynamicLayout.getIndexFirstChangedBlock(); in drawHardwareAccelerated()2197 final ArraySet<Integer> blockSet = dynamicLayout.getBlocksAlwaysNeedToBeRedrawn(); in drawHardwareAccelerated()2200 final int blockIndex = dynamicLayout.getBlockIndex(blockSet.valueAt(i)); in drawHardwareAccelerated()2241 final int blockIndex = dynamicLayout.getBlockIndex(block); in drawHardwareAccelerated()2253 dynamicLayout.setIndexFirstChangedBlock(lastIndex); in drawHardwareAccelerated()2395 DynamicLayout dynamicLayout = (DynamicLayout) layout; in invalidateTextDisplayList() local[all …]