/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 41 public int inputType = TYPE_NULL; field in EditorInfo 359 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) { in makeCompatible() 361 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS in makeCompatible() 362 | (inputType&TYPE_MASK_FLAGS); in makeCompatible() 365 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD in makeCompatible() 366 | (inputType&TYPE_MASK_FLAGS); in makeCompatible() 370 inputType = TYPE_CLASS_NUMBER in makeCompatible() 371 | (inputType&TYPE_MASK_FLAGS); in makeCompatible() 381 pw.println(prefix + "inputType=0x" + Integer.toHexString(inputType) in dump() 405 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); 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); 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 | 515 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1); in initRenderState() local 519 tmp[1] = (uintptr_t)inputType.get(); in initRenderState() 523 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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TextViewBindingAdapter.java | 66 int inputType = listener != null ? listener.getInputType() : 0; in setAutoText() local 67 if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) { in setAutoText() 69 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0) { in setAutoText() 71 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) { in setAutoText() 81 int inputType = listener.getInputType(); in setCapitalize() local 82 boolean autoText = (inputType & InputType.TYPE_TEXT_FLAG_AUTO_CORRECT) != 0; in setCapitalize()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputInfo.java | 235 int inputType = sHardwareTypeToTvInputType.get(hardwareInfo.getType(), TYPE_TUNER); in createTvInputInfo() local 238 hardwareInfo), null, inputType, true, 0, label, null, iconUri, false); in createTvInputInfo() 257 int inputType = sHardwareTypeToTvInputType.get(hardwareInfo.getType(), TYPE_TUNER); in createTvInputInfo() local 260 hardwareInfo), null, inputType, true, labelRes, null, icon, null, false); in createTvInputInfo() 264 String parentId, int inputType, boolean isHardwareInput, int labelRes, String label, in createTvInputInfo() argument 291 TvInputInfo input = new TvInputInfo(service, id, parentId, inputType, isHardwareInput); in createTvInputInfo() 299 if (inputType == TYPE_TUNER && TextUtils.isEmpty(input.mSetupActivity)) { in createTvInputInfo()
|
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 343 final int inputType = a.getInt(R.styleable.SearchView_inputType, -1); in SearchView() local 344 if (inputType != -1) { in SearchView() 345 setInputType(inputType); in SearchView() 451 public void setInputType(int inputType) { in setInputType() argument 452 mSearchSrcTextView.setInputType(inputType); in setInputType() 1140 int inputType = mSearchable.getInputType(); in updateSearchAutoComplete() local 1143 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete() 1146 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1148 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1155 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete() [all …]
|
D | AutoCompleteTextView.java | 177 int inputType = getInputType(); in AutoCompleteTextView() local 178 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in AutoCompleteTextView() 180 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE; in AutoCompleteTextView() 181 setRawInputType(inputType); in AutoCompleteTextView()
|
D | TextView.java | 826 int inputType = EditorInfo.TYPE_NULL; in TextView() local 1084 inputType = a.getInt(attr, EditorInfo.TYPE_NULL); in TextView() 1180 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION); in TextView() 1206 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView() 1207 ? inputType in TextView() 1218 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView() 1219 ? inputType : EditorInfo.TYPE_CLASS_TEXT; in TextView() 1220 } else if (inputType != EditorInfo.TYPE_NULL) { in TextView() 1221 setInputType(inputType, true); in TextView() 1223 singleLine = !isMultilineInputType(inputType); in TextView() [all …]
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 396 int inputType = mSearchable.getInputType(); in updateUI() local 399 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateUI() 402 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI() 404 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI() 407 mSearchAutoComplete.setInputType(inputType); in updateUI()
|
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatKitKat.java | 95 public static void setInputType(Object info, int inputType) { in setInputType() argument 96 ((AccessibilityNodeInfo) info).setInputType(inputType); in setInputType()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SearchView.java | 355 final int inputType = a.getInt(R.styleable.SearchView_android_inputType, -1); in SearchView() local 356 if (inputType != -1) { in SearchView() 357 setInputType(inputType); in SearchView() 478 public void setInputType(int inputType) { in setInputType() argument 479 mSearchSrcTextView.setInputType(inputType); in setInputType() 1074 int inputType = mSearchable.getInputType(); in updateSearchAutoComplete() local 1077 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete() 1080 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1082 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete() 1089 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | TextViewBindingAdapterTest.java | 198 int inputType = keyListener.getInputType(); in getCapitalization() local 199 if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) { in getCapitalization() 201 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0) { in getCapitalization() 203 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) { in getCapitalization()
|
/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/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 2278 if (ei.inputType == InputType.TYPE_NULL || in onUpdateExtractingVisibility() 2314 ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews() 2340 if (ei.inputType == InputType.TYPE_NULL) { in onExtractingInputChanged() 2368 int inputType = ei.inputType; in startExtractingText() local 2369 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in startExtractingText() 2371 if ((inputType&EditorInfo.TYPE_TEXT_FLAG_IME_MULTI_LINE) != 0) { in startExtractingText() 2372 inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE; in startExtractingText() 2375 eet.setInputType(inputType); in startExtractingText()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 286 AudioPolicyInterface::input_type_t inputType; in getInputForAttr() local 302 &inputType); in getInputForAttr() 307 switch (inputType) { in getInputForAttr() 327 (int)inputType); in getInputForAttr()
|
/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/support/v4/java/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompat.java | 600 public void setInputType(Object info, int inputType); in setInputType() argument 1156 public void setInputType(Object info, int inputType) { in setInputType() argument 1733 public void setInputType(Object info, int inputType) { in setInputType() argument 1734 AccessibilityNodeInfoCompatKitKat.setInputType(info, inputType); in setInputType() 3496 public void setInputType(int inputType) { in setInputType() argument 3497 IMPL.setInputType(mInfo, inputType); in setInputType()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 140 input_type_t *inputType) = 0;
|
/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
|