Lines Matching defs:inputType

36         final int inputType = null != editorInfo ? editorInfo.inputType : 0;
37 final int inputClass = inputType & InputType.TYPE_MASK_CLASS;
38 mInputType = inputType;
46 } else if (InputType.TYPE_NULL == inputType) {
51 Log.w(TAG, String.format("Unexpected input class: inputType=0x%08x"
53 inputType, editorInfo.imeOptions));
60 final int variation = inputType & InputType.TYPE_MASK_VARIATION;
62 0 != (inputType & InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
64 0 != (inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE);
66 0 != (inputType & InputType.TYPE_TEXT_FLAG_AUTO_CORRECT);
68 0 != (inputType & InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE);
72 if (InputTypeUtils.isPasswordInputType(inputType)
73 || InputTypeUtils.isVisiblePasswordInputType(inputType)
84 mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType);
104 return editorInfo.inputType == mInputType;
108 private void dumpFlags(final int inputType) {
110 final int inputClass = inputType & InputType.TYPE_MASK_CLASS;
120 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS))
122 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_EMAIL_SUBJECT))
124 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_FILTER))
126 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_LONG_MESSAGE))
128 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_NORMAL))
130 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_PASSWORD))
132 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_PERSON_NAME))
134 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_PHONETIC))
136 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_POSTAL_ADDRESS))
138 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_SHORT_MESSAGE))
140 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_URI))
142 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD))
144 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT))
146 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS))
148 if (0 != (inputType & InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD))
151 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS))
153 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE))
155 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_IME_MULTI_LINE))
157 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS))
159 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES))
161 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS))
163 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_AUTO_CORRECT))
165 if (0 != (inputType & InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE))