Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/text/method/
DDateKeyListener.java21 import android.text.InputType;
42 return InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in getInputType()
44 return InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE; in getInputType()
DTimeKeyListener.java21 import android.text.InputType;
42 return InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in getInputType()
44 return InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_TIME; in getInputType()
DDateTimeKeyListener.java21 import android.text.InputType;
42 return InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in getInputType()
44 return InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_NORMAL; in getInputType()
DDigitsKeyListener.java24 import android.text.InputType;
325 contentType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in getInputType()
327 contentType = InputType.TYPE_CLASS_NUMBER; in getInputType()
329 contentType |= InputType.TYPE_NUMBER_FLAG_SIGNED; in getInputType()
332 contentType |= InputType.TYPE_NUMBER_FLAG_DECIMAL; in getInputType()
DDialerKeyListener.java19 import android.text.InputType;
48 return InputType.TYPE_CLASS_PHONE; in getInputType()
DBaseKeyListener.java24 import android.text.InputType;
475 int contentType = InputType.TYPE_CLASS_TEXT; in makeTextContentType()
478 contentType |= InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS; in makeTextContentType()
481 contentType |= InputType.TYPE_TEXT_FLAG_CAP_WORDS; in makeTextContentType()
484 contentType |= InputType.TYPE_TEXT_FLAG_CAP_SENTENCES; in makeTextContentType()
488 contentType |= InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; in makeTextContentType()
DTextKeyListener.java26 import android.text.InputType;
219 return InputType.TYPE_NULL; in getInputType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DChallengeDialogs.kt27 import android.text.InputType in <lambda>()
161 InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_PASSWORD) in <lambda>()
164 InputType.TYPE_CLASS_NUMBER or InputType.TYPE_NUMBER_VARIATION_PASSWORD) in <lambda>()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
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;
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;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DCustomEditTextPreferenceCompat.java18 import static android.text.InputType.TYPE_CLASS_TEXT;
19 import static android.text.InputType.TYPE_TEXT_FLAG_CAP_SENTENCES;
DCustomEditTextPreference.java18 import static android.text.InputType.TYPE_CLASS_TEXT;
19 import static android.text.InputType.TYPE_TEXT_FLAG_CAP_SENTENCES;
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java30 import android.text.InputType;
124 input.setInputType(InputType.TYPE_CLASS_TEXT); in callIsAppInactive()
151 input.setInputType(InputType.TYPE_CLASS_TEXT); in callSetAppLimit()
185 input.setInputType(InputType.TYPE_CLASS_TEXT); in callSetAppUsageLimit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModel.kt7 import android.text.InputType in <lambda>()
63 InputType.TYPE_CLASS_NUMBER or InputType.TYPE_NUMBER_VARIATION_PASSWORD in <lambda>()
/frameworks/base/core/java/android/text/
DInputType.java47 public interface InputType { interface
/frameworks/base/packages/SystemUI/shared/keyguard/src/com/android/keyguard/
DBasePasswordTextView.java21 import android.text.InputType;
237 info.setInputType(InputType.TYPE_NUMBER_VARIATION_PASSWORD); in onInitializeAccessibilityNodeInfo()
/frameworks/base/core/java/android/app/
DSearchDialog.java34 import android.text.InputType;
416 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateUI()
419 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI()
421 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateUI()
DSearchableInfo.java32 import android.text.InputType;
326 InputType.TYPE_CLASS_TEXT | in SearchableInfo()
327 InputType.TYPE_TEXT_VARIATION_NORMAL); in SearchableInfo()
/frameworks/base/core/tests/coretests/src/android/text/method/
DForwardDeleteTest.java20 import android.text.InputType;
48 return InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL;
DBackspaceTest.java20 import android.text.InputType;
49 return InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL;
/frameworks/proto_logging/stats/atoms/tv/
Dtv_extension_atoms.proto66 enum InputType { enum
84 optional InputType input_type = 3;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordViewController.java26 import android.text.InputType;
161 mPasswordEntry.setInputType(InputType.TYPE_CLASS_TEXT in onViewAttached()
162 | InputType.TYPE_TEXT_VARIATION_PASSWORD); in onViewAttached()
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java26 import android.text.InputType;
145 input.setInputType(InputType.TYPE_CLASS_TEXT); in callAddToken()
180 input.setInputType(InputType.TYPE_CLASS_NUMBER); in callAddManyTokens()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java39 import android.text.InputType;
2833 INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS, "EmailSubject"); in INPUT_TYPE_VARIATIONS.put()
2834 INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_POSTAL_ADDRESS, "PostalAddress"); in INPUT_TYPE_VARIATIONS.put()
2835 INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_PERSON_NAME, "PersonName"); in INPUT_TYPE_VARIATIONS.put()
2836 INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_PASSWORD, "Password"); in INPUT_TYPE_VARIATIONS.put()
2837 … INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD, "VisiblePassword"); in INPUT_TYPE_VARIATIONS.put()
2838 INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_URI, "URI"); in INPUT_TYPE_VARIATIONS.put()
2839 … INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS, "WebEmailAddress"); in INPUT_TYPE_VARIATIONS.put()
2840 INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD, "WebPassword"); in INPUT_TYPE_VARIATIONS.put()
2841 INPUT_TYPE_VARIATIONS.put(InputType.TYPE_TEXT_VARIATION_LONG_MESSAGE, "LongMessage"); in INPUT_TYPE_VARIATIONS.put()
[all …]
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DBaseInputConnectionTest.java22 import android.text.InputType;
46 InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS,
47 InputType.TYPE_TEXT_FLAG_CAP_WORDS,
48 InputType.TYPE_TEXT_FLAG_CAP_SENTENCES

12