Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/method/cts/
DMetaKeyKeyListenerTest.java59 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); in testPressKey()
65 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); in testPressKey()
71 content.setSpan(Selection.SELECTION_END, 3, 3, Spanned.SPAN_POINT_POINT); in testPressKey()
85 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); in testReleaseKey()
91 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); in testReleaseKey()
97 content.setSpan(Selection.SELECTION_END, 3, 3, Spanned.SPAN_POINT_POINT); in testReleaseKey()
109 content.setSpan( Selection.SELECTION_END, len, len, Spanned.SPAN_POINT_POINT); in testAdjustMetaAfterKeypress()
112 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()
118 content.setSpan( Selection.SELECTION_END, len, len, Spanned.SPAN_POINT_POINT); in testAdjustMetaAfterKeypress()
121 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()
[all …]
DEditorState.java52 private static final String SELECTION_END = "]"; field in EditorState
118 } else if (token.equals(SELECTION_END)) { in setByString()
DTextKeyListenerTest.java156 textKeyListener.onSpanChanged(text, Selection.SELECTION_END, 0, 0, 0, 0); in testOnSpanChanged()
164 textKeyListener.onSpanChanged(null, Selection.SELECTION_END, 0, 0, 0, 0); in testOnSpanChangedNull()
DMultiTapKeyListenerTest.java100 multiTapKeyListener.onSpanChanged(text, Selection.SELECTION_END, 0, 0, 0, 0); in testOnSpanChanged()
103 multiTapKeyListener.onSpanChanged(null, Selection.SELECTION_END, 0, 0, 0, 0); in testOnSpanChanged()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java487 editable.removeSpan(Selection.SELECTION_END);