Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputAttributes.java57 public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode, in InputAttributes() argument
59 mEditorInfo = editorInfo; in InputAttributes()
61 mTargetApplicationPackageName = null != editorInfo ? editorInfo.packageName : null; in InputAttributes()
62 final int inputType = null != editorInfo ? editorInfo.inputType : 0; in InputAttributes()
72 if (null == editorInfo) { in InputAttributes()
80 + " imeOptions=0x%08x", inputType, editorInfo.imeOptions)); in InputAttributes()
121 mPackageNameForPrivateImeOptions, NO_FLOATING_GESTURE_PREVIEW, editorInfo); in InputAttributes()
148 public boolean isSameInputType(final EditorInfo editorInfo) { in isSameInputType() argument
149 return editorInfo.inputType == mInputType; in isSameInputType()
298 final EditorInfo editorInfo) { in inPrivateImeOptions() argument
[all …]
DLatinIME.java469 private void executePendingImsCallback(final LatinIME latinIme, final EditorInfo editorInfo, in executePendingImsCallback() argument
478 latinIme.onStartInputInternal(editorInfo, restarting); in executePendingImsCallback()
483 public void onStartInput(final EditorInfo editorInfo, final boolean restarting) { in onStartInput() argument
495 executePendingImsCallback(latinIme, editorInfo, restarting); in onStartInput()
496 latinIme.onStartInputInternal(editorInfo, restarting); in onStartInput()
501 public void onStartInputView(final EditorInfo editorInfo, final boolean restarting) { in onStartInputView() argument
503 && KeyboardId.equivalentEditorInfoForKeyboard(editorInfo, mAppliedEditorInfo)) { in onStartInputView()
516 executePendingImsCallback(latinIme, editorInfo, restarting); in onStartInputView()
517 latinIme.onStartInputViewInternal(editorInfo, restarting); in onStartInputView()
518 mAppliedEditorInfo = editorInfo; in onStartInputView()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java91 final EditorInfo editorInfo = new EditorInfo(); in doTestActionKey() local
92 editorInfo.imeOptions = actionId; in doTestActionKey()
93 doTestActionKey(tag, subtype, editorInfo, expectedKey); in doTestActionKey()
97 final EditorInfo editorInfo, final ExpectedActionKey expectedKey) { in doTestActionKey() argument
99 editorInfo.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in doTestActionKey()
100 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); in doTestActionKey()
110 editorInfo.inputType = in doTestActionKey()
112 final KeyboardLayoutSet passwordSet = createKeyboardLayoutSet(subtype, editorInfo); in doTestActionKey()
DKlpActionCustomTests.java30 final EditorInfo editorInfo = new EditorInfo(); in testActionCustom() local
31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; in testActionCustom()
32 editorInfo.actionLabel = "customLabel"; in testActionCustom()
34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
DLxxActionCustomTests.java30 final EditorInfo editorInfo = new EditorInfo(); in testActionCustom() local
31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; in testActionCustom()
32 editorInfo.actionLabel = "customLabel"; in testActionCustom()
34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/
DCarLatinIME.java191 public void onStartInputView(EditorInfo editorInfo, boolean reastarting) { in onStartInputView() argument
192 super.onStartInputView(editorInfo, reastarting); in onStartInputView()
193 mEditorInfo = editorInfo; in onStartInputView()
456 private int getImeOptionsActionIdFromEditorInfo(final EditorInfo editorInfo) { in getImeOptionsActionIdFromEditorInfo() argument
457 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in getImeOptionsActionIdFromEditorInfo()
459 } else if (editorInfo.actionLabel != null) { in getImeOptionsActionIdFromEditorInfo()
463 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION; in getImeOptionsActionIdFromEditorInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibilityUtils.java130 public boolean shouldObscureInput(final EditorInfo editorInfo) { in shouldObscureInput() argument
131 if (editorInfo == null) return false; in shouldObscureInput()
146 return InputTypeUtils.isPasswordInputType(editorInfo.inputType); in shouldObscureInput()
247 public void onStartInputViewInternal(final View view, final EditorInfo editorInfo, in onStartInputViewInternal() argument
249 if (shouldObscureInput(editorInfo)) { in onStartInputViewInternal()
DKeyboardAccessibilityNodeProvider.java321 final EditorInfo editorInfo = mKeyboard.mId.mEditorInfo; in getKeyDescription() local
322 final boolean shouldObscure = mAccessibilityUtils.shouldObscureInput(editorInfo); in getKeyDescription()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DInputTypeUtils.java107 public static int getImeOptionsActionIdFromEditorInfo(final EditorInfo editorInfo) { in getImeOptionsActionIdFromEditorInfo() argument
108 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in getImeOptionsActionIdFromEditorInfo()
110 } else if (editorInfo.actionLabel != null) { in getImeOptionsActionIdFromEditorInfo()
114 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION; in getImeOptionsActionIdFromEditorInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSet.java272 final EditorInfo editorInfo = (ei != null) ? ei : EMPTY_EDITOR_INFO; in Builder() local
273 params.mMode = getKeyboardMode(editorInfo); in Builder()
275 params.mEditorInfo = editorInfo; in Builder()
276 params.mIsPasswordField = InputTypeUtils.isPasswordInputType(editorInfo.inputType); in Builder()
278 mPackageName, NO_SETTINGS_KEY, editorInfo); in Builder()
473 private static int getKeyboardMode(final EditorInfo editorInfo) { in getKeyboardMode() argument
474 final int inputType = editorInfo.inputType; in getKeyboardMode()
DKeyboardSwitcher.java114 public void loadKeyboard(final EditorInfo editorInfo, final SettingsValues settingsValues, in loadKeyboard() argument
117 mThemeContext, editorInfo); in loadKeyboard()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetTestsBase.java148 final EditorInfo editorInfo) { in createKeyboardLayoutSet() argument
149 return createKeyboardLayoutSet(subtype, editorInfo, false /* voiceInputKeyEnabled */, in createKeyboardLayoutSet()
154 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet() argument
160 final Builder builder = new Builder(context, editorInfo); in createKeyboardLayoutSet()
DKeyboardLayoutSetNavigateMoreKeysBase.java82 final EditorInfo editorInfo = new EditorInfo(); in doTestMoreKeysOf() local
83 editorInfo.inputType = inputType; in doTestMoreKeysOf()
84 editorInfo.imeOptions = imeOptions; in doTestMoreKeysOf()
85 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); in doTestMoreKeysOf()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DEditorInfoCompatUtils.java85 public static Locale getPrimaryHintLocale(final EditorInfo editorInfo) { in getPrimaryHintLocale() argument
86 if (editorInfo == null) { in getPrimaryHintLocale()
89 final Object localeList = CompatUtils.getFieldValue(editorInfo, null, FIELD_HINT_LOCALES); in getPrimaryHintLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java234 final EditorInfo editorInfo = new EditorInfo(); in createKeyboardSetForSpellChecker() local
235 editorInfo.inputType = InputType.TYPE_CLASS_TEXT; in createKeyboardSetForSpellChecker()
236 final KeyboardLayoutSet.Builder builder = new KeyboardLayoutSet.Builder(this, editorInfo); in createKeyboardSetForSpellChecker()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DTestsSplitLayoutQwertyEnglishUS.java41 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet() argument
43 return super.createKeyboardLayoutSet(subtype, editorInfo, voiceInputKeyEnabled, in createKeyboardLayoutSet()
DTestsQwertyEmail.java45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet() argument
DTestsQwertyUrl.java45 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet() argument
DTestsDvorakEmail.java47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet() argument
DTestsDvorakUrl.java47 final EditorInfo editorInfo, final boolean voiceInputKeyEnabled, in createKeyboardLayoutSet() argument
/packages/apps/Settings/src/com/android/settings/widget/
DImeAwareEditText.java59 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
60 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DImeAwareEditText.java59 public InputConnection onCreateInputConnection(EditorInfo editorInfo) { in onCreateInputConnection() argument
60 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/touchinputconsumer/
DGestureConsumer.java41 final EditorInfo editorInfo, final PrivateCommandPerformer commandPerformer, in newInstance() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsValues.java284 public boolean isSameInputType(final EditorInfo editorInfo) { in isSameInputType() argument
285 return mInputAttributes.isSameInputType(editorInfo); in isSameInputType()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java723 final EditorInfo editorInfo = getCurrentInputEditorInfo(); in handleNonFunctionalEvent() local
725 InputTypeUtils.getImeOptionsActionIdFromEditorInfo(editorInfo); in handleNonFunctionalEvent()
729 performEditorAction(editorInfo.actionId); in handleNonFunctionalEvent()