Searched refs:editorInfo (Results 1 – 4 of 4) sorted by relevance
/development/samples/SampleInputMethodAccessibilityService/src/com/example/android/sampleinputmethodaccessibilityservice/ |
D | EditorInfoUtil.java | 31 static String dump(@Nullable EditorInfo editorInfo) { in dump() argument 32 if (editorInfo == null) { in dump() 36 dump(sb, editorInfo); in dump() 40 static void dump(@NonNull StringBuilder sb, @NonNull EditorInfo editorInfo) { in dump() argument 41 sb.append("packageName=").append(editorInfo.packageName).append("\n") in dump() 43 dumpInputType(sb, editorInfo.inputType); in dump() 46 dumpImeOptions(sb, editorInfo.imeOptions); in dump() 48 sb.append("initialSelection=(").append(editorInfo.initialSelStart) in dump() 49 .append(",").append(editorInfo.initialSelEnd).append(")"); in dump() 52 dumpCapsMode(sb, editorInfo.initialCapsMode); in dump()
|
/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/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/ |
D | VdmProxyIme.java | 41 public void onStartInputView(EditorInfo editorInfo, boolean restarting) { in onStartInputView() argument 42 super.onStartInputView(editorInfo, restarting); in onStartInputView()
|
/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()
|