Searched refs:getNumberOfBlocks (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
H A DDynamicLayoutBlocksTest.java47 for (int i = 0; i < dl.getNumberOfBlocks(); i++) {
54 assertTrue(dl.getNumberOfBlocks() > 0);
55 assertTrue(dl.getNumberOfBlocks() <= dl.getBlockEndLines().length);
58 for (int i = 1; i < dl.getNumberOfBlocks(); i++) {
72 assertEquals(sizes.length, dl.getNumberOfBlocks());
73 assertEquals(indices.length, dl.getNumberOfBlocks());
80 for (int i = 0; i < dl.getNumberOfBlocks(); i++) {
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java577 public int getNumberOfBlocks() { method in class:DynamicLayout
/frameworks/base/core/java/android/widget/
H A DEditor.java1682 final int numberOfBlocks = dynamicLayout.getNumberOfBlocks();
1815 final int numberOfBlocks = dynamicLayout.getNumberOfBlocks();

Completed in 136 milliseconds