Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DEditorInfoTest.java59 final EditorInfo editorInfo = new EditorInfo(); in testNullTargetInputMethodUserParcelable() local
60 editorInfo.targetInputMethodUser = null; in testNullTargetInputMethodUserParcelable()
61 assertNull(cloneViaParcel(editorInfo).targetInputMethodUser); in testNullTargetInputMethodUserParcelable()
70 final EditorInfo editorInfo = new EditorInfo(); in testNonNullTargetInputMethodUserParcelable() local
71 editorInfo.targetInputMethodUser = UserHandle.of(TEST_USER_ID); in testNonNullTargetInputMethodUserParcelable()
72 assertEquals(UserHandle.of(TEST_USER_ID), cloneViaParcel(editorInfo).targetInputMethodUser); in testNonNullTargetInputMethodUserParcelable()
92 final EditorInfo editorInfo = new EditorInfo(); in setInitialText_nullInputText_throwsException() local
95 editorInfo.setInitialSurroundingText(testText); in setInitialText_nullInputText_throwsException()
106 final EditorInfo editorInfo = new EditorInfo(); in setInitialText_cursorAtHead_dividesByCursorPosition() local
108 editorInfo.initialSelStart = 0; in setInitialText_cursorAtHead_dividesByCursorPosition()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityInputMethodSessionWrapper.java100 public void invalidateInput(EditorInfo editorInfo, in invalidateInput() argument
103 doInvalidateInput(editorInfo, connection, sessionId); in invalidateInput()
105 mHandler.post(() -> doInvalidateInput(editorInfo, connection, sessionId)); in invalidateInput()
109 private void doInvalidateInput(EditorInfo editorInfo, in doInvalidateInput() argument
113 session.invalidateInput(editorInfo, connection, sessionId); in doInvalidateInput()
DInputMethod.java518 public void invalidateInput(EditorInfo editorInfo, in invalidateInput() argument
525 editorInfo.makeCompatible(mService.getApplicationInfo().targetSdkVersion); in invalidateInput()
527 editorInfo); in invalidateInput()
DAccessibilityInputMethodSession.java29 void invalidateInput(EditorInfo editorInfo, IRemoteAccessibilityInputConnection connection, in invalidateInput() argument
DIAccessibilityServiceClient.aidl79 void startInput(in IRemoteAccessibilityInputConnection connection, in EditorInfo editorInfo, in startInput() argument
DAccessibilityService.java640 @NonNull EditorInfo editorInfo, boolean restarting); in startInput() argument
2740 @NonNull EditorInfo editorInfo, boolean restarting) { in onBind() argument
2743 mInputMethod.restartInput(connection, editorInfo); in onBind()
2745 mInputMethod.startInput(connection, editorInfo); in onBind()
2940 EditorInfo editorInfo, boolean restarting) {
2946 connection, editorInfo, mCancellationGroup, restarting ? 1 : 0,
/frameworks/base/services/core/java/com/android/server/
DAccessibilityManagerInternal.java50 EditorInfo editorInfo, boolean restarting); in startInput() argument
72 EditorInfo editorInfo, boolean restarting) {
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java247 @NonNull EditorInfo editorInfo, boolean restarting, in dispatchStartInputWithToken() argument
251 restartInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
253 startInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
DIAccessibilityInputMethodSessionInvoker.java76 void invalidateInput(EditorInfo editorInfo, IRemoteAccessibilityInputConnection connection, in invalidateInput() argument
79 mSession.invalidateInput(editorInfo, connection, sessionId); in invalidateInput()
DInputMethodSessionWrapper.java138 void invalidateInput(EditorInfo editorInfo, IInputContext inputContext, int sessionId) { in invalidateInput() argument
140 mSession.invalidateInput(editorInfo, inputContext, sessionId); in invalidateInput()
DInputMethodSession.java215 default void invalidateInputInternal(EditorInfo editorInfo, IInputContext inputContext, in invalidateInputInternal() argument
DInputMethodManager.java2188 final EditorInfo editorInfo = mCurrentTextBoxAttribute.createCopyInternal(); in doInvalidateInput() local
2189 editorInfo.initialSelStart = mCursorSelStart = textSnapshot.getSelectionStart(); in doInvalidateInput()
2190 editorInfo.initialSelEnd = mCursorSelEnd = textSnapshot.getSelectionEnd(); in doInvalidateInput()
2193 editorInfo.initialCapsMode = textSnapshot.getCursorCapsMode(); in doInvalidateInput()
2194 editorInfo.setInitialSurroundingTextInternal(textSnapshot.getSurroundingText()); in doInvalidateInput()
2195 mCurrentInputMethodSession.invalidateInput(editorInfo, mServedInputConnection, in doInvalidateInput()
2199 forAccessibilitySessionsLocked(wrapper -> wrapper.invalidateInput(editorInfo, in doInvalidateInput()
/frameworks/base/core/java/android/widget/
DImeAwareEditText.java63 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
64 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
DTextViewOnReceiveContentListener.java218 @NonNull EditorInfo editorInfo) { in setInputConnectionInfo() argument
223 String[] contentMimeTypes = editorInfo.contentMimeTypes; in setInputConnectionInfo()
DSearchView.java2080 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
2081 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
/frameworks/base/core/java/com/android/internal/inputmethod/
DIAccessibilityInputMethodSession.aidl42 void invalidateInput(in EditorInfo editorInfo, in invalidateInput() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java210 EditorInfo editorInfo = new EditorInfo(); in getTargetInputMethodUser() local
211 editorInfo.packageName = DUMMY_MESSAGE_APP_PKG; in getTargetInputMethodUser()
212 editorInfo.fieldId = editText.getId(); in getTargetInputMethodUser()
213 InputConnection ic = editText.onCreateInputConnection(editorInfo); in getTargetInputMethodUser()
215 return editorInfo.targetInputMethodUser; in getTargetInputMethodUser()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodSession.aidl57 void invalidateInput(in EditorInfo editorInfo, in IInputContext inputContext, int sessionId); in invalidateInput() argument
/frameworks/base/core/tests/coretests/src/android/view/
DViewInputConnectionTest.java275 @NonNull EditorInfo editorInfo, @Nullable Handler handler) { in onInputConnectionOpenedInternal() argument
277 super.onInputConnectionOpenedInternal(inputConnection, editorInfo, handler); in onInputConnectionOpenedInternal()
304 @NonNull EditorInfo editorInfo, @Nullable Handler handler) { in onInputConnectionOpenedInternal() argument
306 super.onInputConnectionOpenedInternal(inputConnection, editorInfo, handler); in onInputConnectionOpenedInternal()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java224 public void invalidateInput(EditorInfo editorInfo, IInputContext inputContext, int sessionId) { in invalidateInput() argument
226 DO_INVALIDATE_INPUT, sessionId, editorInfo, inputContext)); in invalidateInput()
DInputMethodService.java808 @NonNull EditorInfo editorInfo, boolean restarting, in dispatchStartInputWithToken() argument
814 restartInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
816 startInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
1256 public final void invalidateInputInternal(@NonNull EditorInfo editorInfo, in invalidateInputInternal() argument
1267 editorInfo.makeCompatible(getApplicationInfo().targetSdkVersion); in invalidateInputInternal()
1269 editorInfo); in invalidateInputInternal()
3737 @NonNull EditorInfo editorInfo) { in createInputMethodServiceInternal() argument
3740 mPrivOps.createInputContentUriToken(contentUri, editorInfo.packageName); in createInputMethodServiceInternal()
3743 + contentUri.toString() + " packageName=" + editorInfo.packageName); in createInputMethodServiceInternal()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java1663 EditorInfo editorInfo, boolean restarting) { in startInputLocked() argument
1664 mInvocationHandler.startInputLocked(connection, editorInfo, restarting); in startInputLocked()
1858 EditorInfo editorInfo, boolean restarting) { in startInputInternal() argument
1863 logTraceSvcClient("startInput", "editorInfo=" + editorInfo in startInputInternal()
1866 listener.startInput(connection, editorInfo, restarting); in startInputInternal()
2141 final EditorInfo editorInfo = (EditorInfo) args.arg2; in handleMessage() local
2142 startInputInternal(connection, editorInfo, restarting); in handleMessage()
2232 EditorInfo editorInfo, boolean restarting) { in startInputLocked() argument
2235 args.arg2 = editorInfo; in startInputLocked()
DAccessibilityManagerService.java358 EditorInfo editorInfo, boolean restarting) { in startInput() argument
359 mService.scheduleStartInput(remoteAccessibilityInputConnection, editorInfo, restarting); in startInput()
4511 EditorInfo editorInfo, boolean restarting) { in scheduleStartInput() argument
4513 connection, editorInfo, restarting)); in scheduleStartInput()
4516 private void startInput(IRemoteAccessibilityInputConnection connection, EditorInfo editorInfo, in startInput() argument
4521 mEditorInfo = editorInfo; in startInput()
4527 service.startInputLocked(connection, editorInfo, restarting); in startInput()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DHandwritingInitiatorPerfTest.java190 final EditorInfo editorInfo = new EditorInfo(); in onInputConnectionCreated() local
/frameworks/base/core/java/android/app/
DUiAutomation.java1582 @NonNull EditorInfo editorInfo, boolean restarting) { in IAccessibilityServiceClientImpl()

12