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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DInputTypeUtils.java37 private static boolean isWebEditTextInputType(int inputType) { argument
38 return inputType == (TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_WEB_EDIT_TEXT);
41 private static boolean isWebPasswordInputType(int inputType) { argument
43 && inputType == WEB_TEXT_PASSWORD_INPUT_TYPE;
46 private static boolean isWebEmailAddressInputType(int inputType) { argument
48 && inputType == WEB_TEXT_EMAIL_ADDRESS_INPUT_TYPE;
51 private static boolean isNumberPasswordInputType(int inputType) { argument
53 && inputType == NUMBER_PASSWORD_INPUT_TYPE;
56 private static boolean isTextPasswordInputType(int inputType) { argument
57 return inputType
69 isWebInputType(int inputType) argument
77 isPasswordInputType(int inputType) argument
85 isVisiblePasswordInputType(int inputType) argument
[all...]
H A DInputAttributes.java35 final int inputType = null != editorInfo ? editorInfo.inputType : 0;
36 final int inputClass = inputType & InputType.TYPE_MASK_CLASS;
37 mInputType = inputType;
45 } else if (InputType.TYPE_NULL == inputType) {
50 Log.w(TAG, String.format("Unexpected input class: inputType=0x%08x"
52 inputType, editorInfo.imeOptions));
58 final int variation = inputType & InputType.TYPE_MASK_VARIATION;
60 0 != (inputType & InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
62 0 != (inputType
103 dumpFlags(final int inputType) argument
[all...]
H A DSettingsValues.java332 final int inputType = (editorInfo != null) ? editorInfo.inputType : 0;
334 && !InputTypeUtils.isPasswordInputType(inputType);
H A DRichInputConnection.java197 * This returns a bit set of TextUtils#CAP_MODE_*, masked by the inputType argument.
204 * @param inputType a mask of the caps modes to test for.
209 public int getCursorCapsMode(final int inputType, final Locale locale, argument
217 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & inputType;
220 return TextUtils.CAP_MODE_CHARACTERS & inputType;
234 return StringUtils.getCapsMode(mCommittedTextBeforeComposingText, inputType, locale,
H A DLatinIME.java644 + String.format("inputType=0x%08x imeOptions=0x%08x",
645 editorInfo.inputType, editorInfo.imeOptions));
647 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0)
649 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0)
651 + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0));
1126 final int inputType = ei.inputType;
1129 return mConnection.getCursorCapsMode(inputType, mSubtypeSwitcher.getCurrentSubtypeLocale(),
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardId.java158 final int inputType = mEditorInfo.inputType;
159 return InputTypeUtils.isPasswordInputType(inputType)
160 || InputTypeUtils.isVisiblePasswordInputType(inputType);
164 return (mEditorInfo.inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE) != 0;
216 return a.inputType == b.inputType
H A DKeyboardLayoutSet.java364 final int inputType = editorInfo.inputType;
365 final int variation = inputType & InputType.TYPE_MASK_VARIATION;
367 switch (inputType & InputType.TYPE_MASK_CLASS) {
/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DAccountType.java446 public int inputType; field in class:AccountType.EditField
457 public EditField(String column, int titleRes, int inputType) { argument
459 this.inputType = inputType;
483 return (inputType & EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE) != 0;
492 + " inputType=" + inputType
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DAlertDialogs.java87 * @param inputType Input type
96 DialogInterface.OnCancelListener cancelListener, int inputType, int maxChars,
119 if (inputType != InputType.TYPE_NULL) {
120 textInput.setInputType(inputType);
93 createEditDialog(Context context, String title, String text, String positiveButtonText, DialogInterface.OnClickListener positiveListener, String negativeButtonText, DialogInterface.OnClickListener negativeListener, DialogInterface.OnCancelListener cancelListener, int inputType, int maxChars, String hint) argument
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DContactsSource.java297 public int inputType; field in class:ContactsSource.EditField
306 public EditField(String column, int titleRes, int inputType) { argument
308 this.inputType = inputType;
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DInputModeSwitcher.java531 switch (editorInfo.inputType & EditorInfo.TYPE_MASK_CLASS) {
538 int v = editorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION;
578 switch (editorInfo.inputType & EditorInfo.TYPE_MASK_CLASS) {
587 int v = editorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION;
744 int variation = mEditorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION;
812 int f = mEditorInfo.inputType & EditorInfo.TYPE_MASK_FLAGS;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnEN.java258 return (getCurrentInputConnection().getCursorCapsMode(editor.inputType) == 0) ? 0 : 1;
494 if( edit.inputType == EditorInfo.TYPE_CLASS_PHONE){
664 if (edit.inputType == EditorInfo.TYPE_CLASS_PHONE) {
978 if (info.inputType == EditorInfo.TYPE_NULL) {
991 switch (info.inputType & EditorInfo.TYPE_MASK_CLASS) {
1000 switch (info.inputType & EditorInfo.TYPE_MASK_VARIATION) {
H A DOpenWnnJAJP.java2585 return (getCurrentInputConnection().getCursorCapsMode(editor.inputType) == 0) ? 0 : 1;
2654 if (info.inputType == EditorInfo.TYPE_NULL) {
2682 switch (info.inputType & EditorInfo.TYPE_MASK_CLASS) {
2695 switch (info.inputType & EditorInfo.TYPE_MASK_VARIATION) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DTextFieldsEditorView.java205 int inputType = field.inputType;
206 fieldView.setInputType(inputType);
207 if (inputType == InputType.TYPE_CLASS_PHONE) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputTestsBase.java147 ei.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT;
149 ei.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DDefaultSoftKeyboardEN.java102 int caps = connection.getCursorCapsMode(editor.inputType);
154 switch (editor.inputType & EditorInfo.TYPE_MASK_CLASS) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DAccessibilityUtils.java139 return InputTypeUtils.isPasswordInputType(editorInfo.inputType);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DDefaultSoftKeyboardJAJP.java714 int inputType = editor.inputType;
716 if (inputType == EditorInfo.TYPE_NULL) {
742 switch (inputType & EditorInfo.TYPE_MASK_CLASS) {
760 switch (inputType & EditorInfo.TYPE_MASK_VARIATION) {
781 if (inputType != mLastInputType) {
783 mLastInputType = inputType;
1173 int caps = connection.getCursorCapsMode(editor.inputType);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DResearchLogger.java788 "LatinIMEOnStartInputViewInternal", "uuid", "packageName", "inputType", "imeOptions",
805 Integer.toHexString(editorInfo.inputType),

Completed in 7856 milliseconds