Home
last modified time | relevance | path

Searched refs:inputType (Results 1 – 25 of 29) 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 …]
DKeyboardLayoutSetActionLabelBase.java108 editorInfo.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in doTestActionKeyLabel()
125 editorInfo.inputType = in doTestActionKeyLabel()
138 editorInfo.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in doTestActionKeyIcon()
151 editorInfo.inputType = in doTestActionKeyIcon()
/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 …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputAttributes.java55 final int inputType = null != editorInfo ? editorInfo.inputType : 0; in InputAttributes() local
56 final int inputClass = inputType & InputType.TYPE_MASK_CLASS; in InputAttributes()
57 mInputType = inputType; in InputAttributes()
58 mIsPasswordField = InputTypeUtils.isPasswordInputType(inputType) in InputAttributes()
59 || InputTypeUtils.isVisiblePasswordInputType(inputType); in InputAttributes()
67 } else if (InputType.TYPE_NULL == inputType) { in InputAttributes()
73 + " imeOptions=0x%08x", inputType, editorInfo.imeOptions)); in InputAttributes()
84 final int variation = inputType & InputType.TYPE_MASK_VARIATION; in InputAttributes()
86 0 != (inputType & InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); in InputAttributes()
88 0 != (inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE); in InputAttributes()
[all …]
DRichInputConnection.java343 public int getCursorCapsMode(final int inputType, in getCursorCapsMode() argument
351 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & inputType; in getCursorCapsMode()
354 return TextUtils.CAP_MODE_CHARACTERS & inputType; in getCursorCapsMode()
370 return CapsModeUtils.getCapsMode(mCommittedTextBeforeComposingText, inputType, in getCursorCapsMode()
DLatinIME.java845 editorInfo.inputType, editorInfo.imeOptions)); in onStartInputViewInternal()
847 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) in onStartInputViewInternal()
849 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) in onStartInputViewInternal()
851 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0)); in onStartInputViewInternal()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java153 final int inputType = mEditorInfo.inputType; in passwordInput() local
154 return InputTypeUtils.isPasswordInputType(inputType) in passwordInput()
155 || InputTypeUtils.isVisiblePasswordInputType(inputType); in passwordInput()
159 return (mEditorInfo.inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE) != 0; in isMultiLine()
197 return a.inputType == b.inputType in equivalentEditorInfoForKeyboard()
DKeyboardLayoutSet.java245 params.mIsPasswordField = InputTypeUtils.isPasswordInputType(editorInfo.inputType); in Builder()
401 final int inputType = editorInfo.inputType; in getKeyboardMode() local
402 final int variation = inputType & InputType.TYPE_MASK_VARIATION; in getKeyboardMode()
404 switch (inputType & InputType.TYPE_MASK_CLASS) { in getKeyboardMode()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java434 public int inputType; field in AccountType.EditField
445 public EditField(String column, int titleRes, int inputType) { in EditField() argument
447 this.inputType = inputType; in EditField()
471 return (inputType & EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE) != 0; in isMultiLine()
480 + " inputType=" + inputType in toString()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelperTests.java26 private static void confirmShowTypedWord(final String message, final int inputType) { in confirmShowTypedWord() argument
28 inputType, in confirmShowTypedWord()
32 inputType, in confirmShowTypedWord()
36 inputType, in confirmShowTypedWord()
40 inputType, in confirmShowTypedWord()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DTextInputWizardFragment.java72 String title, String description, int inputType, String prefill) { in newInstance() argument
77 args.putInt(EXTRA_INPUT_TYPE, inputType); in newInstance()
102 int inputType = args.getInt(EXTRA_INPUT_TYPE); in onCreateView() local
128 if ((inputType & InputType.TYPE_TEXT_VARIATION_PASSWORD) != 0) { in onCreateView()
131 mTextInput.setInputType(inputType); in onCreateView()
DPasswordInputWizardFragment.java63 String title, String description, int inputType, String prefill) { in newInstance() argument
64 return newInstance(title, description, inputType, prefill, null); in newInstance()
69 String title, String description, int inputType, String prefill, String editSuffix) { in newInstance() argument
74 args.putInt(EXTRA_INPUT_TYPE, inputType); in newInstance()
104 int inputType = args.getInt(EXTRA_INPUT_TYPE); in onCreateView() local
/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/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/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/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java246 int inputType = field.inputType; in setValues() local
247 fieldView.setInputType(inputType); in setValues()
248 if (inputType == InputType.TYPE_CLASS_PHONE) { in setValues()
/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/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java181 final int inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT in setUp() local
183 mEditText.setInputType(inputType); in setUp()
DShiftModeTests.java32 ei.inputType |= TextUtils.CAP_MODE_SENTENCES; in enrichEditorInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java1698 final int inputType = ei.inputType; in getCurrentAutoCapsState() local
1701 return mConnection.getCursorCapsMode(inputType, settingsValues.mSpacingAndPunctuations, in getCurrentAutoCapsState()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DTestsQwertyEmail.java47 emailField.inputType = in createKeyboardLayoutSet()
DTestsQwertyUrl.java47 emailField.inputType = in createKeyboardLayoutSet()
DTestsDvorakEmail.java49 emailField.inputType = in createKeyboardLayoutSet()
DTestsDvorakUrl.java49 emailField.inputType = in createKeyboardLayoutSet()

12