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

/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java41 public int inputType = TYPE_NULL; field in class:EditorInfo
290 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) {
292 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS
293 | (inputType&TYPE_MASK_FLAGS);
296 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD
297 | (inputType&TYPE_MASK_FLAGS);
301 inputType = TYPE_CLASS_NUMBER
302 | (inputType&TYPE_MASK_FLAGS);
312 pw.println(prefix + "inputType=0x" + Integer.toHexString(inputType)
[all...]
/frameworks/base/libs/rs/
H A DrsProgramFragment.cpp105 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); local
109 tmp[1] = (uint32_t)inputType.get();
111 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsProgramVertex.cpp176 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); local
190 tmp[1] = (uint32_t)inputType.get();
196 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsFont.cpp500 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false); local
504 tmp[1] = (uint32_t)inputType.get();
508 mFontShaderFConstant.set(Allocation::createAllocation(mRSC, inputType.get(),
/frameworks/base/core/java/android/webkit/
H A DWebTextView.java1077 int inputType = InputType.TYPE_CLASS_TEXT
1082 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS;
1094 inputType |= InputType.TYPE_TEXT_FLAG_MULTI_LINE
1100 inputType |= EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD;
1107 // inputType needs to be overwritten because of the different text variation.
1108 inputType = InputType.TYPE_CLASS_TEXT
1113 // inputType needs to be overwritten because of the different class.
1114 inputType = InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL
1121 // inputType needs to be overwritten because of the different class.
1122 inputType
[all...]
/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/widget/
H A DSearchView.java297 int inputType = a.getInt(R.styleable.SearchView_inputType, -1);
298 if (inputType != -1) {
299 setInputType(inputType);
386 * @param inputType the input type to set on the query text field
390 public void setInputType(int inputType) { argument
391 mQueryTextView.setInputType(inputType);
1030 int inputType = mSearchable.getInputType();
1033 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
1036 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
1038 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;
810 inputType = a.getInt(attr, mInputType);
884 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION);
909 mInputType = inputType != EditorInfo.TYPE_NULL
910 ? inputType
920 mInputType = inputType != EditorInfo.TYPE_NULL
921 ? inputType : EditorInfo.TYPE_CLASS_TEXT;
922 } else if (inputType != EditorInfo.TYPE_NULL) {
923 setInputType(inputType, true);
925 singleLine = !isMultilineInputType(inputType);
3602 isPasswordInputType(int inputType) argument
3613 isVisiblePasswordInputType(int inputType) argument
[all...]
H A DAbsListView.java5206 outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT
/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>
2117 if (ei.inputType == InputType.TYPE_NULL ||
2153 ei.inputType != InputType.TYPE_NULL);
2179 if (ei.inputType == InputType.TYPE_NULL) {
2207 int inputType = ei.inputType;
2208 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
2210 if ((inputType
[all...]

Completed in 267 milliseconds