Searched refs:editorInfo (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/ |
D | ImageKeyboard.java | 65 @Nullable EditorInfo editorInfo, @NonNull String mimeType) { in isCommitContentSupported() 66 if (editorInfo == null) { in isCommitContentSupported() 75 if (!validatePackageName(editorInfo)) { in isCommitContentSupported() 79 final String[] supportedMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); in isCommitContentSupported() 90 final EditorInfo editorInfo = getCurrentInputEditorInfo(); in doCommitContent() local 93 if (!validatePackageName(editorInfo)) { in doCommitContent() 119 editorInfo.packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION); in doCommitContent() 121 Log.e(TAG, "grantUriPermission failed packageName=" + editorInfo.packageName in doCommitContent() 135 private boolean validatePackageName(@Nullable EditorInfo editorInfo) { in validatePackageName() argument 136 if (editorInfo == null) { in validatePackageName() [all …]
|
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/ |
D | MainActivity.java | 207 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in createEditTextWithContentMimeTypes() 208 final InputConnection ic = super.onCreateInputConnection(editorInfo); in createEditTextWithContentMimeTypes() 209 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); in createEditTextWithContentMimeTypes() 219 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); in createEditTextWithContentMimeTypes()
|
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ |
D | ClientCallbackImpl.java | 135 EditorInfo editorInfo, int startInputFlags, int softInputMode, int targetWindowHandle) { in onStartInputOrWindowGainedFocus() argument 138 + " editorInfo=" + editorInfo in onStartInputOrWindowGainedFocus() 166 if (inputConnection == null || editorInfo == null) { in onStartInputOrWindowGainedFocus()
|