/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 41 public int inputType = TYPE_NULL; field in EditorInfo 346 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) { in makeCompatible() 348 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS in makeCompatible() 349 | (inputType&TYPE_MASK_FLAGS); in makeCompatible() 352 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD in makeCompatible() 353 | (inputType&TYPE_MASK_FLAGS); in makeCompatible() 357 inputType = TYPE_CLASS_NUMBER in makeCompatible() 358 | (inputType&TYPE_MASK_FLAGS); in makeCompatible() 368 pw.println(prefix + "inputType=0x" + Integer.toHexString(inputType) in dump() 392 dest.writeInt(inputType); in writeToParcel() [all …]
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | style.jd | 42 the <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType" 43 >{@code android:inputType}</a> attribute to the {@link android.widget.EditText 59 android:inputType="phone" /> 73 android:inputType="textPassword" 78 <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType" 79 >{@code android:inputType}</a> attribute and 93 <p>The <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType" 94 >{@code android:inputType}</a> attribute allows you to specify various behaviors for the 100 <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType" 101 >{@code android:inputType}</a> attribute. For example, [all …]
|
/frameworks/support/v4/ics/android/support/v4/widget/ |
D | SearchViewCompatIcs.java | 50 public static void setInputType(View searchView, int inputType) { in setInputType() argument 51 ((SearchView) searchView).setInputType(inputType); in setInputType()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SearchViewCompat.java | 36 void setInputType(View searchView, int inputType); in setInputType() argument 69 public void setInputType(View searchView, int inputType) { in setInputType() argument 247 public void setInputType(View searchView, int inputType) { 248 SearchViewCompatIcs.setInputType(searchView, inputType); 315 public static void setInputType(View searchView, int inputType) { 316 IMPL.setInputType(searchView, inputType);
|
/frameworks/rs/ |
D | rsProgramFragment.cpp | 112 … ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); in init() local 116 tmp[1] = (uintptr_t)inputType.get(); in init() 118 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(), in init()
|
D | rsProgramVertex.cpp | 186 … ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); in init() local 201 tmp[1] = (uintptr_t)inputType.get(); in init() 207 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(), in init()
|
D | rsFont.cpp | 516 …ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false, 0); in initRenderState() local 520 tmp[1] = (uintptr_t)inputType.get(); in initRenderState() 524 mFontShaderFConstant.set(Allocation::createAllocation(mRSC, inputType.get(), in initRenderState()
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | text.jd | 67 with the <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code 68 android:inputType}</a> attribute. For example, if you want the user to input an email address, you 77 android:inputType="textEmailAddress" /> 83 <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType" 84 >{@code android:inputType}</a>:</p> 102 <p>The <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code 103 android:inputType}</a> also allows you to specify certain keyboard behaviors, such as whether to 106 <p>The <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code 107 android:inputType}</a> attribute allows bitwise combinations so you can specify both a keyboard 135 android:inputType="textPostalAddress| [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SearchView.java | 343 final int inputType = a.getInt(R.styleable.SearchView_android_inputType, -1); in SearchView() local 344 if (inputType != -1) { in SearchView() 345 setInputType(inputType); in SearchView() 466 public void setInputType(int inputType) { in setInputType() argument 467 mQueryTextView.setInputType(inputType); in setInputType() 1055 int inputType = mSearchable.getInputType(); in updateSearchAutoComplete() local 1058 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete() 1061 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1063 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1070 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 344 final int inputType = a.getInt(R.styleable.SearchView_inputType, -1); in SearchView() local 345 if (inputType != -1) { in SearchView() 346 setInputType(inputType); in SearchView() 452 public void setInputType(int inputType) { in setInputType() argument 453 mSearchSrcTextView.setInputType(inputType); in setInputType() 1141 int inputType = mSearchable.getInputType(); in updateSearchAutoComplete() local 1144 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete() 1147 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1149 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1156 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete() [all …]
|
D | AutoCompleteTextView.java | 176 int inputType = getInputType(); in AutoCompleteTextView() local 177 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in AutoCompleteTextView() 179 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE; in AutoCompleteTextView() 180 setRawInputType(inputType); in AutoCompleteTextView()
|
D | TextView.java | 782 int inputType = EditorInfo.TYPE_NULL; in TextView() local 1032 inputType = a.getInt(attr, EditorInfo.TYPE_NULL); in TextView() 1115 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION); in TextView() 1141 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView() 1142 ? inputType in TextView() 1153 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView() 1154 ? inputType : EditorInfo.TYPE_CLASS_TEXT; in TextView() 1155 } else if (inputType != EditorInfo.TYPE_NULL) { in TextView() 1156 setInputType(inputType, true); in TextView() 1158 singleLine = !isMultilineInputType(inputType); in TextView() [all …]
|
D | Editor.java | 666 int inputType = mTextView.getInputType(); in selectCurrentWord() local 667 int klass = inputType & InputType.TYPE_MASK_CLASS; in selectCurrentWord() 668 int variation = inputType & InputType.TYPE_MASK_VARIATION; in selectCurrentWord()
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 398 int inputType = mSearchable.getInputType(); in updateUI() local 401 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateUI() 404 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI() 406 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI() 409 mSearchAutoComplete.setInputType(inputType); in updateUI()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputInfo.java | 202 int inputType = sHardwareTypeToTvInputType.get(hardwareInfo.getType(), TYPE_TUNER); in createTvInputInfo() local 205 hardwareInfo), null, inputType, label, iconUri, false); in createTvInputInfo() 209 String id, String parentId, int inputType, String label, Uri iconUri, in createTvInputInfo() argument 236 TvInputInfo input = new TvInputInfo(service, id, parentId, inputType); in createTvInputInfo() 244 if (inputType == TYPE_TUNER && TextUtils.isEmpty(input.mSetupActivity)) { in createTvInputInfo()
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
D | InputTypeActivity.java | 142 private View buildEntryView(int inputType, int label) { in buildEntryView() argument 148 editText.setInputType(inputType); in buildEntryView()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterfaceImpl.cpp | 269 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local 275 flags, &inputType); in getInputForAttr() 280 switch (inputType) { in getInputForAttr() 298 (int)inputType); in getInputForAttr()
|
D | AudioPolicyInterface.h | 134 input_type_t *inputType) = 0;
|
D | AudioPolicyManager.h | 116 input_type_t *inputType);
|
D | AudioPolicyManager.cpp | 1463 input_type_t *inputType) in getInputForAttr() argument 1470 *inputType = API_INPUT_INVALID; in getInputForAttr() 1498 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE; in getInputForAttr() 1511 *inputType = API_INPUT_LEGACY; in getInputForAttr() 1515 *inputType = API_INPUT_MIX_EXT_POLICY_REROUTE; in getInputForAttr() 1519 *inputType = API_INPUT_MIX_CAPTURE; in getInputForAttr() 1521 *inputType = API_INPUT_LEGACY; in getInputForAttr() 1611 ALOGV("getInputForAttr() returns input type = %d", inputType); in getInputForAttr()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 2222 if (ei.inputType == InputType.TYPE_NULL || in onUpdateExtractingVisibility() 2258 ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews() 2284 if (ei.inputType == InputType.TYPE_NULL) { in onExtractingInputChanged() 2312 int inputType = ei.inputType; in startExtractingText() local 2313 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in startExtractingText() 2315 if ((inputType&EditorInfo.TYPE_TEXT_FLAG_IME_MULTI_LINE) != 0) { in startExtractingText() 2316 inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE; in startExtractingText() 2319 eet.setInputType(inputType); in startExtractingText()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | themes.jd | 183 href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code 184 android:inputType}</a>, so where you might normally place the <a 185 href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code 186 android:inputType}</a> 190 android:inputType="number" 197 <item name="android:inputType">number</item> 230 {@code <item name="android:inputType">}.</p>
|
/frameworks/base/docs/html/guide/topics/search/ |
D | searchable-config.jd | 39 android:<a href="#inputType">inputType</a>="<em>{@link android.R.attr#inputType}</em>" 118 <dt><a name="inputType"></a><code>android:inputType</code></dt> 121 need this attribute. See {@link android.R.attr#inputType} for a list of suitable values for this
|
/frameworks/base/docs/html/guide/topics/text/ |
D | creating-input-method.jd | 236 {@link android.view.inputmethod.EditorInfo#inputType} field contains the text field's input 240 The {@link android.view.inputmethod.EditorInfo#inputType} field is an <code>int</code> 246 inputType & InputType.TYPE_MASK_CLASS 275 The {@link android.view.inputmethod.EditorInfo#inputType} field can contain other bits that 296 Remember to mask {@link android.view.inputmethod.EditorInfo#inputType} with the appropriate
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfo.java | 2320 public void setInputType(int inputType) { in setInputType() argument 2322 mInputType = inputType; in setInputType()
|