Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java117 public int inputType = TYPE_NULL; field in EditorInfo
612 if (isPasswordInputType(inputType)) { in setInitialSurroundingSubText()
885 private static boolean isPasswordInputType(int inputType) { in isPasswordInputType() argument
887 inputType & (TYPE_MASK_CLASS | TYPE_MASK_VARIATION); in isPasswordInputType()
913 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) { in makeCompatible()
915 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS in makeCompatible()
916 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
919 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD in makeCompatible()
920 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
924 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()
1224 int inputType = mSearchable.getInputType(); in updateSearchAutoComplete() local
1227 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete()
1230 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1232 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1239 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete()
[all …]
DAutoCompleteTextView.java304 int inputType = getInputType(); in AutoCompleteTextView() local
305 if ((inputType & EditorInfo.TYPE_MASK_CLASS) == EditorInfo.TYPE_CLASS_TEXT) { in AutoCompleteTextView()
306 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE; in AutoCompleteTextView()
307 setRawInputType(inputType); in AutoCompleteTextView()
DTextInputTimePickerView.java62 void onValueChanged(int inputType, int newValue); in onValueChanged() argument
DTextView.java1116 int inputType = EditorInfo.TYPE_NULL;
1338 inputType = a.getInt(attr, EditorInfo.TYPE_NULL);
1471 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION);
1503 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1504 ? inputType
1515 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1516 ? inputType : EditorInfo.TYPE_CLASS_TEXT;
1517 } else if (inputType != EditorInfo.TYPE_NULL) {
1518 setInputType(inputType, true);
1520 singleLine = !isMultilineInputType(inputType);
[all …]
DEditor.java1140 int inputType = mTextView.getInputType(); in needsToSelectAllToSelectWordOrParagraph() local
1141 int klass = inputType & InputType.TYPE_MASK_CLASS; in needsToSelectAllToSelectWordOrParagraph()
1142 int variation = inputType & InputType.TYPE_MASK_VARIATION; in needsToSelectAllToSelectWordOrParagraph()
/frameworks/base/core/java/android/view/
DViewStructure.java389 public abstract void setInputType(int inputType); in setInputType() argument
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java3131 if (ei.inputType == InputType.TYPE_NULL || in onUpdateExtractingVisibility()
3167 ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews()
3203 if (ei.inputType == InputType.TYPE_NULL) { in onExtractingInputChanged()
3231 int inputType = ei.inputType; in startExtractingText() local
3232 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in startExtractingText()
3234 if ((inputType&EditorInfo.TYPE_TEXT_FLAG_IME_MULTI_LINE) != 0) { in startExtractingText()
3235 inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE; in startExtractingText()
3238 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.h152 input_type_t *inputType,
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp278 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local
284 &config, flags, selectedDeviceId, &inputType, portId) != OK) { in getInputForAttr()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp624 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local
633 &inputType, &portId); in getInputForAttr()
640 switch (inputType) { in getInputForAttr()
663 (int)inputType); in getInputForAttr()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2122 input_type_t *inputType, in getInputForAttr() argument
2191 *inputType = API_INPUT_LEGACY; in getInputForAttr()
2199 *inputType = API_INPUT_INVALID; in getInputForAttr()
2222 *inputType = API_INPUT_MIX_PUBLIC_CAPTURE_PLAYBACK; in getInputForAttr()
2224 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE; in getInputForAttr()
2242 *inputType = API_INPUT_MIX_CAPTURE; in getInputForAttr()
2248 *inputType = API_INPUT_LEGACY; in getInputForAttr()
2250 *inputType = API_INPUT_MIX_CAPTURE; in getInputForAttr()
2252 *inputType = API_INPUT_TELEPHONY_RX; in getInputForAttr()
2254 *inputType = API_INPUT_LEGACY; in getInputForAttr()
[all …]
DAudioPolicyManager.h139 input_type_t *inputType,
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java2611 int inputType = FrameworkStatsLog.TIF_TUNE_STATE_CHANGED__TYPE__TIF_INPUT_TYPE_UNKNOWN; in logTuneStateChanged() local
2616 inputType = inputState.info.getType(); in logTuneStateChanged()
2617 if (inputType == TvInputInfo.TYPE_TUNER) { in logTuneStateChanged()
2618 inputType = FrameworkStatsLog.TIF_TUNE_STATE_CHANGED__TYPE__TUNER; in logTuneStateChanged()
2632 inputType, in logTuneStateChanged()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp247 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local
254 selectedDeviceId, &inputType, portId)); in getInputForAttr()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java2176 public void setInputType(int inputType) { in setInputType() argument
2177 mNode.mInputType = inputType; in setInputType()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3308 public void setInputType(int inputType) { in setInputType() argument
3310 mInputType = inputType; in setInputType()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java846 pw.print(" inputType=" + entry.mEditorInfo.inputType); in dump()
1017 pw.println(" inputType=0x" + Integer.toHexString(entry.mEditorInfo.inputType) in dump()

12