/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | CtsBaseInputMethod.java | 138 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/ |
D | MultiUserDeviceTest.java | 95 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/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 157 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher() field in ImeEventStreamTestUtils 158 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher() 184 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); 186 return (TextUtils.equals(marker, editorInfo.privateImeOptions) && !restarting ); 202 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); 203 return fieldId == editorInfo.fieldId;
|
D | MockIme.java | 785 public void onStartInput(EditorInfo editorInfo, boolean restarting) { in onStartInput() argument 786 getTracer().onStartInput(editorInfo, restarting, in onStartInput() 787 () -> super.onStartInput(editorInfo, restarting)); in onStartInput() 791 public void onStartInputView(EditorInfo editorInfo, boolean restarting) { in onStartInputView() argument 792 getTracer().onStartInputView(editorInfo, restarting, in onStartInputView() 793 () -> super.onStartInputView(editorInfo, restarting)); in onStartInputView() 1123 void onStartInput(EditorInfo editorInfo, boolean restarting, @NonNull Runnable runnable) { 1125 arguments.putParcelable("editorInfo", editorInfo); 1136 void onStartInputView(EditorInfo editorInfo, boolean restarting, 1139 arguments.putParcelable("editorInfo", editorInfo);
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | EditTextImeSupportTest.java | 154 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()
|
D | OnScreenPositionTest.java | 111 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testImeIsNotBehindNavBar() 112 return TextUtils.equals(TEST_MARKER, editorInfo.privateImeOptions); in testImeIsNotBehindNavBar()
|
D | EditorInfoTest.java | 302 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()
|
D | NavigationBarColorTest.java | 272 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in getNavigationBarBitmap() 273 return TextUtils.equals(TEST_MARKER, editorInfo.privateImeOptions); in getNavigationBarBitmap()
|
D | FocusHandlingTest.java | 347 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testFocusableWindowDoesNotInvalidateExistingInputConnection() 348 return TextUtils.equals(marker2, editorInfo.privateImeOptions); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
|
D | KeyboardVisibilityControlTest.java | 125 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher() field in KeyboardVisibilityControlTest 126 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher()
|
D | InputMethodServiceTest.java | 378 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 380 super.onCreateInputConnection(editorInfo), false) {
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ImeAwareEditText.java | 59 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument 60 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 145 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 …]
|
D | TextViewTest.java | 5643 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/ |
D | MultiDisplaySystemDecorationTests.java | 461 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testImeApiForBug118341760() 462 return TextUtils.equals(editorInfo.packageName, mContext.getPackageName()) in testImeApiForBug118341760() 463 && TextUtils.equals(editorInfo.privateImeOptions, privateImeOption); in testImeApiForBug118341760()
|