Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java80 final int elementId, final int inputType, final int imeOptions, in doTestMoreKeysOf() argument
83 editorInfo.inputType = inputType; in doTestMoreKeysOf()
121 final int elementId, final int inputType) { in doTestNavigationMoreKeysOf() argument
123 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
127 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
131 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
135 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
139 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
143 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
147 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DInputTypeUtils.java44 private static boolean isWebEditTextInputType(final int inputType) { in isWebEditTextInputType() argument
45 return inputType == (TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_WEB_EDIT_TEXT); in isWebEditTextInputType()
48 private static boolean isWebPasswordInputType(final int inputType) { in isWebPasswordInputType() argument
50 && inputType == WEB_TEXT_PASSWORD_INPUT_TYPE; in isWebPasswordInputType()
53 private static boolean isWebEmailAddressInputType(final int inputType) { in isWebEmailAddressInputType() argument
55 && inputType == WEB_TEXT_EMAIL_ADDRESS_INPUT_TYPE; in isWebEmailAddressInputType()
58 private static boolean isNumberPasswordInputType(final int inputType) { in isNumberPasswordInputType() argument
60 && inputType == NUMBER_PASSWORD_INPUT_TYPE; in isNumberPasswordInputType()
63 private static boolean isTextPasswordInputType(final int inputType) { in isTextPasswordInputType() argument
64 return inputType == TEXT_PASSWORD_INPUT_TYPE; in isTextPasswordInputType()
[all …]
DStatsUtils.java71 public static void onStartInputView(int inputType, int displayOrientation, boolean restarting) { in onStartInputView() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputAttributes.java62 final int inputType = null != editorInfo ? editorInfo.inputType : 0; in InputAttributes() local
63 final int inputClass = inputType & InputType.TYPE_MASK_CLASS; in InputAttributes()
64 mInputType = inputType; in InputAttributes()
65 mIsPasswordField = InputTypeUtils.isPasswordInputType(inputType) in InputAttributes()
66 || InputTypeUtils.isVisiblePasswordInputType(inputType); in InputAttributes()
74 } else if (InputType.TYPE_NULL == inputType) { in InputAttributes()
80 + " imeOptions=0x%08x", inputType, editorInfo.imeOptions)); in InputAttributes()
92 final int variation = inputType & InputType.TYPE_MASK_VARIATION; in InputAttributes()
94 0 != (inputType & InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); in InputAttributes()
96 0 != (inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE); in InputAttributes()
[all …]
DRichInputConnection.java362 public int getCursorCapsMode(final int inputType, in getCursorCapsMode() argument
372 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & inputType; in getCursorCapsMode()
375 return TextUtils.CAP_MODE_CHARACTERS & inputType; in getCursorCapsMode()
392 return CapsModeUtils.getCapsMode(mCommittedTextBeforeComposingText.toString(), inputType, in getCursorCapsMode()
DLatinIME.java916 editorInfo.inputType, editorInfo.imeOptions)); in onStartInputViewInternal()
918 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) in onStartInputViewInternal()
920 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) in onStartInputViewInternal()
922 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0)); in onStartInputViewInternal()
956 StatsUtils.onStartInputView(editorInfo.inputType, in onStartInputViewInternal()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java164 final int inputType = mEditorInfo.inputType; in passwordInput() local
165 return InputTypeUtils.isPasswordInputType(inputType) in passwordInput()
166 || InputTypeUtils.isVisiblePasswordInputType(inputType); in passwordInput()
170 return (mEditorInfo.inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE) != 0; in isMultiLine()
214 return a.inputType == b.inputType in equivalentEditorInfoForKeyboard()
DKeyboardLayoutSet.java276 params.mIsPasswordField = InputTypeUtils.isPasswordInputType(editorInfo.inputType); in Builder()
474 final int inputType = editorInfo.inputType; in getKeyboardMode() local
475 final int variation = inputType & InputType.TYPE_MASK_VARIATION; in getKeyboardMode()
477 switch (inputType & InputType.TYPE_MASK_CLASS) { in getKeyboardMode()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelperTests.java35 private static void confirmShowTypedWord(final String message, final int inputType) { in confirmShowTypedWord() argument
37 inputType, in confirmShowTypedWord()
41 inputType, in confirmShowTypedWord()
45 inputType, in confirmShowTypedWord()
49 inputType, in confirmShowTypedWord()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEditTextVariations.java108 int inputType = e.getInputType(); in onCreate() local
118 inputType = InputType.TYPE_NULL; in onCreate()
130 e.setInputType(inputType); in onCreate()
360 private static String inputTypeToString(final int inputType) { in inputTypeToString() argument
361 if (inputType == InputType.TYPE_NULL) { in inputTypeToString()
364 final int clazz = inputType & InputType.TYPE_MASK_CLASS; in inputTypeToString()
365 final int variation = inputType & InputType.TYPE_MASK_VARIATION; in inputTypeToString()
366 final int flags = inputType & InputType.TYPE_MASK_FLAGS; in inputTypeToString()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountType.java417 public int inputType; field in AccountType.EditField
428 public EditField(String column, int titleRes, int inputType) { in EditField() argument
430 this.inputType = inputType; in EditField()
454 return (inputType & EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE) != 0; in isMultiLine()
466 + inputType in toString()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java442 public int inputType; field in AccountType.EditField
454 public EditField(String column, int titleRes, int inputType) { in EditField() argument
456 this.inputType = inputType; in EditField()
485 return (inputType & EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE) != 0; in isMultiLine()
494 + " inputType=" + inputType in toString()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackUtils.java57 return attribute.inputType & EditorInfo.TYPE_MASK_CLASS; in getInputTypeClass()
64 return attribute.inputType & EditorInfo.TYPE_MASK_VARIATION; in getInputTypeVariation()
DLeanbackSuggestionsFactory.java57 if ((attribute.inputType & EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE) != 0) { in onStartInput()
DLeanbackKeyboardContainer.java842 mSuggestionsEnabled = (attribute.inputType in setImeOptions()
848 mCapSentences = (attribute.inputType in setImeOptions()
850 mCapWords = ((attribute.inputType & EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS) != 0) || in setImeOptions()
853 mCapCharacters = (attribute.inputType in setImeOptions()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreference.java61 public void setSummaryInputType(int inputType) { in setSummaryInputType() argument
62 mInputType = inputType; in setSummaryInputType()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java286 int inputType = field.inputType; in setValues() local
287 fieldView.setInputType(inputType); in setValues()
288 if (inputType == InputType.TYPE_CLASS_PHONE) { in setValues()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/
DAlertDialogBuilder.java586 InputFilter[] inputFilters, int inputType) { in setEditBox() argument
601 if (inputType != 0) { in setEditBox()
602 editText.setInputType(inputType); in setEditBox()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java99 editorInfo.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in doTestActionKey()
110 editorInfo.inputType = in doTestActionKey()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java200 final int inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT in setUp() local
202 mEditText.setInputType(inputType); in setUp()
DShiftModeTests.java30 ei.inputType |= TextUtils.CAP_MODE_SENTENCES; in enrichEditorInfo()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DTestsQwertyEmail.java48 emailField.inputType = in createKeyboardLayoutSet()
DTestsQwertyUrl.java48 emailField.inputType = in createKeyboardLayoutSet()
DTestsDvorakEmail.java50 emailField.inputType = in createKeyboardLayoutSet()
DTestsDvorakUrl.java50 emailField.inputType = in createKeyboardLayoutSet()

12