Home
last modified time | relevance | path

Searched refs:imeOptions (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DEditorInfoCompatUtils.java38 public static boolean hasFlagForceAscii(final int imeOptions) { in hasFlagForceAscii() argument
40 return (imeOptions & OBJ_IME_FLAG_FORCE_ASCII) != 0; in hasFlagForceAscii()
43 public static String imeActionName(final int imeOptions) { in imeActionName() argument
44 final int actionId = imeOptions & EditorInfo.IME_MASK_ACTION; in imeActionName()
67 public static String imeOptionsName(final int imeOptions) { in imeOptionsName() argument
68 final String action = imeActionName(imeOptions); in imeOptionsName()
70 if ((imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in imeOptionsName()
73 if ((imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0) { in imeOptionsName()
76 if ((imeOptions & EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS) != 0) { in imeOptionsName()
79 if (hasFlagForceAscii(imeOptions)) { in imeOptionsName()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEditTextVariations.java109 int imeOptions = e.getImeOptions(); in onCreate() local
111 imeOptions &= ~EditorInfo.IME_MASK_ACTION; in onCreate()
112 imeOptions |= EditorInfo.IME_ACTION_PREVIOUS; in onCreate()
115 imeOptions |= EditorInfo_IME_FLAG_FORCE_ASCII.value; in onCreate()
124 imeOptions |= EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS; in onCreate()
127 imeOptions |= EditorInfo.IME_FLAG_NAVIGATE_NEXT; in onCreate()
131 e.setImeOptions(imeOptions); in onCreate()
220 final int imeOptions = e.getImeOptions(); in setupHintText() local
227 text = actionName(imeOptions & EditorInfo.IME_MASK_ACTION); in setupHintText()
230 (imeOptions & EditorInfo.IME_FLAG_NO_EXTRACT_UI) != 0, "flagNoExtractUi"); in setupHintText()
[all …]
DMultiLineShortMessageEditText.java43 outAttrs.imeOptions &= ~EditorInfo.IME_FLAG_NO_ENTER_ACTION; in onCreateInputConnection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java154 return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0 in navigateNext()
159 return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS) != 0 in navigatePrevious()
215 && a.imeOptions == b.imeOptions in equivalentEditorInfoForKeyboard()
DKeyboardLayoutSet.java304 mParams.mEditorInfo.imeOptions) in setSubtype()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DInputTypeUtils.java108 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in getImeOptionsActionIdFromEditorInfo()
114 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION; in getImeOptionsActionIdFromEditorInfo()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/
DCarLatinIME.java282 int action = mEditorInfo.imeOptions & EditorInfo.IME_MASK_ACTION;
457 if ((editorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in getImeOptionsActionIdFromEditorInfo()
463 return editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION; in getImeOptionsActionIdFromEditorInfo()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java80 final int elementId, final int inputType, final int imeOptions, in doTestMoreKeysOf() argument
84 editorInfo.imeOptions = imeOptions; in doTestMoreKeysOf()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/imewidescreen/
DCarUiImeWideScreenController.java573 boolean hasAction = (mInputEditorInfo.imeOptions & EditorInfo.IME_MASK_ACTION) in onStartInputView()
577 (mInputEditorInfo.imeOptions & EditorInfo.IME_FLAG_NO_ACCESSORY_ACTION) == 0; in onStartInputView()
746 } else if ((editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION) in intiExtractAction()
749 editorInfo.imeOptions & EditorInfo.IME_MASK_ACTION); in intiExtractAction()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionCustomTests.java31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; in testActionCustom()
DLxxActionCustomTests.java31 editorInfo.imeOptions = EditorInfo.IME_ACTION_UNSPECIFIED; in testActionCustom()
DActionTestsBase.java92 editorInfo.imeOptions = actionId; in doTestActionKey()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackUtils.java49 return attribute.imeOptions in getImeAction()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputAttributes.java80 + " imeOptions=0x%08x", inputType, editorInfo.imeOptions)); in InputAttributes()
DLatinIME.java917 editorInfo.inputType, editorInfo.imeOptions)); in onStartInputViewInternal()
1298 return !(ei != null && ((ei.imeOptions & EditorInfo.IME_FLAG_NO_EXTRACT_UI) != 0)); in onEvaluateFullscreenMode()