/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputAttributes.java | 19 import android.text.InputType; 39 final int inputType = null != editorInfo ? editorInfo.inputType : 0; 40 final int inputClass = inputType & InputType.TYPE_MASK_CLASS; 41 mInputType = inputType; 42 if (inputClass != InputType.TYPE_CLASS_TEXT) { 49 } else if (InputType.TYPE_NULL == inputType) { 51 Log.i(TAG, "InputType.TYPE_NULL is specified") [all...] |
/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; 317 * {@link InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}, 318 * {@link InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}, 319 * {@link InputType#TYPE_NUMBER_VARIATION_NORMAL}, 320 * {@link InputType#TYPE_NUMBER_VARIATION_PASSWORD}. 330 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
TextEvent.cpp | 40 PassRefPtr<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) 42 return adoptRef(new TextEvent(view, data, inputType)); 68 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) 70 , m_inputType(inputType)
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
BaseClickableWithKeyInputType.cpp | 66 void BaseClickableWithKeyInputType::handleKeyupEvent(InputType& inputType, KeyboardEvent* event) 72 inputType.dispatchSimulatedClickIfActive(event); 98 InputType::accessKeyAction(sendMouseEvents);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardId.java | 21 import android.text.InputType; 164 final int inputType = mEditorInfo.inputType; 165 return InputTypeUtils.isPasswordInputType(inputType) 166 || InputTypeUtils.isVisiblePasswordInputType(inputType); 170 return (mEditorInfo.inputType & InputType.TYPE_TEXT_FLAG_MULTI_LINE) != 0; 210 return a.inputType == b.inputType
|
KeyboardLayoutSet.java | 29 import android.text.InputType; 374 final int inputType = editorInfo.inputType; 375 final int variation = inputType & InputType.TYPE_MASK_VARIATION; 377 switch (inputType & InputType.TYPE_MASK_CLASS) { 378 case InputType.TYPE_CLASS_NUMBER: 380 case InputType.TYPE_CLASS_DATETIME: 382 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 | 111 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); 115 tmp[1] = (uint32_t)inputType.get(); 117 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
|
rsProgramVertex.cpp | 186 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); 201 tmp[1] = (uint32_t)inputType.get(); 207 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;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
AdapterInputConnection.java | 10 import android.text.InputType; 56 outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT 65 outAttrs.inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE 72 outAttrs.inputType = InputType.TYPE_CLASS_TEXT 73 | InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD; 85 outAttrs.inputType = InputType.TYPE_CLASS_TEXT 86 | InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS; 92 outAttrs.inputType = InputType.TYPE_CLASS_PHONE [all...] |
/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; 311 int inputType = a.getInt(R.styleable.SearchView_android_inputType, -1); 312 if (inputType != -1) { 313 setInputType(inputType); 428 * @param inputType the input type to set on the query text field 432 public void setInputType(int inputType) { 433 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; 151 final int inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT 152 | InputType.TYPE_TEXT_FLAG_MULTI_LINE; 153 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) {
|