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

/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java41 public int inputType = TYPE_NULL; field in class:EditorInfo
306 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) {
308 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS
309 | (inputType&TYPE_MASK_FLAGS);
312 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD
313 | (inputType&TYPE_MASK_FLAGS);
317 inputType = TYPE_CLASS_NUMBER
318 | (inputType&TYPE_MASK_FLAGS);
328 pw.println(prefix + "inputType=0x" + Integer.toHexString(inputType)
[all...]
/frameworks/rs/
H A DrsProgramFragment.cpp107 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); local
111 tmp[1] = (uint32_t)inputType.get();
113 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsProgramVertex.cpp179 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); local
193 tmp[1] = (uint32_t)inputType.get();
199 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsFont.cpp507 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false); local
511 tmp[1] = (uint32_t)inputType.get();
515 mFontShaderFConstant.set(Allocation::createAllocation(mRSC, inputType.get(),
/frameworks/base/core/java/android/widget/
H A DSearchView.java298 int inputType = a.getInt(R.styleable.SearchView_inputType, -1);
299 if (inputType != -1) {
300 setInputType(inputType);
398 * @param inputType the input type to set on the query text field
402 public void setInputType(int inputType) { argument
403 mQueryTextView.setInputType(inputType);
1085 int inputType = mSearchable.getInputType();
1088 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
1091 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
1093 inputType |
[all...]
H A DAutoCompleteTextView.java181 int inputType = getInputType();
182 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
184 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE;
185 setRawInputType(inputType);
H A DTextView.java559 int inputType = EditorInfo.TYPE_NULL;
808 inputType = a.getInt(attr, EditorInfo.TYPE_NULL);
879 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION);
905 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
906 ? inputType
917 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
918 ? inputType : EditorInfo.TYPE_CLASS_TEXT;
919 } else if (inputType != EditorInfo.TYPE_NULL) {
920 setInputType(inputType, true);
922 singleLine = !isMultilineInputType(inputType);
3779 isPasswordInputType(int inputType) argument
3790 isVisiblePasswordInputType(int inputType) argument
[all...]
H A DEditor.java495 // mInputType has been set from inputType, possibly modified by mInputMethod.
555 * It would be better to rely on the input type for everything. A password inputType should have
589 int inputType = mTextView.getInputType();
590 int klass = inputType & InputType.TYPE_MASK_CLASS;
591 int variation = inputType & InputType.TYPE_MASK_VARIATION;
H A DAbsListView.java5698 outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DInputTypeActivity.java142 private View buildEntryView(int inputType, int label) { argument
148 editText.setInputType(inputType);
/frameworks/base/core/java/android/app/
H A DSearchDialog.java399 int inputType = mSearchable.getInputType();
402 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
405 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
407 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
410 mSearchAutoComplete.setInputType(inputType);
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java201 * important part of this is {@link android.view.inputmethod.EditorInfo#inputType
202 * EditorInfo.inputType}; in particular, if this is
213 * update a soft keyboard to be appropriate for the new inputType.</p>
2132 if (ei.inputType == InputType.TYPE_NULL ||
2168 ei.inputType != InputType.TYPE_NULL);
2194 if (ei.inputType == InputType.TYPE_NULL) {
2222 int inputType = ei.inputType;
2223 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
2225 if ((inputType
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java364 int inputType = InputType.TYPE_CLASS_TEXT
369 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS;
384 inputType |= InputType.TYPE_TEXT_FLAG_MULTI_LINE
390 inputType |= EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD;
397 // inputType needs to be overwritten because of the different text variation.
398 inputType = InputType.TYPE_CLASS_TEXT
403 // inputType needs to be overwritten because of the different class.
404 inputType = InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL
411 // inputType needs to be overwritten because of the different class.
412 inputType
[all...]

Completed in 410 milliseconds