/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputTypeUtils.java | 19 import android.text.InputType; 22 public final class InputTypeUtils implements InputType { 34 InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS, 35 InputType.TYPE_TEXT_VARIATION_PASSWORD, 36 InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD, 37 InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD }; 44 private static boolean isWebEditTextInputType(final int inputType) { 45 return inputType == (TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_WEB_EDIT_TEXT); 48 private static boolean isWebPasswordInputType(final int inputType) { 50 && inputType == WEB_TEXT_PASSWORD_INPUT_TYPE [all...] |
InputAttributes.java | 19 import android.text.InputType; 36 final int inputType = null != editorInfo ? editorInfo.inputType : 0; 37 final int inputClass = inputType & InputType.TYPE_MASK_CLASS; 38 mInputType = inputType; 39 if (inputClass != InputType.TYPE_CLASS_TEXT) { 46 } else if (InputType.TYPE_NULL == inputType) { 48 Log.i(TAG, "InputType.TYPE_NULL is specified") [all...] |
SettingsValues.java | 193 final int inputType = (editorInfo != null) ? editorInfo.inputType : 0; 195 && !InputTypeUtils.isPasswordInputType(inputType);
|
/frameworks/support/v4/ics/android/support/v4/widget/ |
SearchViewCompatIcs.java | 50 public static void setInputType(View searchView, int inputType) { 51 ((SearchView) searchView).setInputType(inputType);
|
/frameworks/base/core/java/android/view/inputmethod/ |
EditorInfo.java | 22 import android.text.InputType; 31 public class EditorInfo implements InputType, Parcelable { 34 * {@link InputType}. 36 * @see InputType 41 public int inputType = TYPE_NULL; 293 * {@link InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}, 294 * {@link InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}, 295 * {@link InputType#TYPE_NUMBER_VARIATION_NORMAL}, 296 * {@link InputType#TYPE_NUMBER_VARIATION_PASSWORD}. 306 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) [all...] |
/external/webkit/Source/WebCore/dom/ |
TextEvent.cpp | 39 PassRefPtr<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) 41 return adoptRef(new TextEvent(view, data, inputType)); 66 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) 68 , m_inputType(inputType)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardId.java | 22 import android.text.InputType; 163 final int inputType = mEditorInfo.inputType; 164 return InputTypeUtils.isPasswordInputType(inputType) 165 || InputTypeUtils.isVisiblePasswordInputType(inputType); 169 return (mEditorInfo.inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE) != 0; 212 return a.inputType == b.inputType
|
KeyboardLayoutSet.java | 30 import android.text.InputType; 384 final int inputType = editorInfo.inputType; 385 final int variation = inputType & InputType.TYPE_MASK_VARIATION; 387 switch (inputType & InputType.TYPE_MASK_CLASS) { 388 case InputType.TYPE_CLASS_NUMBER: 390 case InputType.TYPE_CLASS_DATETIME: 392 case InputType.TYPE_DATETIME_VARIATION_DATE [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
EditorInfoTest.java | 42 info.inputType = EditorInfo.TYPE_MASK_CLASS; 66 assertEquals(info.inputType, targetInfo.inputType);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
AccountType.java | 444 public int inputType; 455 public EditField(String column, int titleRes, int inputType) { 457 this.inputType = inputType; 481 return (inputType & EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE) != 0; 490 + " inputType=" + inputType
|
/frameworks/rs/ |
rsProgramFragment.cpp | 109 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); 113 tmp[1] = (uint32_t)inputType.get(); 115 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
|
rsProgramVertex.cpp | 191 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); 205 tmp[1] = (uint32_t)inputType.get(); 211 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(),
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
AlertDialogs.java | 26 import android.text.InputType;
87 * @param inputType Input type
96 DialogInterface.OnCancelListener cancelListener, int inputType, int maxChars,
119 if (inputType != InputType.TYPE_NULL) {
120 textInput.setInputType(inputType);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SearchViewCompat.java | 36 void setInputType(View searchView, int inputType); 69 public void setInputType(View searchView, int inputType) { 247 public void setInputType(View searchView, int inputType) { 248 SearchViewCompatIcs.setInputType(searchView, inputType); 313 * @param inputType the input type to set on the query text field 315 public static void setInputType(View searchView, int inputType) { 316 IMPL.setInputType(searchView, inputType);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsSource.java | 297 public int inputType; 306 public EditField(String column, int titleRes, int inputType) { 308 this.inputType = inputType;
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
InputModeSwitcher.java | 531 switch (editorInfo.inputType & EditorInfo.TYPE_MASK_CLASS) { 538 int v = editorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION; 578 switch (editorInfo.inputType & EditorInfo.TYPE_MASK_CLASS) { 587 int v = editorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION; 744 int variation = mEditorInfo.inputType & EditorInfo.TYPE_MASK_VARIATION; 812 int f = mEditorInfo.inputType & EditorInfo.TYPE_MASK_FLAGS;
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
SoftKeyboard.java | 22 import android.text.InputType; 156 switch (attribute.inputType & InputType.TYPE_MASK_CLASS) { 157 case InputType.TYPE_CLASS_NUMBER: 158 case InputType.TYPE_CLASS_DATETIME: 164 case InputType.TYPE_CLASS_PHONE: 170 case InputType.TYPE_CLASS_TEXT: 180 int variation = attribute.inputType & InputType.TYPE_MASK_VARIATION; 181 if (variation == InputType.TYPE_TEXT_VARIATION_PASSWORD | [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnEN.java | 258 return (getCurrentInputConnection().getCursorCapsMode(editor.inputType) == 0) ? 0 : 1; 494 if( edit.inputType == EditorInfo.TYPE_CLASS_PHONE){ 664 if (edit.inputType == EditorInfo.TYPE_CLASS_PHONE) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
TextFieldsEditorView.java | 24 import android.text.InputType; 214 int inputType = field.inputType; 215 fieldView.setInputType(inputType); 216 if (inputType == InputType.TYPE_CLASS_PHONE) {
|
/frameworks/base/core/java/android/widget/ |
SearchView.java | 40 import android.text.InputType; 298 int inputType = a.getInt(R.styleable.SearchView_inputType, -1); 299 if (inputType != -1) { 300 setInputType(inputType); 397 * @param inputType the input type to set on the query text field 401 public void setInputType(int inputType) { 402 mQueryTextView.setInputType(inputType); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SearchView.java | 44 import android.text.InputType; 304 int inputType = a.getInt(R.styleable.SearchView_android_inputType, -1); 305 if (inputType != -1) { 306 setInputType(inputType); 421 * @param inputType the input type to set on the query text field 425 public void setInputType(int inputType) { 426 mQueryTextView.setInputType(inputType); [all...] |
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
InputTypeActivity.java | 142 private View buildEntryView(int inputType, int label) { 148 editText.setInputType(inputType);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 24 import android.text.InputType; 148 final int inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT 149 | InputType.TYPE_TEXT_FLAG_MULTI_LINE; 150 mEditText.setInputType(inputType);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
DefaultSoftKeyboardEN.java | 102 int caps = connection.getCursorCapsMode(editor.inputType); 154 switch (editor.inputType & EditorInfo.TYPE_MASK_CLASS) {
|
/frameworks/base/core/java/android/app/ |
SearchDialog.java | 33 import android.text.InputType; 399 int inputType = mSearchable.getInputType(); 402 if ((inputType & InputType.TYPE_MASK_CLASS) == InputType.TYPE_CLASS_TEXT) { 405 inputType &= ~InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; 407 inputType |= InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE; 410 mSearchAutoComplete.setInputType(inputType); [all...] |