Home
last modified time | relevance | path

Searched refs:testEditor (Results 1 – 3 of 3) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionLifecycleTest.java118 final TestEditor testEditor = new TestEditor(activity) { in testCloseConnectionWithRestartInput()
141 testEditorRef.set(testEditor); in testCloseConnectionWithRestartInput()
143 testEditor.requestFocus(); in testCloseConnectionWithRestartInput()
144 layout.addView(testEditor); in testCloseConnectionWithRestartInput()
154 final TestEditor testEditor = testEditorRef.get(); in testCloseConnectionWithRestartInput() local
156 testEditor.getContext().getSystemService(InputMethodManager.class)); in testCloseConnectionWithRestartInput()
157 imm.restartInput(testEditor); in testCloseConnectionWithRestartInput()
197 final TestEditor testEditor = new TestEditor(activity) { in testCloseConnectionWithLosingViewFocus()
221 testEditor.requestFocus(); in testCloseConnectionWithLosingViewFocus()
222 layout.addView(testEditor); in testCloseConnectionWithLosingViewFocus()
[all …]
DInputConnectionHandlerTest.java183 final TestEditor testEditor = new TestEditor(activity) { in testCommitText()
200 testEditor.requestFocus(); in testCommitText()
201 layout.addView(testEditor); in testCommitText()
250 final TestEditor testEditor = new TestEditor(activity) { in testCloseConnectionWithRestartInput()
274 testEditorRef.set(testEditor); in testCloseConnectionWithRestartInput()
276 testEditor.requestFocus(); in testCloseConnectionWithRestartInput()
277 layout.addView(testEditor); in testCloseConnectionWithRestartInput()
287 final TestEditor testEditor = testEditorRef.get(); in testCloseConnectionWithRestartInput() local
289 testEditor.getContext().getSystemService(InputMethodManager.class)); in testCloseConnectionWithRestartInput()
290 imm.restartInput(testEditor); in testCloseConnectionWithRestartInput()
[all …]
DInProcessImeTest.java116 final TestEditor testEditor = new TestEditor(activity) { in testOnUpdateSelectionForInProcessIme()
124 layout.addView(testEditor); in testOnUpdateSelectionForInProcessIme()
125 testEditor.requestFocus(); in testOnUpdateSelectionForInProcessIme()
126 testEditorRef.set(testEditor); in testOnUpdateSelectionForInProcessIme()
159 final TestEditor testEditor = testEditorRef.get(); in testOnUpdateSelectionForInProcessIme() local
161 testEditor.getContext().getSystemService(InputMethodManager.class); in testOnUpdateSelectionForInProcessIme()
164 imm.updateSelection(testEditor, expectedNewSelStart, expectedNewSelEnd, -1, -1); in testOnUpdateSelectionForInProcessIme()