Home
last modified time | relevance | path

Searched refs:focusedEditText (Results 1 – 6 of 6) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DDumpTest.java66 final EditText focusedEditText = new EditText(activity); in test_dumpDoesNotContainEditorText()
67 focusedEditText.setPrivateImeOptions(marker); in test_dumpDoesNotContainEditorText()
68 focusedEditText.setText(text); in test_dumpDoesNotContainEditorText()
69 focusedEditText.getInputExtras(true /* create */).putString(extraKey, extraValue); in test_dumpDoesNotContainEditorText()
70 focusedEditText.requestFocus(); in test_dumpDoesNotContainEditorText()
71 layout.addView(focusedEditText); in test_dumpDoesNotContainEditorText()
DInputMethodManagerTest.java159 final EditText focusedEditText = new EditText(activity); in testIsActive()
160 layout.addView(focusedEditText); in testIsActive()
161 focusedEditTextRef.set(focusedEditText); in testIsActive()
162 focusedEditText.requestFocus(); in testIsActive()
170 final View focusedEditText = focusedEditTextRef.get(); in testIsActive() local
171 waitOnMainUntil(() -> mImManager.hasActiveInputConnection(focusedEditText), TIMEOUT); in testIsActive()
172 assertTrue(getOnMainSync(() -> mImManager.isActive(focusedEditText))); in testIsActive()
DStylusHandwritingTest.java1134 final EditText focusedEditText = editTextPair.first; in testHandwriting_fingerTouchIsIgnored() local
1136 Context context = focusedEditText.getContext(); in testHandwriting_fingerTouchIsIgnored()
1154 int startX = focusedEditText.getWidth() / 2; in testHandwriting_fingerTouchIsIgnored()
1157 int endY = focusedEditText.getHeight() + 2 * touchSlop; in testHandwriting_fingerTouchIsIgnored()
1164 TestUtils.injectStylusDownEvent(stylus, focusedEditText, startX, startY); in testHandwriting_fingerTouchIsIgnored()
1165 TestUtils.injectStylusMoveEvents(stylus, focusedEditText, startX, startY, in testHandwriting_fingerTouchIsIgnored()
1194 focusedEditText.post(focusedEditText::requestFocus); in testHandwriting_fingerTouchIsIgnored()
1197 TestUtils.injectStylusDownEvent(stylus, focusedEditText, startX, startY); in testHandwriting_fingerTouchIsIgnored()
1198 TestUtils.injectStylusMoveEvents(stylus, focusedEditText, startX, startY, in testHandwriting_fingerTouchIsIgnored()
1209 TestUtils.injectStylusMoveEvents(stylus, focusedEditText, endX, endY, in testHandwriting_fingerTouchIsIgnored()
[all …]
DKeyboardVisibilityControlTest.java207 final EditText focusedEditText = new EditText(activity); in launchTestActivity()
208 focusedEditText.setHint("focused editText"); in launchTestActivity()
209 focusedEditText.setPrivateImeOptions(focusedMarker); in launchTestActivity()
210 focusedEditText.requestFocus(); in launchTestActivity()
211 focusedEditTextRef.set(focusedEditText); in launchTestActivity()
212 layout.addView(focusedEditText); in launchTestActivity()
234 final EditText focusedEditText = new EditText(activity); in launchTestActivity2()
235 focusedEditText.setHint("focused editText"); in launchTestActivity2()
236 focusedEditText.setPrivateImeOptions(marker); in launchTestActivity2()
237 focusedEditText.requestFocus(); in launchTestActivity2()
[all …]
DInputMethodStartInputLifecycleTest.java130 final EditText focusedEditText = new EditText(activity) { in testInputConnectionStateWhenScreenStateChanges()
137 focusedEditText.setPrivateImeOptions(marker); in testInputConnectionStateWhenScreenStateChanges()
138 focusedEditText.setHint("editText"); in testInputConnectionStateWhenScreenStateChanges()
139 layout.addView(focusedEditText); in testInputConnectionStateWhenScreenStateChanges()
140 focusedEditText.requestFocus(); in testInputConnectionStateWhenScreenStateChanges()
141 focusedEditTextRef.set(focusedEditText); in testInputConnectionStateWhenScreenStateChanges()
DImeInsetsVisibilityTest.java428 final EditText focusedEditText = new EditText(activity); in launchTestActivity()
429 focusedEditText.setHint("focused editText"); in launchTestActivity()
430 focusedEditText.setPrivateImeOptions(focusedMarker); in launchTestActivity()
432 focusedEditTextRef.set(focusedEditText); in launchTestActivity()
435 layout.addView(focusedEditText); in launchTestActivity()