Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java127 public int inputType = TYPE_NULL; field in EditorInfo
815 if (isPasswordInputType(inputType)) { in setInitialSurroundingSubText()
1119 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
1123 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
1127 inputType = TYPE_CLASS_NUMBER in makeCompatible()
1128 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
1168 proto.write(INPUT_TYPE, inputType); in dumpDebug()
1227 newEditorInfo.inputType = inputType; in createCopyInternal()
1261 dest.writeInt(inputType); in writeToParcel()
1300 res.inputType = source.readInt();
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A 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()
/aosp14/frameworks/base/core/java/android/widget/
H A 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 …]
H A 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()
H A DTextInputTimePickerView.java62 void onValueChanged(int inputType, int newValue); in onValueChanged() argument
H A DTextView.java1233 int inputType = EditorInfo.TYPE_NULL;
1643 ? inputType
1656 } else if (inputType != EditorInfo.TYPE_NULL) {
1657 setInputType(inputType, true);
1671 mEditor.mInputType = inputType;
1675 inputType = EditorInfo.TYPE_CLASS_TEXT;
1700 mEditor.mInputType = inputType;
7543 final int inputType = getInputType(); in isAnyPasswordInputType() local
7544 return isPasswordInputType(inputType) || isVisiblePasswordInputType(inputType); in isAnyPasswordInputType()
7547 static boolean isPasswordInputType(int inputType) { in isPasswordInputType() argument
[all …]
H A DEditor.java1202 int inputType = mTextView.getInputType(); in needsToSelectAllToSelectWordOrParagraph() local
1203 int klass = inputType & InputType.TYPE_MASK_CLASS; in needsToSelectAllToSelectWordOrParagraph()
1204 int variation = inputType & InputType.TYPE_MASK_VARIATION; in needsToSelectAllToSelectWordOrParagraph()
H A DAbsListView.java6197 outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT | EditorInfo.TYPE_TEXT_VARIATION_FILTER; in onCreateInputConnection()
/aosp14/frameworks/base/core/java/android/view/contentprotection/
H A DContentProtectionEventProcessor.java212 int inputType = viewNode.getInputType(); in isAndroidPasswordField() local
214 .anyMatch(passwordInputType -> (inputType & passwordInputType) != 0); in isAndroidPasswordField()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/contentprotection/
H A DContentProtectionEventProcessorTest.java516 int inputType, in createProcessEvent() argument
527 viewStructure.setInputType(inputType); in createProcessEvent()
539 @Nullable String className, int inputType) { in createAndroidPasswordFieldEvent() argument
541 className, inputType, /* eventText= */ null, /* viewNodeText= */ null); in createAndroidPasswordFieldEvent()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DEditorInfoTest.java71 TEST_EDITOR_INFO.inputType = InputType.TYPE_CLASS_TEXT; // 0x1
368 editorInfo.inputType = EditorInfo.TYPE_CLASS_TEXT; in surroundingTextRetrieval_writeToParcel_noException()
405 editorInfo.inputType = EditorInfo.TYPE_CLASS_TEXT; in testSpanAfterSurroundingTextRetrieval()
512 info.inputType = InputType.TYPE_CLASS_TEXT; // 0x1 in testDump_filled()
/aosp14/frameworks/base/core/java/android/view/
H A DViewStructure.java413 public abstract void setInputType(int inputType); in setInputType() argument
H A DView.java10495 int inputType = info.getInputType(); in populateVirtualStructure() local
10496 if (inputType == 0 && info.isPassword()) { in populateVirtualStructure()
10497 inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD; in populateVirtualStructure()
10499 structure.setInputType(inputType); in populateVirtualStructure()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
H A DCredentialPasswordViewBinder.kt45 viewModel.inputFlags.firstOrNull()?.let { flags -> passwordField.inputType = flags }
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java3824 if (ei.inputType == InputType.TYPE_NULL ||
3860 ei.inputType != InputType.TYPE_NULL);
3896 if (ei.inputType == InputType.TYPE_NULL) {
3925 int inputType = ei.inputType;
3926 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
3928 if ((inputType&EditorInfo.TYPE_TEXT_FLAG_IME_MULTI_LINE) != 0) {
3929 inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE;
3932 eet.setInputType(inputType);
/aosp14/frameworks/base/core/java/android/view/contentcapture/
H A DViewNode.java957 public void setInputType(int inputType) { in setInputType() argument
958 mNode.mInputType = inputType; in setInputType()
/aosp14/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java996 private void parseServiceMetadata(int inputType) { in parseServiceMetadata() argument
1028 if (mTunerCount == null && inputType == TYPE_TUNER) { in parseServiceMetadata()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DViewInputConnectionTest.java399 outAttrs.inputType = InputType.TYPE_CLASS_TEXT; in onCreateInputConnection()
/aosp14/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java2962 int inputType = FrameworkStatsLog.TIF_TUNE_STATE_CHANGED__TYPE__TIF_INPUT_TYPE_UNKNOWN; in logTuneStateChanged() local
2967 inputType = inputState.info.getType(); in logTuneStateChanged()
2968 if (inputType == TvInputInfo.TYPE_TUNER) { in logTuneStateChanged()
2969 inputType = FrameworkStatsLog.TIF_TUNE_STATE_CHANGED__TYPE__TUNER; in logTuneStateChanged()
2983 inputType, in logTuneStateChanged()
/aosp14/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java2189 public void setInputType(int inputType) { in setInputType() argument
2190 mNode.mInputType = inputType; in setInputType()
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java3614 public void setInputType(int inputType) { in setInputType() argument
3616 mInputType = inputType; in setInputType()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodManagerService.java960 pw.print(" inputType=" + entry.mEditorInfo.inputType); in dump()
1119 pw.println(" inputType=0x" + Integer.toHexString(entry.mEditorInfo.inputType) in dump()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt975 field public static final int inputType = 16843296; // 0x1010220
55480 field public int inputType;
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt75962 Lcom/android/internal/R$attr;->inputType:I