Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewPopulateCharacterBoundsTest.java406 final RectF[] characterBounds = new RectF[expected.length]; in assertCharacterBounds() local
408 characterBounds[i] = cursorAnchorInfo.getCharacterBounds(i); in assertCharacterBounds()
410 assertArrayEquals(expected, characterBounds); in assertCharacterBounds()
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DTextBoundsInfo.java1088 public Builder setCharacterBounds(@NonNull float[] characterBounds) { in setCharacterBounds() argument
1089 mCharacterBounds = Objects.requireNonNull(characterBounds); in setCharacterBounds()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextView.java13893 final float left = characterBounds[offset * 4]; in populateCharacterBounds()
13894 final float top = characterBounds[offset * 4 + 1]; in populateCharacterBounds()
13895 final float right = characterBounds[offset * 4 + 2]; in populateCharacterBounds()
13896 final float bottom = characterBounds[offset * 4 + 3]; in populateCharacterBounds()
13927 mLayout.fillCharacterBounds(start, end, characterBounds, 0); in getCharacterBounds()
13929 characterBounds[4 * offset] += layoutLeft; in getCharacterBounds()
13930 characterBounds[4 * offset + 1] += layoutTop; in getCharacterBounds()
13931 characterBounds[4 * offset + 2] += layoutLeft; in getCharacterBounds()
13932 characterBounds[4 * offset + 3] += layoutTop; in getCharacterBounds()
13934 return characterBounds; in getCharacterBounds()
[all …]