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

12

/frameworks/ml/nn/common/
H A DUtils.cpp395 auto inputType = operands[inputIndexes[0]].type; local
398 if (inputType == OperandType::TENSOR_FLOAT32) {
403 } else if (inputType == OperandType::TENSOR_QUANT8_ASYMM) {
424 auto inputType = operands[inputIndexes[0]].type; local
427 if (inputType == OperandType::TENSOR_FLOAT32) {
432 } else if (inputType == OperandType::TENSOR_QUANT8_ASYMM) {
453 auto inputType = operands[inputIndexes[0]].type; local
456 if (inputType == OperandType::TENSOR_FLOAT32) {
475 auto inputType = operands[inputIndexes[0]].type; local
478 if (inputType
500 auto inputType = operands[inputIndexes[0]].type; local
549 auto inputType = operands[inputIndexes[0]].type; local
596 auto inputType = operands[inputIndexes[0]].type; local
643 auto inputType = operands[inputIndexes[0]].type; local
681 auto inputType = operands[inputIndexes[0]].type; local
725 auto inputType = operands[inputIndexes[0]].type; local
750 auto inputType = operands[inputIndexes[0]].type; local
775 auto inputType = operands[inputIndexes[0]].type; local
800 auto inputType = operands[inputIndexes[0]].type; local
822 auto inputType = operands[inputIndexes[0]].type; local
847 auto inputType = operands[inputIndexes[0]].type; local
874 auto inputType = operands[inputIndexes[0]].type; local
908 auto inputType = operands[inputIndexes[0]].type; local
924 auto inputType = operands[inputIndexes[0]].type; local
946 auto inputType = operands[inputIndexes[0]].type; local
972 auto inputType = operands[inputIndexes[0]].type; local
999 auto inputType = operands[inputIndexes[0]].type; local
1023 auto inputType = operands[inputIndexes[0]].type; local
1050 auto inputType = operands[inputIndexes[0]].type; local
1077 auto inputType = operands[inputIndexes[1]].type; local
1092 auto inputType = operands[inputIndexes[2]].type; local
1109 auto inputType = operands[inputIndexes[1]].type; local
1203 auto inputType = operands[inputIndexes[0]].type; local
1230 auto inputType = operands[inputIndexes[0]].type; local
1259 auto inputType = operands[inputIndexes[0]].type; local
1286 auto inputType = operands[inputIndexes[0]].type; local
1313 auto inputType = operands[inputIndexes[0]].type; local
1340 auto inputType = operands[inputIndexes[0]].type; local
1377 auto inputType = operands[inputIndexes[0]].type; local
1401 auto inputType = operands[inputIndexes[0]].type; local
1425 auto inputType = operands[inputIndexes[0]].type; local
[all...]
/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/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/rule/
H A DRewriteRuleTest.kt81 fun rewritesType(inputType: String) = RuleTesterFinalTypeStep(from, to, inputType)
87 val inputType: String
92 val result = fieldRule.apply(JavaType(inputType))
100 val result = fieldRule.apply(JavaType(inputType))
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGuidedAction.java408 * @param inputType InputType for the action title not in editing.
410 public B inputType(int inputType) { argument
411 mInputType = inputType;
418 * @param inputType InputType for the action description not in editing.
420 public B descriptionInputType(int inputType) { argument
421 mDescriptionInputType = inputType;
429 * @param inputType InputType for the action title in editing.
431 public B editInputType(int inputType) { argument
432 mEditInputType = inputType;
441 descriptionEditInputType(int inputType) argument
961 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/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/core/java/android/widget/
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 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 DTextInputTimePickerView.java59 void onValueChanged(int inputType, int newValue); argument
H A DTextView.java952 int inputType = EditorInfo.TYPE_NULL;
1170 inputType = a.getInt(attr, EditorInfo.TYPE_NULL);
1303 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION);
1333 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1334 ? inputType
1345 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL
1346 ? inputType : EditorInfo.TYPE_CLASS_TEXT;
1347 } else if (inputType != EditorInfo.TYPE_NULL) {
1348 setInputType(inputType, true);
1350 singleLine = !isMultilineInputType(inputType);
6033 isPasswordInputType(int inputType) argument
6044 isVisiblePasswordInputType(int inputType) argument
[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.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/base/core/java/android/view/
H A DViewStructure.java360 * @param inputType inputType bits as defined by {@link android.text.InputType}.
362 public abstract void setInputType(int inputType); argument
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
H A DEmojiExtractTextLayout.java172 && ei.inputType != InputType.TYPE_NULL);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DSearchView.java353 final int inputType = a.getInt(R.styleable.SearchView_android_inputType, -1);
354 if (inputType != -1) {
355 setInputType(inputType);
458 * @param inputType the input type to set on the query text field
462 public void setInputType(int inputType) { argument
463 mSearchSrcTextView.setInputType(inputType);
1111 int inputType = mSearchable.getInputType();
1114 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) {
1117 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
1119 inputType |
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java221 * important part of this is {@link android.view.inputmethod.EditorInfo#inputType
222 * EditorInfo.inputType}; in particular, if this is
233 * update a soft keyboard to be appropriate for the new inputType.</p>
2667 if (ei.inputType == InputType.TYPE_NULL ||
2703 ei.inputType != InputType.TYPE_NULL);
2739 if (ei.inputType == InputType.TYPE_NULL) {
2767 int inputType = ei.inputType;
2768 if ((inputType&EditorInfo.TYPE_MASK_CLASS)
2770 if ((inputType
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp359 AudioPolicyInterface::input_type_t inputType; local
368 &inputType, portId);
374 switch (inputType) {
394 (int)inputType);
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
H A DEmojiExtractTextLayoutTest.java162 editorInfo.inputType = InputType.TYPE_CLASS_TEXT;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h147 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/src/main/java/androidx/core/view/accessibility/
H A DAccessibilityNodeInfoCompat.java2854 * @param inputType The input type.
2858 public void setInputType(int inputType) { argument
2860 mInfo.setInputType(inputType);
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp1479 input_type_t *inputType,
1539 *inputType = API_INPUT_LEGACY;
1552 *inputType = API_INPUT_INVALID;
1569 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE;
1585 *inputType = API_INPUT_LEGACY;
1589 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE;
1593 *inputType = API_INPUT_MIX_CAPTURE;
1595 *inputType = API_INPUT_TELEPHONY_RX;
1597 *inputType = API_INPUT_LEGACY;
1615 *input, *inputType, *selectedDeviceI
1472 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...]

Completed in 236 milliseconds

12