Lines Matching refs:info
106 final CursorAnchorInfo info = builder.build();
107 assertEquals(SELECTION_START, info.getSelectionStart());
108 assertEquals(SELECTION_END, info.getSelectionEnd());
109 assertEquals(COMPOSING_TEXT_START, info.getComposingTextStart());
110 assertTrue(TextUtils.equals(COMPOSING_TEXT, info.getComposingText()));
111 assertEquals(INSERTION_MARKER_FLAGS, info.getInsertionMarkerFlags());
112 assertEquals(INSERTION_MARKER_HORIZONTAL, info.getInsertionMarkerHorizontal());
113 assertEquals(INSERTION_MARKER_TOP, info.getInsertionMarkerTop());
114 assertEquals(INSERTION_MARKER_BASELINE, info.getInsertionMarkerBaseline());
115 assertEquals(INSERTION_MARKER_BOTOM, info.getInsertionMarkerBottom());
116 assertEquals(TRANSFORM_MATRIX, info.getMatrix());
119 assertEquals(expectedBounds, info.getCharacterBounds(i));
121 assertNull(info.getCharacterBounds(-1));
122 assertNull(info.getCharacterBounds(MANY_BOUNDS.length + 1));
125 assertEquals(expectedFlags, info.getCharacterBoundsFlags(i));
127 assertEquals(0, info.getCharacterBoundsFlags(-1));
128 assertEquals(0, info.getCharacterBoundsFlags(MANY_BOUNDS.length + 1));
154 assertEquals(info, info2);
155 assertEquals(info.hashCode(), info2.hashCode());
181 assertEquals(info.hashCode(), info3.hashCode());