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

12

/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java37 * Masks for {@link inputType}
93 public int inputType = TYPE_NULL; field in class:EditorInfo
491 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) {
493 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS
494 | (inputType&TYPE_MASK_FLAGS);
497 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD
498 | (inputType&TYPE_MASK_FLAGS);
502 inputType = TYPE_CLASS_NUMBER
503 | (inputType&TYPE_MASK_FLAGS);
513 pw.println(prefix + "inputType
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedAction.java405 * @param inputType InputType for the action title not in editing.
407 public B inputType(int inputType) { argument
408 mInputType = inputType;
415 * @param inputType InputType for the action description not in editing.
417 public B descriptionInputType(int inputType) { argument
418 mDescriptionInputType = inputType;
426 * @param inputType InputType for the action title in editing.
428 public B editInputType(int inputType) { argument
429 mEditInputType = inputType;
438 descriptionEditInputType(int inputType) argument
941 isPasswordVariant(int inputType) argument
[all...]
/frameworks/rs/
H A DrsProgramFragment.cpp112 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); local
116 tmp[1] = (uintptr_t)inputType.get();
118 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsProgramVertex.cpp185 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); local
200 tmp[1] = (uintptr_t)inputType.get();
206 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(),
H A DrsFont.cpp514 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1); local
518 tmp[1] = (uintptr_t)inputType.get();
522 mFontShaderFConstant.set(Allocation::createAllocation(mRSC, inputType.get(),
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java47 @BindingMethod(type = TextView.class, attribute = "android:inputType", method = "setRawInputType"),
89 int inputType = listener != null ? listener.getInputType() : 0;
90 if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) {
92 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0) {
94 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) {
104 int inputType = listener.getInputType();
105 boolean autoText = (inputType & InputType.TYPE_TEXT_FLAG_AUTO_CORRECT) != 0;
/frameworks/base/core/java/android/view/
H A DViewStructure.java340 * @param inputType inputType bits as defined by {@link android.text.InputType}.
342 public abstract void setInputType(int inputType); argument
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DTextViewBindingAdapterTest.java200 int inputType = keyListener.getInputType();
201 if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) {
203 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0) {
205 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) {
/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.java396 int inputType = mSearchable.getInputType();
399 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
402 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
404 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
407 mSearchAutoComplete.setInputType(inputType);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp316 AudioPolicyInterface::input_type_t inputType; local
323 &inputType, portId);
328 switch (inputType) {
348 (int)inputType);
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java291 int inputType = getInputType();
292 if ((inputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_TEXT) {
293 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE;
294 setRawInputType(inputType);
H A DSearchView.java342 final int inputType = a.getInt(R.styleable.SearchView_inputType, -1);
343 if (inputType != -1) {
344 setInputType(inputType);
446 * @param inputType the input type to set on the query text field
450 public void setInputType(int inputType) { argument
451 mSearchSrcTextView.setInputType(inputType);
1181 int inputType = mSearchable.getInputType();
1184 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
1187 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
1189 inputType |
[all...]
H A DTextInputTimePickerView.java59 void onValueChanged(int inputType, int newValue); argument
H A DTextView.java995 int inputType = EditorInfo.TYPE_NULL;
1265 inputType = a.getInt(attr, EditorInfo.TYPE_NULL);
1402 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION);
1431 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1432 ? inputType
1443 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1444 ? inputType : EditorInfo.TYPE_CLASS_TEXT;
1445 } else if (inputType != EditorInfo.TYPE_NULL) {
1446 setInputType(inputType, true);
1448 singleLine = !isMultilineInputType(inputType);
5679 isPasswordInputType(int inputType) argument
5690 isVisiblePasswordInputType(int inputType) argument
[all...]
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewStructureImpl.java255 public void setInputType(int inputType) { argument
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DEmojiExtractTextLayout.java171 && ei.inputType != InputType.TYPE_NULL);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java352 final int inputType = a.getInt(R.styleable.SearchView_android_inputType, -1);
353 if (inputType != -1) {
354 setInputType(inputType);
457 * @param inputType the input type to set on the query text field
461 public void setInputType(int inputType) { argument
462 mSearchSrcTextView.setInputType(inputType);
1110 int inputType = mSearchable.getInputType();
1113 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
1116 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
1118 inputType |
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java218 * important part of this is {@link android.view.inputmethod.EditorInfo#inputType
219 * EditorInfo.inputType}; in particular, if this is
230 * update a soft keyboard to be appropriate for the new inputType.</p>
2477 if (ei.inputType == InputType.TYPE_NULL ||
2513 ei.inputType != InputType.TYPE_NULL);
2549 if (ei.inputType == InputType.TYPE_NULL) {
2577 int inputType = ei.inputType;
2578 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
2580 if ((inputType
[all...]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
H A DEmojiExtractTextLayoutTest.java146 editorInfo.inputType = InputType.TYPE_CLASS_TEXT;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h148 input_type_t *inputType,
/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java924 private void parseServiceMetadata(int inputType) { argument
956 if (mTunerCount == null && inputType == TYPE_TUNER) {
/frameworks/support/compat/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java2736 * @param inputType The input type.
2740 public void setInputType(int inputType) { argument
2742 mInfo.setInputType(inputType);
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp1495 input_type_t *inputType,
1551 *inputType = API_INPUT_LEGACY;
1564 *inputType = API_INPUT_INVALID;
1584 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE;
1600 *inputType = API_INPUT_LEGACY;
1604 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE;
1608 *inputType = API_INPUT_MIX_CAPTURE;
1610 *inputType = API_INPUT_TELEPHONY_RX;
1612 *inputType = API_INPUT_LEGACY;
1630 *input, *inputType, *selectedDeviceI
1488 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uid_t uid, const audio_config_base_t *config, audio_input_flags_t flags, audio_port_handle_t *selectedDeviceId, input_type_t *inputType, audio_port_handle_t *portId) argument
[all...]
H A DAudioPolicyManager.h137 input_type_t *inputType,

Completed in 8503 milliseconds

12