Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java1758 private void fillHorizontalBoundsForLine(int line, float[] horizontalBounds) { in fillHorizontalBoundsForLine() argument
1782 if (horizontalBounds == null || horizontalBounds.length < 2 * lineLength) { in fillHorizontalBoundsForLine()
1783 horizontalBounds = new float[2 * lineLength]; in fillHorizontalBoundsForLine()
1786 tl.measureAllBounds(horizontalBounds, null); in fillHorizontalBoundsForLine()
1859 float[] horizontalBounds = null; in forEachCharacterBounds() local
1864 if (horizontalBounds == null || horizontalBounds.length < 2 * lineLength) { in forEachCharacterBounds()
1865 horizontalBounds = new float[2 * lineLength]; in forEachCharacterBounds()
1867 fillHorizontalBoundsForLine(line, horizontalBounds); in forEachCharacterBounds()
1880 final float left = horizontalBounds[offset * 2] + lineStartPos; in forEachCharacterBounds()
1881 final float right = horizontalBounds[offset * 2 + 1] + lineStartPos; in forEachCharacterBounds()
[all …]