Home
last modified time | relevance | path

Searched refs:inputType (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java119 public int inputType = TYPE_NULL; field in EditorInfo
620 if (isPasswordInputType(inputType)) { in setInitialSurroundingSubText()
893 private static boolean isPasswordInputType(int inputType) { in isPasswordInputType() argument
895 inputType & (TYPE_MASK_CLASS | TYPE_MASK_VARIATION); in isPasswordInputType()
921 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) { in makeCompatible()
923 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS in makeCompatible()
924 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
927 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD in makeCompatible()
928 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
932 inputType = TYPE_CLASS_NUMBER in makeCompatible()
[all …]
/frameworks/rs/
DrsProgramFragment.cpp112 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); in init() local
116 tmp[1] = (uintptr_t)inputType.get(); in init()
118 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(), in init()
DrsProgramVertex.cpp185 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); in init() local
200 tmp[1] = (uintptr_t)inputType.get(); in init()
206 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(), in init()
DrsFont.cpp514 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1); in initRenderState() local
518 tmp[1] = (uintptr_t)inputType.get(); in initRenderState()
522 mFontShaderFConstant.set(Allocation::createAllocation(mRSC, inputType.get(), in initRenderState()
/frameworks/base/core/java/android/app/
DSearchDialog.java413 int inputType = mSearchable.getInputType(); in updateUI() local
416 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateUI()
419 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI()
421 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI()
424 mSearchAutoComplete.setInputType(inputType); in updateUI()
/frameworks/base/core/java/android/widget/
DSearchView.java364 final int inputType = a.getInt(R.styleable.SearchView_inputType, -1); in SearchView() local
365 if (inputType != -1) { in SearchView()
366 setInputType(inputType); in SearchView()
472 public void setInputType(int inputType) { in setInputType() argument
473 mSearchSrcTextView.setInputType(inputType); in setInputType()
1231 int inputType = mSearchable.getInputType(); in updateSearchAutoComplete() local
1234 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete()
1237 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1239 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1246 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete()
[all …]
DAutoCompleteTextView.java318 int inputType = getInputType(); in AutoCompleteTextView() local
319 if ((inputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_TEXT) { in AutoCompleteTextView()
320 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE; in AutoCompleteTextView()
321 setRawInputType(inputType); in AutoCompleteTextView()
DTextInputTimePickerView.java62 void onValueChanged(int inputType, int newValue); in onValueChanged() argument
DTextView.java1156 int inputType = EditorInfo.TYPE_NULL;
1378 inputType = a.getInt(attr, EditorInfo.TYPE_NULL);
1520 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION);
1558 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1559 ? inputType
1570 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1571 ? inputType : EditorInfo.TYPE_CLASS_TEXT;
1572 } else if (inputType != EditorInfo.TYPE_NULL) {
1573 setInputType(inputType, true);
1575 singleLine = !isMultilineInputType(inputType);
[all …]
/frameworks/base/core/java/android/view/
DViewStructure.java413 public abstract void setInputType(int inputType); in setInputType() argument
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java3509 if (ei.inputType == InputType.TYPE_NULL || in onUpdateExtractingVisibility()
3545 ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews()
3581 if (ei.inputType == InputType.TYPE_NULL) { in onExtractingInputChanged()
3610 int inputType = ei.inputType; in startExtractingText() local
3611 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in startExtractingText()
3613 if ((inputType&EditorInfo.TYPE_TEXT_FLAG_IME_MULTI_LINE) != 0) { in startExtractingText()
3614 inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE; in startExtractingText()
3617 eet.setInputType(inputType); in startExtractingText()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DEditorInfoTest.java331 editorInfo.inputType = EditorInfo.TYPE_CLASS_TEXT; in surroundingTextRetrieval_writeToParcel_noException()
368 editorInfo.inputType = EditorInfo.TYPE_CLASS_TEXT; in testSpanAfterSurroundingTextRetrieval()
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java952 public void setInputType(int inputType) { in setInputType() argument
953 mNode.mInputType = inputType; in setInputType()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java992 private void parseServiceMetadata(int inputType) { in parseServiceMetadata() argument
1024 if (mTunerCount == null && inputType == TYPE_TUNER) { in parseServiceMetadata()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h166 input_type_t *inputType,
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp289 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local
295 &config, flags, selectedDeviceId, &inputType, portId) != OK) { in getInputForAttr()
/frameworks/base/core/tests/coretests/src/android/view/
DViewInputConnectionTest.java399 outAttrs.inputType = InputType.TYPE_CLASS_TEXT; in onCreateInputConnection()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp669 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local
678 &inputType, &portId); in getInputForAttr()
685 switch (inputType) { in getInputForAttr()
715 __func__, (int)inputType); in getInputForAttr()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2424 input_type_t *inputType, in getInputForAttr() argument
2493 *inputType = API_INPUT_LEGACY; in getInputForAttr()
2501 *inputType = API_INPUT_INVALID; in getInputForAttr()
2522 *inputType = API_INPUT_MIX_PUBLIC_CAPTURE_PLAYBACK; in getInputForAttr()
2524 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE; in getInputForAttr()
2542 *inputType = API_INPUT_MIX_CAPTURE; in getInputForAttr()
2548 *inputType = API_INPUT_LEGACY; in getInputForAttr()
2550 *inputType = API_INPUT_MIX_CAPTURE; in getInputForAttr()
2552 *inputType = API_INPUT_TELEPHONY_RX; in getInputForAttr()
2554 *inputType = API_INPUT_LEGACY; in getInputForAttr()
[all …]
DAudioPolicyManager.h138 input_type_t *inputType,
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java2842 int inputType = FrameworkStatsLog.TIF_TUNE_STATE_CHANGED__TYPE__TIF_INPUT_TYPE_UNKNOWN; in logTuneStateChanged() local
2847 inputType = inputState.info.getType(); in logTuneStateChanged()
2848 if (inputType == TvInputInfo.TYPE_TUNER) { in logTuneStateChanged()
2849 inputType = FrameworkStatsLog.TIF_TUNE_STATE_CHANGED__TYPE__TUNER; in logTuneStateChanged()
2863 inputType, in logTuneStateChanged()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java2181 public void setInputType(int inputType) { in setInputType() argument
2182 mNode.mInputType = inputType; in setInputType()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp252 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local
259 selectedDeviceId, &inputType, portId)); in getInputForAttr()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3432 public void setInputType(int inputType) { in setInputType() argument
3434 mInputType = inputType; in setInputType()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp532 audio_devices_t inputType, audio_devices_t outputType, in append_AudioDeviceDescription() argument
535 pairs.push_back(std::make_pair(inputType, make_AudioDeviceDescription(inType, connection))); in append_AudioDeviceDescription()

12