Searched refs:getCharacterBoundsFlags (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DCursorAnchorInfoTest.java125 assertEquals(expectedFlags, info.getCharacterBoundsFlags(i));
127 assertEquals(0, info.getCharacterBoundsFlags(-1));
128 assertEquals(0, info.getCharacterBoundsFlags(MANY_BOUNDS.length + 1));
150 assertEquals(expectedFlags, info2.getCharacterBoundsFlags(i));
152 assertEquals(0, info2.getCharacterBoundsFlags(-1));
153 assertEquals(0, info2.getCharacterBoundsFlags(MANY_BOUNDS.length + 1));
177 assertEquals(expectedFlags, info3.getCharacterBoundsFlags(i));
179 assertEquals(0, info3.getCharacterBoundsFlags(-1));
180 assertEquals(0, info3.getCharacterBoundsFlags(MANY_BOUNDS.length + 1));
/frameworks/base/core/java/android/view/inputmethod/
H A DCursorAnchorInfo.java106 * Flag for {@link #getInsertionMarkerFlags()} and {@link #getCharacterBoundsFlags(int)}: the
112 * Flag for {@link #getInsertionMarkerFlags()} and {@link #getCharacterBoundsFlags(int)}: the
118 * Flag for {@link #getInsertionMarkerFlags()} and {@link #getCharacterBoundsFlags(int)}: the
517 public int getCharacterBoundsFlags(final int index) { method in class:CursorAnchorInfo

Completed in 87 milliseconds