Searched refs:editorInfo (Results 1 - 22 of 22) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
H A DKlpActionCustomTests.java30 final EditorInfo editorInfo = new EditorInfo();
31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED;
32 editorInfo.actionLabel = "customLabel";
34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
H A DLxxActionCustomTests.java30 final EditorInfo editorInfo = new EditorInfo();
31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED;
32 editorInfo.actionLabel = "customLabel";
34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
H A DActionTestsBase.java91 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);
110 editorInfo.inputType =
112 final KeyboardLayoutSet passwordSet = createKeyboardLayoutSet(subtype, editorInfo);
96 doTestActionKey(final String tag, final InputMethodSubtype subtype, final EditorInfo editorInfo, final ExpectedActionKey expectedKey) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DInputAttributes.java57 public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode, argument
59 mEditorInfo = editorInfo;
61 mTargetApplicationPackageName = null != editorInfo ? editorInfo.packageName : null;
62 final int inputType = null != editorInfo ? editorInfo.inputType : 0;
72 if (null == editorInfo) {
80 + " imeOptions=0x%08x", inputType, editorInfo.imeOptions));
121 mPackageNameForPrivateImeOptions, NO_FLOATING_GESTURE_PREVIEW, editorInfo);
148 public boolean isSameInputType(final EditorInfo editorInfo) { argument
297 inPrivateImeOptions(final String packageName, final String key, final EditorInfo editorInfo) argument
[all...]
H A DLatinIME.java431 private void executePendingImsCallback(final LatinIME latinIme, final EditorInfo editorInfo, argument
440 latinIme.onStartInputInternal(editorInfo, restarting);
445 public void onStartInput(final EditorInfo editorInfo, final boolean restarting) { argument
457 executePendingImsCallback(latinIme, editorInfo, restarting);
458 latinIme.onStartInputInternal(editorInfo, restarting);
463 public void onStartInputView(final EditorInfo editorInfo, final boolean restarting) { argument
465 && KeyboardId.equivalentEditorInfoForKeyboard(editorInfo, mAppliedEditorInfo)) {
478 executePendingImsCallback(latinIme, editorInfo, restarting);
479 latinIme.onStartInputViewInternal(editorInfo, restarting);
480 mAppliedEditorInfo = editorInfo;
773 onStartInput(final EditorInfo editorInfo, final boolean restarting) argument
778 onStartInputView(final EditorInfo editorInfo, final boolean restarting) argument
808 onStartInputInternal(final EditorInfo editorInfo, final boolean restarting) argument
826 onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DInputTypeUtils.java107 public static int getImeOptionsActionIdFromEditorInfo(final EditorInfo editorInfo) { argument
108 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) {
110 } else if (editorInfo.actionLabel != null) {
113 // Note: this is different from editorInfo.actionId, hence "ImeOptionsActionId"
114 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DEditorInfoCompatUtils.java85 public static Locale getPrimaryHintLocale(final EditorInfo editorInfo) { argument
86 if (editorInfo == null) {
89 final Object localeList = CompatUtils.getFieldValue(editorInfo, null, FIELD_HINT_LOCALES);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
H A DTestsSplitLayoutQwertyEnglishUS.java41 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled,
43 return super.createKeyboardLayoutSet(subtype, editorInfo, voiceInputKeyEnabled,
40 createKeyboardLayoutSet(final InputMethodSubtype subtype, final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, final boolean languageSwitchKeyEnabled, final boolean splitLayoutEnabled) argument
H A DTestsQwertyEmail.java45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled,
44 createKeyboardLayoutSet(final InputMethodSubtype subtype, final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, final boolean languageSwitchKeyEnabled, final boolean splitLayoutEnabled) argument
H A DTestsQwertyUrl.java45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled,
44 createKeyboardLayoutSet(final InputMethodSubtype subtype, final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, final boolean languageSwitchKeyEnabled, final boolean splitLayoutEnabled) argument
H A DTestsDvorakEmail.java47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled,
46 createKeyboardLayoutSet(final InputMethodSubtype subtype, final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, final boolean languageSwitchKeyEnabled, final boolean splitLayoutEnabled) argument
H A DTestsDvorakUrl.java47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled,
46 createKeyboardLayoutSet(final InputMethodSubtype subtype, final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, final boolean languageSwitchKeyEnabled, final boolean splitLayoutEnabled) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DAccessibilityUtils.java130 public boolean shouldObscureInput(final EditorInfo editorInfo) { argument
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, argument
249 if (shouldObscureInput(editorInfo)) {
H A DKeyboardAccessibilityNodeProvider.java324 final EditorInfo editorInfo = mKeyboard.mId.mEditorInfo;
325 final boolean shouldObscure = mAccessibilityUtils.shouldObscureInput(editorInfo);
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/touchinputconsumer/
H A DGestureConsumer.java41 final EditorInfo editorInfo, final PrivateCommandPerformer commandPerformer,
40 newInstance( final EditorInfo editorInfo, final PrivateCommandPerformer commandPerformer, final Locale locale, final Keyboard keyboard) argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
H A DKeyboardLayoutSetTestsBase.java148 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);
147 createKeyboardLayoutSet(final InputMethodSubtype subtype, final EditorInfo editorInfo) argument
153 createKeyboardLayoutSet(final InputMethodSubtype subtype, final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, final boolean languageSwitchKeyEnabled, final boolean splitLayoutEnabled) argument
H A DKeyboardLayoutSetNavigateMoreKeysBase.java82 final EditorInfo editorInfo = new EditorInfo();
83 editorInfo.inputType = inputType;
84 editorInfo.imeOptions = imeOptions;
85 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerService.java234 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/
H A DKeyboardLayoutSet.java272 final EditorInfo editorInfo = (ei != null) ? ei : EMPTY_EDITOR_INFO;
273 params.mMode = getKeyboardMode(editorInfo);
275 params.mEditorInfo = editorInfo;
276 params.mIsPasswordField = InputTypeUtils.isPasswordInputType(editorInfo.inputType);
278 mPackageName, NO_SETTINGS_KEY, editorInfo);
473 private static int getKeyboardMode(final EditorInfo editorInfo) { argument
474 final int inputType = editorInfo.inputType;
H A DKeyboardSwitcher.java110 public void loadKeyboard(final EditorInfo editorInfo, final SettingsValues settingsValues, argument
113 mThemeContext, editorInfo);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSettingsValues.java284 public boolean isSameInputType(final EditorInfo editorInfo) { argument
285 return mInputAttributes.isSameInputType(editorInfo);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
H A DInputLogic.java157 // In some cases (namely, after rotation of the device) editorInfo.initialSelStart is lying
723 final EditorInfo editorInfo = getCurrentInputEditorInfo();
725 InputTypeUtils.getImeOptionsActionIdFromEditorInfo(editorInfo);
729 performEditorAction(editorInfo.actionId);

Completed in 5449 milliseconds