Home
last modified time | relevance | path

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

/frameworks/support/v13/java/android/support/v13/view/inputmethod/
DEditorInfoCompat.java73 void setContentMimeTypes(@NonNull EditorInfo editorInfo, in setContentMimeTypes() argument
76 String[] getContentMimeTypes(@NonNull EditorInfo editorInfo); in getContentMimeTypes() argument
86 public void setContentMimeTypes(@NonNull EditorInfo editorInfo, in setContentMimeTypes() argument
88 if (editorInfo.extras == null) { in setContentMimeTypes()
89 editorInfo.extras = new Bundle(); in setContentMimeTypes()
91 editorInfo.extras.putStringArray(CONTENT_MIME_TYPES_KEY, contentMimeTypes); in setContentMimeTypes()
96 public String[] getContentMimeTypes(@NonNull EditorInfo editorInfo) { in getContentMimeTypes() argument
97 if (editorInfo.extras == null) { in getContentMimeTypes()
100 String[] result = editorInfo.extras.getStringArray(CONTENT_MIME_TYPES_KEY); in getContentMimeTypes()
108 public void setContentMimeTypes(@NonNull EditorInfo editorInfo, in setContentMimeTypes() argument
[all …]
DInputConnectionCompat.java45 @NonNull EditorInfo editorInfo, @NonNull OnCommitContentListener callback); in createWrapper() argument
82 @NonNull EditorInfo editorInfo, in createWrapper() argument
84 String[] contentMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); in createWrapper()
147 @Nullable InputConnection inputConnection, @NonNull EditorInfo editorInfo,
185 @NonNull EditorInfo editorInfo, @NonNull InputContentInfoCompat inputContentInfo,
189 for (String mimeType : EditorInfoCompat.getContentMimeTypes(editorInfo)) {
268 @NonNull EditorInfo editorInfo,
273 if (editorInfo == null) {
279 return IMPL.createWrapper(inputConnection, editorInfo, onCommitContentListener);
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java181 @NonNull EditorInfo editorInfo, boolean restarting, in dispatchStartInputWithToken() argument
184 restartInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
186 startInput(inputConnection, editorInfo); in dispatchStartInputWithToken()
DInputMethodManager.java2342 @NonNull EditorInfo editorInfo) { in exposeContent() argument
2347 editorInfo.packageName); in exposeContent()
2353 + " packageName=" + editorInfo.packageName, e); in exposeContent()
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/
DCommitContentSupport.java210 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in createEditTextWithContentMimeTypes()
211 final InputConnection ic = super.onCreateInputConnection(editorInfo); in createEditTextWithContentMimeTypes()
212 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); in createEditTextWithContentMimeTypes()
222 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); in createEditTextWithContentMimeTypes()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiCompatTest.java629 final EditorInfo editorInfo = new EditorInfo(); in testUpdateEditorInfoAttrs_doesNotSetKeyIfNotInitialized() local
630 editorInfo.extras = new Bundle(); in testUpdateEditorInfoAttrs_doesNotSetKeyIfNotInitialized()
636 EmojiCompat.get().updateEditorInfoAttrs(editorInfo); in testUpdateEditorInfoAttrs_doesNotSetKeyIfNotInitialized()
638 final Bundle extras = editorInfo.extras; in testUpdateEditorInfoAttrs_doesNotSetKeyIfNotInitialized()
648 final EditorInfo editorInfo = new EditorInfo(); in testUpdateEditorInfoAttrs_setsKeysIfInitialized() local
649 editorInfo.extras = new Bundle(); in testUpdateEditorInfoAttrs_setsKeysIfInitialized()
652 EmojiCompat.get().updateEditorInfoAttrs(editorInfo); in testUpdateEditorInfoAttrs_setsKeysIfInitialized()
654 final Bundle extras = editorInfo.extras; in testUpdateEditorInfoAttrs_setsKeysIfInitialized()
662 EmojiCompat.get().updateEditorInfoAttrs(editorInfo); in testUpdateEditorInfoAttrs_setsKeysIfInitialized()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1976 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
1977 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
/frameworks/base/core/java/android/widget/
DSearchView.java2039 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
2040 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java438 @NonNull EditorInfo editorInfo, boolean restarting, in dispatchStartInputWithToken() argument
445 super.dispatchStartInputWithToken(inputConnection, editorInfo, restarting, in dispatchStartInputWithToken()