Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/text/method/
DTimeKeyListener.java20 import android.text.InputType;
32 return InputType.TYPE_CLASS_DATETIME in getInputType()
33 | InputType.TYPE_DATETIME_VARIATION_TIME; in getInputType()
DDateTimeKeyListener.java19 import android.text.InputType;
32 return InputType.TYPE_CLASS_DATETIME in getInputType()
33 | InputType.TYPE_DATETIME_VARIATION_NORMAL; in getInputType()
DDateKeyListener.java20 import android.text.InputType;
32 return InputType.TYPE_CLASS_DATETIME in getInputType()
33 | InputType.TYPE_DATETIME_VARIATION_DATE; in getInputType()
DBaseKeyListener.java132 int contentType = InputType.TYPE_CLASS_TEXT; in makeTextContentType()
135 contentType |= InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS; in makeTextContentType()
138 contentType |= InputType.TYPE_TEXT_FLAG_CAP_WORDS; in makeTextContentType()
141 contentType |= InputType.TYPE_TEXT_FLAG_CAP_SENTENCES; in makeTextContentType()
145 contentType |= InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; in makeTextContentType()
DDigitsKeyListener.java19 import android.text.InputType;
127 int contentType = InputType.TYPE_CLASS_NUMBER; in getInputType()
129 contentType |= InputType.TYPE_NUMBER_FLAG_SIGNED; in getInputType()
132 contentType |= InputType.TYPE_NUMBER_FLAG_DECIMAL; in getInputType()
DDialerKeyListener.java21 import android.text.InputType;
48 return InputType.TYPE_CLASS_PHONE; in getInputType()
DTextKeyListener.java29 import android.text.InputType;
214 return InputType.TYPE_NULL; in getInputType()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeLtr.java32 import static android.text.InputType.TYPE_CLASS_TEXT;
33 import static android.text.InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS;
34 import static android.text.InputType.TYPE_TEXT_VARIATION_PASSWORD;
DBiDiTestGridLayoutCodeRtl.java32 import static android.text.InputType.TYPE_CLASS_TEXT;
33 import static android.text.InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS;
34 import static android.text.InputType.TYPE_TEXT_VARIATION_PASSWORD;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPasswordView.java22 import android.text.InputType;
126 mPasswordEntry.setInputType(InputType.TYPE_CLASS_TEXT in onFinishInflate()
127 | InputType.TYPE_TEXT_VARIATION_PASSWORD); in onFinishInflate()
DPasswordTextView.java33 import android.text.InputType;
324 info.setInputType(InputType.TYPE_NUMBER_VARIATION_PASSWORD); in onInitializeAccessibilityNodeInfo()
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java22 import android.text.InputType;
31 public class EditorInfo implements InputType, Parcelable {
/frameworks/base/core/java/android/text/
DInputType.java43 public interface InputType { interface
DTextUtils.java1508 = InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS;
1516 = InputType.TYPE_TEXT_FLAG_CAP_WORDS;
1524 = InputType.TYPE_TEXT_FLAG_CAP_SENTENCES;
/frameworks/base/core/java/android/app/
DSearchDialog.java33 import android.text.InputType;
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()
DSearchableInfo.java33 import android.text.InputType;
321 InputType.TYPE_CLASS_TEXT | in SearchableInfo()
322 InputType.TYPE_TEXT_VARIATION_NORMAL); in SearchableInfo()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewWordLimitsTest.java21 import android.text.InputType;
50 mTv.setInputType(InputType.TYPE_CLASS_TEXT); in setUp()
/frameworks/base/docs/html/guide/topics/text/
Dcreating-input-method.jd242 input type, mask it with the constant {@link android.text.InputType#TYPE_MASK_CLASS}, like
246 inputType & InputType.TYPE_MASK_CLASS
252 <dt>{@link android.text.InputType#TYPE_CLASS_NUMBER}</dt>
257 <dt>{@link android.text.InputType#TYPE_CLASS_DATETIME}</dt>
261 <dt>{@link android.text.InputType#TYPE_CLASS_PHONE}</dt>
265 <dt>{@link android.text.InputType#TYPE_CLASS_TEXT}</dt>
272 {@link android.text.InputType}.
279 <dt>{@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}</dt>
281 A variant of {@link android.text.InputType#TYPE_CLASS_TEXT} for entering passwords. The
284 <dt>{@link android.text.InputType#TYPE_TEXT_VARIATION_URI}</dt>
[all …]
/frameworks/base/core/java/android/widget/
DSearchView.java40 import android.text.InputType;
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()
DNumberPicker.java32 import android.text.InputType;
724 mInputText.setRawInputType(InputType.TYPE_CLASS_NUMBER); in NumberPicker()
1476 mInputText.setRawInputType(InputType.TYPE_CLASS_TEXT in setDisplayedValues()
1477 | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); in setDisplayedValues()
1479 mInputText.setRawInputType(InputType.TYPE_CLASS_NUMBER); in setDisplayedValues()
2025 return InputType.TYPE_CLASS_TEXT; in getInputType()
DEditor.java57 import android.text.InputType;
667 int klass = inputType & InputType.TYPE_MASK_CLASS; in selectCurrentWord()
668 int variation = inputType & InputType.TYPE_MASK_VARIATION; in selectCurrentWord()
671 if (klass == InputType.TYPE_CLASS_NUMBER || in selectCurrentWord()
672 klass == InputType.TYPE_CLASS_PHONE || in selectCurrentWord()
673 klass == InputType.TYPE_CLASS_DATETIME || in selectCurrentWord()
674 variation == InputType.TYPE_TEXT_VARIATION_URI || in selectCurrentWord()
675 variation == InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS || in selectCurrentWord()
676 variation == InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS || in selectCurrentWord()
677 variation == InputType.TYPE_TEXT_VARIATION_FILTER) { in selectCurrentWord()
DDatePicker.java27 import android.text.InputType;
1061 mMonthSpinnerInput.setRawInputType(InputType.TYPE_CLASS_NUMBER); in updateSpinners()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java48 import android.text.InputType;
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()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java35 import android.text.InputType;
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()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java25 import android.text.InputType;
572 private int mInputType = InputType.TYPE_NULL;
2863 mInputType = InputType.TYPE_NULL; in clear()

12