Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java41 public int inputType = TYPE_NULL; field in EditorInfo
306 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) { in makeCompatible()
308 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_EMAIL_ADDRESS in makeCompatible()
309 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
312 inputType = TYPE_CLASS_TEXT|TYPE_TEXT_VARIATION_PASSWORD in makeCompatible()
313 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
317 inputType = TYPE_CLASS_NUMBER in makeCompatible()
318 | (inputType&TYPE_MASK_FLAGS); in makeCompatible()
328 pw.println(prefix + "inputType=0x" + Integer.toHexString(inputType) in dump()
352 dest.writeInt(inputType); in writeToParcel()
[all …]
/frameworks/base/docs/html/training/keyboard-input/
Dstyle.jd42 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/java/android/support/v4/widget/
DSearchViewCompat.java36 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/support/v4/ics/android/support/v4/widget/
DSearchViewCompatIcs.java50 public static void setInputType(View searchView, int inputType) { in setInputType() argument
51 ((SearchView) searchView).setInputType(inputType); in setInputType()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dtext.jd68 with the <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code
69 android:inputType}</a> attribute. For example, if you want the user to input an email address, you
78 android:inputType="textEmailAddress" />
84 <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType"
85 >{@code android:inputType}</a>:</p>
103 <p>The <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code
104 android:inputType}</a> also allows you to specify certain keyboard behaviors, such as whether to
107 <p>The <a href="{@docRoot}reference/android/widget/TextView.html#attr_android:inputType">{@code
108 android:inputType}</a> attribute allows bitwise combinations so you can specify both a keyboard
136 android:inputType="textPostalAddress|
[all …]
/frameworks/rs/
DrsProgramFragment.cpp109 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); in init() local
113 tmp[1] = (uint32_t)inputType.get(); in init()
115 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(), in init()
DrsProgramVertex.cpp191 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); in init() local
205 tmp[1] = (uint32_t)inputType.get(); in init()
211 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(), in init()
DrsFont.cpp510 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false); in initRenderState() local
514 tmp[1] = (uint32_t)inputType.get(); in initRenderState()
518 mFontShaderFConstant.set(Allocation::createAllocation(mRSC, inputType.get(), in initRenderState()
/frameworks/base/core/java/android/widget/
DSearchView.java298 int inputType = a.getInt(R.styleable.SearchView_inputType, -1); in SearchView() local
299 if (inputType != -1) { in SearchView()
300 setInputType(inputType); in SearchView()
401 public void setInputType(int inputType) { in setInputType() argument
402 mQueryTextView.setInputType(inputType); in setInputType()
1084 int inputType = mSearchable.getInputType(); in updateSearchAutoComplete() local
1087 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete()
1090 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1092 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1099 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete()
[all …]
DAutoCompleteTextView.java181 int inputType = getInputType(); in AutoCompleteTextView() local
182 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in AutoCompleteTextView()
184 inputType |= EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE; in AutoCompleteTextView()
185 setRawInputType(inputType); in AutoCompleteTextView()
DTextView.java695 int inputType = EditorInfo.TYPE_NULL; in TextView() local
944 inputType = a.getInt(attr, EditorInfo.TYPE_NULL); in TextView()
1015 inputType & (EditorInfo.TYPE_MASK_CLASS | EditorInfo.TYPE_MASK_VARIATION); in TextView()
1041 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
1042 ? inputType in TextView()
1053 mEditor.mInputType = inputType != EditorInfo.TYPE_NULL in TextView()
1054 ? inputType : EditorInfo.TYPE_CLASS_TEXT; in TextView()
1055 } else if (inputType != EditorInfo.TYPE_NULL) { in TextView()
1056 setInputType(inputType, true); in TextView()
1058 singleLine = !isMultilineInputType(inputType); in TextView()
[all …]
DEditor.java617 int inputType = mTextView.getInputType(); in selectCurrentWord() local
618 int klass = inputType & InputType.TYPE_MASK_CLASS; in selectCurrentWord()
619 int variation = inputType & InputType.TYPE_MASK_VARIATION; in selectCurrentWord()
DAbsListView.java5594 outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT in onCreateInputConnection()
/frameworks/base/core/java/android/app/
DSearchDialog.java399 int inputType = mSearchable.getInputType(); in updateUI() local
402 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateUI()
405 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI()
407 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI()
410 mSearchAutoComplete.setInputType(inputType); in updateUI()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DInputTypeActivity.java142 private View buildEntryView(int inputType, int label) { in buildEntryView() argument
148 editText.setInputType(inputType); in buildEntryView()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java2178 if (ei.inputType == InputType.TYPE_NULL || in onUpdateExtractingVisibility()
2214 ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews()
2240 if (ei.inputType == InputType.TYPE_NULL) { in onExtractingInputChanged()
2268 int inputType = ei.inputType; in startExtractingText() local
2269 if ((inputType&EditorInfo.TYPE_MASK_CLASS) in startExtractingText()
2271 if ((inputType&EditorInfo.TYPE_TEXT_FLAG_IME_MULTI_LINE) != 0) { in startExtractingText()
2272 inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE; in startExtractingText()
2275 eet.setInputType(inputType); in startExtractingText()
/frameworks/base/docs/html/guide/topics/ui/
Dthemes.jd183 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 &lt;item name="android:inputType">number&lt;/item>
230 {@code &lt;item name="android:inputType">}.</p>
Ddialogs.jd418 android:inputType="textEmailAddress"
428 android:inputType="textPassword"
/frameworks/base/docs/html/guide/topics/text/
Dcreating-input-method.jd216 the {@link android.view.inputmethod.EditorInfo#inputType} field contains the text field's input
220 The {@link android.view.inputmethod.EditorInfo#inputType} field is an <code>int</code>
226 inputType &amp; InputType.TYPE_MASK_CLASS
255 The {@link android.view.inputmethod.EditorInfo#inputType} field can contain other bits that
276 Remember to mask {@link android.view.inputmethod.EditorInfo#inputType} with the appropriate
/frameworks/base/docs/html/guide/topics/search/
Dsearchable-config.jd40 android:inputType="<em>{@link android.R.attr#inputType}</em>"
119 <dt><code>android:inputType</code></dt>
122 need this attribute. See {@link android.R.attr#inputType} for a list of suitable values for this
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java363 int inputType = InputType.TYPE_CLASS_TEXT in initEditorInfo() local
368 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in initEditorInfo()
383 inputType |= InputType.TYPE_TEXT_FLAG_MULTI_LINE in initEditorInfo()
389 inputType |= EditorInfo.TYPE_TEXT_VARIATION_WEB_PASSWORD; in initEditorInfo()
396 inputType = InputType.TYPE_CLASS_TEXT in initEditorInfo()
401 inputType = InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL in initEditorInfo()
408 inputType = InputType.TYPE_CLASS_PHONE; in initEditorInfo()
413 inputType |= InputType.TYPE_TEXT_VARIATION_URI; in initEditorInfo()
420 mInputType = inputType; in initEditorInfo()
429 outAttrs.inputType = mInputType; in setupEditorInfo()
/frameworks/base/docs/html/sdk/api_diff/3/
DmissingSinces.txt635 NO DOC BLOCK: android.R.attr Field inputType
/frameworks/base/api/
D14.txt548 field public static final int inputType = 16843296; // 0x1010220
24477 field public int inputType;
D15.txt550 field public static final int inputType = 16843296; // 0x1010220
24629 field public int inputType;
D16.txt558 field public static final int inputType = 16843296; // 0x1010220
25793 field public int inputType;

12