Home | History | Annotate | Download | only in inputmethod

Lines Matching refs:info2

131         final CursorAnchorInfo info2 = builder.build();
132 assertEquals(SELECTION_START, info2.getSelectionStart());
133 assertEquals(SELECTION_END, info2.getSelectionEnd());
134 assertEquals(COMPOSING_TEXT_START, info2.getComposingTextStart());
135 assertTrue(TextUtils.equals(COMPOSING_TEXT, info2.getComposingText()));
136 assertEquals(INSERTION_MARKER_FLAGS, info2.getInsertionMarkerFlags());
137 assertEquals(INSERTION_MARKER_HORIZONTAL, info2.getInsertionMarkerHorizontal());
138 assertEquals(INSERTION_MARKER_TOP, info2.getInsertionMarkerTop());
139 assertEquals(INSERTION_MARKER_BASELINE, info2.getInsertionMarkerBaseline());
140 assertEquals(INSERTION_MARKER_BOTOM, info2.getInsertionMarkerBottom());
141 assertEquals(TRANSFORM_MATRIX, info2.getMatrix());
144 assertEquals(expectedBounds, info2.getCharacterBounds(i));
146 assertNull(info2.getCharacterBounds(-1));
147 assertNull(info2.getCharacterBounds(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));
154 assertEquals(info, info2);
155 assertEquals(info.hashCode(), info2.hashCode());
158 final CursorAnchorInfo info3 = cloneViaParcel(info2);