Home
last modified time | relevance | path

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

/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/view/inputmethod/
DInputMethod.java246 @NonNull EditorInfo editorInfo, boolean restarting, in dispatchStartInputWithToken() argument
249 restartInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
251 startInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
/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.java2073 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
2074 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
DTextView.java13853 @NonNull EditorInfo editorInfo, @Nullable Handler handler) { in onInputConnectionOpenedInternal() argument
13856 editorInfo); in onInputConnectionOpenedInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java170 EditorInfo editorInfo = new EditorInfo(); in getTargetInputMethodUser() local
171 editorInfo.packageName = DUMMY_MESSAGE_APP_PKG; in getTargetInputMethodUser()
172 editorInfo.fieldId = editText.getId(); in getTargetInputMethodUser()
173 InputConnection ic = editText.onCreateInputConnection(editorInfo); in getTargetInputMethodUser()
175 return editorInfo.targetInputMethodUser; in getTargetInputMethodUser()
/frameworks/base/core/tests/coretests/src/android/view/
DViewInputConnectionTest.java252 @NonNull EditorInfo editorInfo, @Nullable Handler handler) { in onInputConnectionOpenedInternal() argument
254 super.onInputConnectionOpenedInternal(inputConnection, editorInfo, handler); in onInputConnectionOpenedInternal()
281 @NonNull EditorInfo editorInfo, @Nullable Handler handler) { in onInputConnectionOpenedInternal() argument
283 super.onInputConnectionOpenedInternal(inputConnection, editorInfo, handler); in onInputConnectionOpenedInternal()
/frameworks/base/core/java/android/inputmethodservice/
DMultiClientInputMethodClientCallbackAdaptor.java322 int missingMethods, @Nullable EditorInfo editorInfo, int controlFlags, in startInputOrWindowGainedFocus() argument
335 args.arg2 = editorInfo; in startInputOrWindowGainedFocus()
439 final EditorInfo editorInfo = (EditorInfo) args.arg2; in startInputOrWindowGainedFocus() local
443 mOriginalCallback.onStartInputOrWindowGainedFocus(inputConnection, editorInfo, in startInputOrWindowGainedFocus()
DMultiClientInputMethodServiceDelegate.java163 @Nullable EditorInfo editorInfo, in onStartInputOrWindowGainedFocus() argument
DInputMethodService.java720 @NonNull EditorInfo editorInfo, boolean restarting, in dispatchStartInputWithToken() argument
725 restartInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
727 startInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
3352 @NonNull EditorInfo editorInfo) { in exposeContentInternal() argument
3355 mPrivOps.createInputContentUriToken(contentUri, editorInfo.packageName); in exposeContentInternal()
3358 + " packageName=" + editorInfo.packageName); in exposeContentInternal()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java1618 @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocus() argument
1623 startInputFlags, softInputMode, windowFlags, editorInfo, inputContext, in startInputOrWindowGainedFocus()
1635 @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocusInternal() argument
1648 editorInfo != null && InputMethodUtils.checkIfPackageBelongsToUid( in startInputOrWindowGainedFocusInternal()
1649 mAppOpsManager, callingUid, editorInfo.packageName); in startInputOrWindowGainedFocusInternal()
1650 if (editorInfo != null && !packageNameVerified) { in startInputOrWindowGainedFocusInternal()
1652 + " uid=" + callingUid + " package=" + editorInfo.packageName); in startInputOrWindowGainedFocusInternal()
1703 if (editorInfo == null) { in startInputOrWindowGainedFocusInternal()
1714 inputContext, missingMethods, editorInfo, startInputFlags, in startInputOrWindowGainedFocusInternal()
1745 inputContext, missingMethods, editorInfo, startInputFlags, in startInputOrWindowGainedFocusInternal()
DInputMethodManagerService.java734 @NonNull EditorInfo editorInfo, @SoftInputModeFlags int targetWindowSoftInputMode, in StartInputInfo() argument
748 mEditorInfo = editorInfo; in StartInputInfo()
784 Entry(ClientState client, EditorInfo editorInfo, String focusedWindowName, in Entry() argument
789 mEditorInfo = editorInfo; in Entry()
4360 final EditorInfo editorInfo = (EditorInfo) args.arg4; in handleMessage() local
4364 editorInfo, restarting); in handleMessage()
/frameworks/base/core/java/android/view/
DView.java15374 @NonNull EditorInfo editorInfo, @Nullable Handler handler) {} in onInputConnectionOpenedInternal() argument