Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/method/cts/
DEditorState.java57 public int mSelectionEnd = -1; field in EditorState
86 mSelectionEnd = -1; in setByString()
107 if (mSelectionStart != -1 || mSelectionEnd != -1) { in setByString()
111 mSelectionStart = mSelectionEnd = sb.length(); in setByString()
119 if (mSelectionEnd != -1) { in setByString()
123 mSelectionEnd = sb.length(); in setByString()
141 if (mSelectionStart == -1 || mSelectionEnd == -1) { in setByString()
142 if (mSelectionEnd != -1) { in setByString()
152 } else if (mSelectionStart > mSelectionEnd) { in setByString()
184 Assert.assertEquals(expected.mSelectionEnd, mSelectionEnd); in assertEquals()
DForwardDeleteTest.java42 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in forwardDelete()
58 state.mSelectionEnd = mTextView.getSelectionEnd(); in forwardDelete()
DBackspaceTest.java42 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in backspace()
58 state.mSelectionEnd = mTextView.getSelectionEnd(); in backspace()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java988 assertEquals("The editor has selection", state.mSelectionStart, state.mSelectionEnd); in moveCursorToRightCursorableOffset()
992 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToRightCursorableOffset()
996 assertEquals("The editor has selection", state.mSelectionStart, state.mSelectionEnd); in moveCursorToLeftCursorableOffset()
1000 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToLeftCursorableOffset()
/cts/tools/dex-tools/dex/
Dclasses.out.dex95452 public int mSelectionEnd