Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/text/method/
DDateTimeKeyListener.java19 import android.text.InputType;
32 return InputType.TYPE_CLASS_DATETIME in getInputType()
33 | InputType.TYPE_DATETIME_VARIATION_NORMAL; in getInputType()
DTimeKeyListener.java20 import android.text.InputType;
32 return InputType.TYPE_CLASS_DATETIME in getInputType()
33 | InputType.TYPE_DATETIME_VARIATION_TIME; 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/packages/Keyguard/src/com/android/keyguard/
DKeyguardPINView.java21 import android.text.InputType;
104 mPasswordEntry.setInputType(InputType.TYPE_CLASS_NUMBER in onFinishInflate()
105 | InputType.TYPE_NUMBER_VARIATION_PASSWORD); in onFinishInflate()
DKeyguardPasswordView.java23 import android.text.InputType;
100 mPasswordEntry.setInputType(InputType.TYPE_CLASS_TEXT in onFinishInflate()
101 | InputType.TYPE_TEXT_VARIATION_PASSWORD); in onFinishInflate()
DKeyguardSimPinView.java33 import android.text.InputType;
136 mPasswordEntry.setInputType(InputType.TYPE_CLASS_NUMBER in onFinishInflate()
137 | InputType.TYPE_NUMBER_VARIATION_PASSWORD); in onFinishInflate()
DKeyguardSimPukView.java28 import android.text.InputType;
185 mPasswordEntry.setInputType(InputType.TYPE_CLASS_NUMBER in onFinishInflate()
186 | InputType.TYPE_NUMBER_VARIATION_PASSWORD); in onFinishInflate()
/frameworks/base/core/java/android/text/
DInputType.java43 public interface InputType { interface
/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/app/
DSearchDialog.java33 import android.text.InputType;
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()
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.jd222 input type, mask it with the constant {@link android.text.InputType#TYPE_MASK_CLASS}, like
226 inputType & InputType.TYPE_MASK_CLASS
232 <dt>{@link android.text.InputType#TYPE_CLASS_NUMBER}</dt>
237 <dt>{@link android.text.InputType#TYPE_CLASS_DATETIME}</dt>
241 <dt>{@link android.text.InputType#TYPE_CLASS_PHONE}</dt>
245 <dt>{@link android.text.InputType#TYPE_CLASS_TEXT}</dt>
252 {@link android.text.InputType}.
259 <dt>{@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}</dt>
261 A variant of {@link android.text.InputType#TYPE_CLASS_TEXT} for entering passwords. The
264 <dt>{@link android.text.InputType#TYPE_TEXT_VARIATION_URI}</dt>
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java44 import android.text.InputType;
1052 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { in updateSearchAutoComplete()
1055 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1057 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; in updateSearchAutoComplete()
1064 inputType |= InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS; in updateSearchAutoComplete()
/frameworks/base/core/java/android/widget/
DSearchView.java40 import android.text.InputType;
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()
DNumberPicker.java31 import android.text.InputType;
690 mInputText.setRawInputType(InputType.TYPE_CLASS_NUMBER); in NumberPicker()
1421 mInputText.setRawInputType(InputType.TYPE_CLASS_TEXT in setDisplayedValues()
1422 | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); in setDisplayedValues()
1424 mInputText.setRawInputType(InputType.TYPE_CLASS_NUMBER); in setDisplayedValues()
1959 return InputType.TYPE_CLASS_TEXT; in getInputType()
DEditor.java54 import android.text.InputType;
636 int klass = inputType & InputType.TYPE_MASK_CLASS; in selectCurrentWord()
637 int variation = inputType & InputType.TYPE_MASK_VARIATION; in selectCurrentWord()
640 if (klass == InputType.TYPE_CLASS_NUMBER || in selectCurrentWord()
641 klass == InputType.TYPE_CLASS_PHONE || in selectCurrentWord()
642 klass == InputType.TYPE_CLASS_DATETIME || in selectCurrentWord()
643 variation == InputType.TYPE_TEXT_VARIATION_URI || in selectCurrentWord()
644 variation == InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS || in selectCurrentWord()
645 variation == InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS || in selectCurrentWord()
646 variation == InputType.TYPE_TEXT_VARIATION_FILTER) { in selectCurrentWord()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeLtr.java28 import static android.text.InputType.*;
DBiDiTestGridLayoutCodeRtl.java28 import static android.text.InputType.*;
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java35 import android.text.InputType;
2191 if (ei.inputType == InputType.TYPE_NULL || in onUpdateExtractingVisibility()
2227 ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews()
2253 if (ei.inputType == InputType.TYPE_NULL) { in onExtractingInputChanged()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java24 import android.text.InputType;
513 private int mInputType = InputType.TYPE_NULL;
2346 mInputType = InputType.TYPE_NULL; in clear()

12