/frameworks/support/v13/api25/android/support/v13/view/inputmethod/ |
EditorInfoCompatApi25.java | 20 import android.view.inputmethod.EditorInfo; 23 public static void setContentMimeTypes(EditorInfo editorInfo, String[] contentMimeTypes) { 24 editorInfo.contentMimeTypes = contentMimeTypes; 27 public static String[] getContentMimeTypes(EditorInfo editorInfo) { 28 return editorInfo.contentMimeTypes;
|
/frameworks/support/v13/java/android/support/v13/view/inputmethod/ |
EditorInfoCompat.java | 23 import android.view.inputmethod.EditorInfo; 29 void setContentMimeTypes(@NonNull EditorInfo editorInfo, 32 String[] getContentMimeTypes(@NonNull EditorInfo editorInfo); 42 public void setContentMimeTypes(@NonNull EditorInfo editorInfo, 44 if (editorInfo.extras == null) { 45 editorInfo.extras = new Bundle(); 47 editorInfo.extras.putStringArray(CONTENT_MIME_TYPES_KEY, contentMimeTypes) [all...] |
InputConnectionCompat.java | 27 import android.view.inputmethod.EditorInfo; 43 @NonNull EditorInfo editorInfo, @NonNull OnCommitContentListener callback); 80 @NonNull EditorInfo editorInfo, 82 String[] contentMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); 144 @Nullable InputConnection inputConnection, @NonNull EditorInfo editorInfo, 174 * @param editorInfo {@link EditorInfo} associated with the given {@code inputConnection [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
KlpActionCustomTests.java | 20 import android.view.inputmethod.EditorInfo; 30 final EditorInfo editorInfo = new EditorInfo(); 31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; 32 editorInfo.actionLabel = "customLabel"; 34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
|
LxxActionCustomTests.java | 20 import android.view.inputmethod.EditorInfo; 30 final EditorInfo editorInfo = new EditorInfo(); 31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; 32 editorInfo.actionLabel = "customLabel"; 34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
|
ActionTestsBase.java | 22 import android.view.inputmethod.EditorInfo; 91 final EditorInfo editorInfo = new EditorInfo(); 92 editorInfo.imeOptions = actionId; 93 doTestActionKey(tag, subtype, editorInfo, expectedKey); 97 final EditorInfo editorInfo, final ExpectedActionKey expectedKey) { 99 editorInfo.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; 100 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputAttributes.java | 25 import android.view.inputmethod.EditorInfo; 54 final private EditorInfo mEditorInfo; 57 public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode, 59 mEditorInfo = editorInfo; 61 mTargetApplicationPackageName = null != editorInfo ? editorInfo.packageName : null; 62 final int inputType = null != editorInfo ? editorInfo.inputType : 0; 72 if (null == editorInfo) { [all...] |
LatinIME.java | 53 import android.view.inputmethod.EditorInfo; 410 private EditorInfo mAppliedEditorInfo; 431 private void executePendingImsCallback(final LatinIME latinIme, final EditorInfo editorInfo, 440 latinIme.onStartInputInternal(editorInfo, restarting); 445 public void onStartInput(final EditorInfo editorInfo, final boolean restarting) { 457 executePendingImsCallback(latinIme, editorInfo, restarting); 458 latinIme.onStartInputInternal(editorInfo, restarting); 463 public void onStartInputView(final EditorInfo editorInfo, final boolean restarting) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
InputTypeUtils.java | 20 import android.view.inputmethod.EditorInfo; 38 public static final int IME_ACTION_CUSTOM_LABEL = EditorInfo.IME_MASK_ACTION + 1; 107 public static int getImeOptionsActionIdFromEditorInfo(final EditorInfo editorInfo) { 108 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { 109 return EditorInfo.IME_ACTION_NONE; 110 } else if (editorInfo.actionLabel != null) { 113 // Note: this is different from editorInfo.actionId, hence "ImeOptionsActionId" 114 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
EditorInfoCompatUtils.java | 19 import android.view.inputmethod.EditorInfo; 25 // Note that EditorInfo.IME_FLAG_FORCE_ASCII has been introduced 28 EditorInfo.class, "IME_FLAG_FORCE_ASCII"); 32 EditorInfo.class, "hintLocales"); 44 final int actionId = imeOptions & EditorInfo.IME_MASK_ACTION; 46 case EditorInfo.IME_ACTION_UNSPECIFIED: 48 case EditorInfo.IME_ACTION_NONE: 50 case EditorInfo.IME_ACTION_GO: 52 case EditorInfo.IME_ACTION_SEARCH: 54 case EditorInfo.IME_ACTION_SEND [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
TestsSplitLayoutQwertyEnglishUS.java | 20 import android.view.inputmethod.EditorInfo; 41 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 43 return super.createKeyboardLayoutSet(subtype, editorInfo, voiceInputKeyEnabled,
|
TestsQwertyEmail.java | 21 import android.view.inputmethod.EditorInfo; 45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 47 final EditorInfo emailField = new EditorInfo();
|
TestsQwertyUrl.java | 21 import android.view.inputmethod.EditorInfo; 45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 47 final EditorInfo emailField = new EditorInfo();
|
TestsDvorakEmail.java | 21 import android.view.inputmethod.EditorInfo; 47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 49 final EditorInfo emailField = new EditorInfo();
|
TestsDvorakUrl.java | 21 import android.view.inputmethod.EditorInfo; 47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 49 final EditorInfo emailField = new EditorInfo();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
AccessibilityUtils.java | 33 import android.view.inputmethod.EditorInfo; 130 public boolean shouldObscureInput(final EditorInfo editorInfo) { 131 if (editorInfo == null) return false; 146 return InputTypeUtils.isPasswordInputType(editorInfo.inputType); 244 * @param editorInfo The input connection's editor info attribute. 247 public void onStartInputViewInternal(final View view, final EditorInfo editorInfo, 249 if (shouldObscureInput(editorInfo)) {
|
KeyboardAccessibilityNodeProvider.java | 29 import android.view.inputmethod.EditorInfo; 324 final EditorInfo editorInfo = mKeyboard.mId.mEditorInfo; 325 final boolean shouldObscure = mAccessibilityUtils.shouldObscureInput(editorInfo);
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/touchinputconsumer/ |
GestureConsumer.java | 19 import android.view.inputmethod.EditorInfo; 41 final EditorInfo editorInfo, final PrivateCommandPerformer commandPerformer,
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/ |
CommitContentSupport.java | 34 import android.view.inputmethod.EditorInfo; 194 * MIME types to {@link EditorInfo#contentMimeTypes} so that developers 200 * {@link EditorInfo#contentMimeTypes} with the given content 215 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { 216 final InputConnection ic = super.onCreateInputConnection(editorInfo); 217 EditorInfoCompat.setContentMimeTypes(editorInfo, mimeTypes); 227 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); 238 *InputConnection, EditorInfo, InputContentInfoCompat, int, Bundle)} to a human readable 242 * {@link InputConnectionCompat#commitContent(InputConnection, EditorInfo, [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSetTestsBase.java | 23 import android.view.inputmethod.EditorInfo; 148 final EditorInfo editorInfo) { 149 return createKeyboardLayoutSet(subtype, editorInfo, false /* voiceInputKeyEnabled */, 154 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, 160 final Builder builder = new Builder(context, editorInfo);
|
KeyboardLayoutSetNavigateMoreKeysBase.java | 20 import android.view.inputmethod.EditorInfo; 82 final EditorInfo editorInfo = new EditorInfo(); 83 editorInfo.inputType = inputType; 84 editorInfo.imeOptions = imeOptions; 85 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); 124 EditorInfo.IME_NULL, 128 EditorInfo.IME_FLAG_NAVIGATE_NEXT, 132 EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerService.java | 24 import android.view.inputmethod.EditorInfo; 234 final EditorInfo editorInfo = new EditorInfo(); 235 editorInfo.inputType = InputType.TYPE_CLASS_TEXT; 236 final KeyboardLayoutSet.Builder builder = new KeyboardLayoutSet.Builder(this, editorInfo);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSet.java | 30 import android.view.inputmethod.EditorInfo; 63 * {@link android.view.inputmethod.EditorInfo}. 117 EditorInfo mEditorInfo; 264 private static final EditorInfo EMPTY_EDITOR_INFO = new EditorInfo(); 266 public Builder(final Context context, @Nullable final EditorInfo ei) { 272 final EditorInfo editorInfo = (ei != null) ? ei : EMPTY_EDITOR_INFO; 273 params.mMode = getKeyboardMode(editorInfo); 275 params.mEditorInfo = editorInfo; [all...] |
KeyboardSwitcher.java | 25 import android.view.inputmethod.EditorInfo; 110 public void loadKeyboard(final EditorInfo editorInfo, final SettingsValues settingsValues, 113 mThemeContext, editorInfo);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SettingsValues.java | 26 import android.view.inputmethod.EditorInfo; 284 public boolean isSameInputType(final EditorInfo editorInfo) { 285 return mInputAttributes.isSameInputType(editorInfo);
|