Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputAttributes.java35 final int inputType = null != editorInfo ? editorInfo.inputType : 0; in InputAttributes() local
36 final int inputClass = inputType & InputType.TYPE_MASK_CLASS; in InputAttributes()
44 } else if (InputType.TYPE_NULL == inputType) { in InputAttributes()
51 inputType, editorInfo.imeOptions)); in InputAttributes()
57 final int variation = inputType & InputType.TYPE_MASK_VARIATION; in InputAttributes()
59 0 != (inputType & InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); in InputAttributes()
61 0 != (inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE); in InputAttributes()
63 0 != (inputType & InputType.TYPE_TEXT_FLAG_AUTO_CORRECT); in InputAttributes()
65 0 != (inputType & InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE); in InputAttributes()
68 if (InputTypeUtils.isPasswordInputType(inputType) in InputAttributes()
[all …]
DInputTypeUtils.java37 private static boolean isWebEditTextInputType(int inputType) { in isWebEditTextInputType() argument
38 return inputType == (TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_WEB_EDIT_TEXT); in isWebEditTextInputType()
41 private static boolean isWebPasswordInputType(int inputType) { in isWebPasswordInputType() argument
43 && inputType == WEB_TEXT_PASSWORD_INPUT_TYPE; in isWebPasswordInputType()
46 private static boolean isWebEmailAddressInputType(int inputType) { in isWebEmailAddressInputType() argument
48 && inputType == WEB_TEXT_EMAIL_ADDRESS_INPUT_TYPE; in isWebEmailAddressInputType()
51 private static boolean isNumberPasswordInputType(int inputType) { in isNumberPasswordInputType() argument
53 && inputType == NUMBER_PASSWORD_INPUT_TYPE; in isNumberPasswordInputType()
56 private static boolean isTextPasswordInputType(int inputType) { in isTextPasswordInputType() argument
57 return inputType == TEXT_PASSWORD_INPUT_TYPE; in isTextPasswordInputType()
[all …]
DSettingsValues.java280 final int inputType = (editorInfo != null) ? editorInfo.inputType : 0; in isVoiceKeyEnabled() local
282 && !InputTypeUtils.isPasswordInputType(inputType); in isVoiceKeyEnabled()
DLatinIME.java654 editorInfo.inputType, editorInfo.imeOptions)); in onStartInputViewInternal()
656 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) in onStartInputViewInternal()
658 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) in onStartInputViewInternal()
660 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0)); in onStartInputViewInternal()
1060 final int inputType = ei.inputType; in getCurrentAutoCapsState() local
1061 if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) { in getCurrentAutoCapsState()
1065 final boolean noNeedToCheckCapsMode = (inputType & (InputType.TYPE_TEXT_FLAG_CAP_SENTENCES in getCurrentAutoCapsState()
1079 return ic.getCursorCapsMode(inputType); in getCurrentAutoCapsState()
DResearchLogger.java537 builder.append(Integer.toHexString(editorInfo.inputType)); in latinIME_onStartInputViewInternal()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java148 final int inputType = mEditorInfo.inputType; in passwordInput() local
149 return InputTypeUtils.isPasswordInputType(inputType) in passwordInput()
150 || InputTypeUtils.isVisiblePasswordInputType(inputType); in passwordInput()
154 return (mEditorInfo.inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE) != 0; in isMultiLine()
206 return a.inputType == b.inputType in equivalentEditorInfoForKeyboard()
DKeyboardLayoutSet.java372 final int inputType = editorInfo.inputType; in getKeyboardMode() local
373 final int variation = inputType & InputType.TYPE_MASK_VARIATION; in getKeyboardMode()
375 switch (inputType & InputType.TYPE_MASK_CLASS) { in getKeyboardMode()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountType.java444 public int inputType; field in AccountType.EditField
455 public EditField(String column, int titleRes, int inputType) { in EditField() argument
457 this.inputType = inputType; in EditField()
481 return (inputType & EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE) != 0; in isMultiLine()
490 + " inputType=" + inputType in toString()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactsSource.java297 public int inputType; field in ContactsSource.EditField
306 public EditField(String column, int titleRes, int inputType) { in EditField() argument
308 this.inputType = inputType; in EditField()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DAlertDialogs.java96 DialogInterface.OnCancelListener cancelListener, int inputType, int maxChars, in createEditDialog() argument
119 if (inputType != InputType.TYPE_NULL) { in createEditDialog()
120 textInput.setInputType(inputType); in createEditDialog()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DInputModeSwitcher.java531 switch (editorInfo.inputType & EditorInfo.TYPE_MASK_CLASS) { in requestInputWithHkb()
538 int v = editorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION; in requestInputWithHkb()
578 switch (editorInfo.inputType & EditorInfo.TYPE_MASK_CLASS) { in requestInputWithSkb()
587 int v = editorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION; in requestInputWithSkb()
744 int variation = mEditorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION; in prepareToggleStates()
812 int f = mEditorInfo.inputType & EditorInfo.TYPE_MASK_FLAGS; in prepareToggleStates()
DPinyinIME.java1111 + String.valueOf(editorInfo.inputType) + " Restarting:" in onStartInput()
1122 + String.valueOf(editorInfo.inputType) + " Restarting:" in onStartInputView()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java206 int inputType = field.inputType; in setValues() local
207 fieldView.setInputType(inputType); in setValues()
208 if (inputType == InputType.TYPE_CLASS_PHONE) { in setValues()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnEN.java258 return (getCurrentInputConnection().getCursorCapsMode(editor.inputType) == 0) ? 0 : 1; in getShiftKeyState()
494 if( edit.inputType == EditorInfo.TYPE_CLASS_PHONE){ in onEvent()
664 if (edit.inputType == EditorInfo.TYPE_CLASS_PHONE) { in processKeyEvent()
978 if (info.inputType == EditorInfo.TYPE_NULL) { in fitInputType()
991 switch (info.inputType & EditorInfo.TYPE_MASK_CLASS) { in fitInputType()
1000 switch (info.inputType & EditorInfo.TYPE_MASK_VARIATION) { in fitInputType()
DOpenWnnJAJP.java2585 return (getCurrentInputConnection().getCursorCapsMode(editor.inputType) == 0) ? 0 : 1; in getShiftKeyState()
2654 if (info.inputType == EditorInfo.TYPE_NULL) { in fitInputType()
2682 switch (info.inputType & EditorInfo.TYPE_MASK_CLASS) { in fitInputType()
2695 switch (info.inputType & EditorInfo.TYPE_MASK_VARIATION) { in fitInputType()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DDefaultSoftKeyboardEN.java102 int caps = connection.getCursorCapsMode(editor.inputType); in getShiftKeyState()
154 switch (editor.inputType & EditorInfo.TYPE_MASK_CLASS) { in setPreferences()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DDefaultSoftKeyboardJAJP.java714 int inputType = editor.inputType; in setPreferences() local
716 if (inputType == EditorInfo.TYPE_NULL) { in setPreferences()
742 switch (inputType & EditorInfo.TYPE_MASK_CLASS) { in setPreferences()
760 switch (inputType & EditorInfo.TYPE_MASK_VARIATION) { in setPreferences()
781 if (inputType != mLastInputType) { in setPreferences()
783 mLastInputType = inputType; in setPreferences()
1173 int caps = connection.getCursorCapsMode(editor.inputType); in getShiftKeyState()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java126 ei.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; in setUp()
128 ei.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; in setUp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibilityUtils.java134 return InputTypeUtils.isPasswordInputType(editorInfo.inputType); in shouldObscureInput()