Home
last modified time | relevance | path

Searched refs:editorInfo (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCtsBaseInputMethod.java138 public void onStartInput(EditorInfo editorInfo, boolean restarting) { in onStartInput() argument
141 + " editorInfo=" + editorInfo in onStartInput()
144 sendEvent(ON_START_INPUT, editorInfo, restarting); in onStartInput()
146 super.onStartInput(editorInfo, restarting); in onStartInput()
148 if (editorInfo.extras != null) { in onStartInput()
150 editorInfo.extras.getString(EDITOR_INFO_KEY_REPLY_USER_HANDLE_SESSION_ID, null); in onStartInput()
162 public void onStartInputView(EditorInfo editorInfo, boolean restarting) { in onStartInputView() argument
165 + " editorInfo=" + editorInfo in onStartInputView()
168 sendEvent(ON_START_INPUT_VIEW, editorInfo, restarting); in onStartInputView()
170 super.onStartInputView(editorInfo, restarting); in onStartInputView()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DMultiUserDeviceTest.java95 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in testConnectingToTheSameUserIme()
96 final InputConnection original = super.onCreateInputConnection(editorInfo); in testConnectingToTheSameUserIme()
97 if (editorInfo.extras == null) { in testConnectingToTheSameUserIme()
98 editorInfo.extras = new Bundle(); in testConnectingToTheSameUserIme()
100 editorInfo.extras.putString( in testConnectingToTheSameUserIme()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditTextImeSupportTest.java154 private static void assertInitialSurroundingText(@NonNull EditorInfo editorInfo, in assertInitialSurroundingText() argument
169 editorInfo.getInitialTextBeforeCursor(expectedTextLength, 0)); in assertInitialSurroundingText()
171 editorInfo.getInitialSelectedText(0)); in assertInitialSurroundingText()
173 editorInfo.getInitialTextAfterCursor(expectedTextLength, 0)); in assertInitialSurroundingText()
176 editorInfo.getInitialSurroundingText(expectedTextLength, expectedTextLength, 0); in assertInitialSurroundingText()
DEditorInfoTest.java302 private static void assertExpectedTextLength(EditorInfo editorInfo, in assertExpectedTextLength() argument
307 editorInfo.getInitialTextBeforeCursor(REQUEST_LONGEST_AVAILABLE_TEXT, in assertExpectedTextLength()
310 editorInfo.getInitialSelectedText(InputConnection.GET_TEXT_WITH_STYLES); in assertExpectedTextLength()
312 editorInfo.getInitialTextAfterCursor(REQUEST_LONGEST_AVAILABLE_TEXT, in assertExpectedTextLength()
314 final SurroundingText surroundingText = editorInfo.getInitialSurroundingText( in assertExpectedTextLength()
DOnScreenPositionTest.java111 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testImeIsNotBehindNavBar()
112 return TextUtils.equals(TEST_MARKER, editorInfo.privateImeOptions); in testImeIsNotBehindNavBar()
DNavigationBarColorTest.java272 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in getNavigationBarBitmap()
273 return TextUtils.equals(TEST_MARKER, editorInfo.privateImeOptions); in getNavigationBarBitmap()
DFocusHandlingTest.java345 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
346 return TextUtils.equals(marker2, editorInfo.privateImeOptions); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
DInputMethodServiceTest.java378 public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
380 super.onCreateInputConnection(editorInfo), false) {
DKeyboardVisibilityControlTest.java148 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher() field in KeyboardVisibilityControlTest
149 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DImeAwareEditText.java59 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
60 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java157 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher() field in ImeEventStreamTestUtils
158 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher()
183 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo");
184 return fieldId == editorInfo.fieldId;
DMockIme.java759 public void onStartInput(EditorInfo editorInfo, boolean restarting) { in onStartInput() argument
760 getTracer().onStartInput(editorInfo, restarting, in onStartInput()
761 () -> super.onStartInput(editorInfo, restarting)); in onStartInput()
765 public void onStartInputView(EditorInfo editorInfo, boolean restarting) { in onStartInputView() argument
766 getTracer().onStartInputView(editorInfo, restarting, in onStartInputView()
767 () -> super.onStartInputView(editorInfo, restarting)); in onStartInputView()
1091 void onStartInput(EditorInfo editorInfo, boolean restarting, @NonNull Runnable runnable) {
1093 arguments.putParcelable("editorInfo", editorInfo);
1104 void onStartInputView(EditorInfo editorInfo, boolean restarting,
1107 arguments.putParcelable("editorInfo", editorInfo);
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewReceiveContentTest.java145 EditorInfo editorInfo = new EditorInfo(); in testTextView_onCreateInputConnection_noCustomReceiver() local
146 InputConnection ic = mTextView.onCreateInputConnection(editorInfo); in testTextView_onCreateInputConnection_noCustomReceiver()
148 assertThat(editorInfo.contentMimeTypes).isNull(); in testTextView_onCreateInputConnection_noCustomReceiver()
161 EditorInfo editorInfo = new EditorInfo(); in testTextView_onCreateInputConnection_customReceiver() local
162 InputConnection ic = mTextView.onCreateInputConnection(editorInfo); in testTextView_onCreateInputConnection_customReceiver()
164 assertThat(editorInfo.contentMimeTypes).isEqualTo(receiverMimeTypes); in testTextView_onCreateInputConnection_customReceiver()
179 EditorInfo editorInfo = new EditorInfo(); in testTextView_onCreateInputConnection_customReceiver_oldTargetSdk() local
180 InputConnection ic = mTextView.onCreateInputConnection(editorInfo); in testTextView_onCreateInputConnection_customReceiver_oldTargetSdk()
182 assertThat(editorInfo.contentMimeTypes).isEqualTo(receiverMimeTypes); in testTextView_onCreateInputConnection_customReceiver_oldTargetSdk()
843 EditorInfo editorInfo = new EditorInfo(); in triggerImeCommitContent() local
[all …]
DTextViewTest.java5643 final EditorInfo editorInfo = new EditorInfo(); in testAccessImeHintLocales() local
5644 textView.onCreateInputConnection(editorInfo); in testAccessImeHintLocales()
5645 assertNull(editorInfo.hintLocales); in testAccessImeHintLocales()
5652 final EditorInfo editorInfo = new EditorInfo(); in testAccessImeHintLocales() local
5653 textView.onCreateInputConnection(editorInfo); in testAccessImeHintLocales()
5654 assertEquals(localeList, editorInfo.hintLocales); in testAccessImeHintLocales()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplaySystemDecorationTests.java458 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testImeApiForBug118341760()
459 return TextUtils.equals(editorInfo.packageName, mContext.getPackageName()) in testImeApiForBug118341760()
460 && TextUtils.equals(editorInfo.privateImeOptions, privateImeOption); in testImeApiForBug118341760()