/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...] |
/external/deqp/framework/referencerenderer/ |
rrShaders.cpp | 30 GeometryShader::GeometryShader (size_t numVaryingInputs, size_t numVaryingOutputs, GeometryShaderInputType inputType, GeometryShaderOutputType outputType, size_t verticesOut, size_t numInvocations) 31 : m_inputType (inputType)
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSetNavigateMoreKeysBase.java | 19 import android.text.InputType; 80 final int elementId, final int inputType, final int imeOptions, 83 editorInfo.inputType = inputType; 121 final int elementId, final int inputType) { 123 doTestMoreKeysOf(code, subtype, elementId, inputType, 127 doTestMoreKeysOf(code, subtype, elementId, inputType, 131 doTestMoreKeysOf(code, subtype, elementId, inputType, 135 doTestMoreKeysOf(code, subtype, elementId, inputType, 139 doTestMoreKeysOf(code, subtype, elementId, inputType, [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputAttributes.java | 23 import android.text.InputType; 62 final int inputType = null != editorInfo ? editorInfo.inputType : 0; 63 final int inputClass = inputType & InputType.TYPE_MASK_CLASS; 64 mInputType = inputType; 65 mIsPasswordField = InputTypeUtils.isPasswordInputType(inputType) 66 || InputTypeUtils.isVisiblePasswordInputType(inputType); 67 if (inputClass != InputType.TYPE_CLASS_TEXT) { 74 } else if (InputType.TYPE_NULL == inputType) [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);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripLayoutHelperTests.java | 26 private static void confirmShowTypedWord(final String message, final int inputType) { 28 inputType, 32 inputType, 36 inputType, 40 inputType,
|
/frameworks/base/core/java/android/view/inputmethod/ |
EditorInfo.java | 24 import android.text.InputType; 33 public class EditorInfo implements InputType, Parcelable { 36 * {@link InputType}. 38 * @see InputType 43 public int inputType = TYPE_NULL; 370 * {@link InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}, 371 * {@link InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}, 372 * {@link InputType#TYPE_NUMBER_VARIATION_NORMAL}, 373 * {@link InputType#TYPE_NUMBER_VARIATION_PASSWORD}. 383 switch (inputType&(TYPE_MASK_CLASS|TYPE_MASK_VARIATION)) [all...] |
/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; 214 return a.inputType == b.inputType
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
GuidedAction.java | 25 import android.text.InputType; 127 private int mInputType = InputType.TYPE_CLASS_TEXT; 128 private int mDescriptionInputType = InputType.TYPE_CLASS_TEXT; 129 private int mEditInputType = InputType.TYPE_CLASS_TEXT; 130 private int mDescriptionEditInputType = InputType.TYPE_CLASS_TEXT; 402 * Sets {@link InputType} of this action title not in editing. 404 * @param inputType InputType for the action title not in editing. 406 public B inputType(int inputType) { [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
AccountType.java | 439 public int inputType; 450 public EditField(String column, int titleRes, int inputType) { 452 this.inputType = inputType; 476 return (inputType & EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE) != 0; 485 + " inputType=" + inputType
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
TextInputWizardFragment.java | 24 import android.text.InputType; 43 public static final int INPUT_TYPE_NORMAL = InputType.TYPE_CLASS_TEXT 44 | InputType.TYPE_TEXT_VARIATION_NORMAL; 45 public static final int INPUT_TYPE_PASSWORD = InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS 46 | InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD; 47 public static final int INPUT_TYPE_EMAIL = InputType.TYPE_CLASS_TEXT 48 | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS; 49 public static final int INPUT_TYPE_NO_SUGGESTIONS = InputType.TYPE_CLASS_TEXT 50 | InputType.TYPE_TEXT_VARIATION_NORMAL | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
EditorInfoTest.java | 43 info.inputType = EditorInfo.TYPE_MASK_CLASS; 68 assertEquals(info.inputType, targetInfo.inputType);
|
/external/deqp/modules/glshared/ |
glsDrawTest.hpp | 56 enum InputType 177 static std::string inputTypeToString (InputType type); 184 static int inputTypeSize (InputType type); 189 static AttributeSpec createAttributeArray (InputType inputType, OutputType outputType, Storage storage, Usage usage, int componentCount, int offset, int stride, bool normalize, int instanceDivisor); 190 static AttributeSpec createDefaultAttribute (InputType inputType, OutputType outputType, int componentCount); //!< allowed inputType values: INPUTTYPE_INT, INPUTTYPE_UNSIGNED_INT, INPUTTYPE_FLOAT 192 InputType inputType; [all...] |
glsDrawTest.cpp | 110 static GLenum inputTypeToGL (DrawTestSpec::InputType type) 188 static bool inputTypeIsFloatType (DrawTestSpec::InputType type) 513 static GLValue getMaxValue (DrawTestSpec::InputType type); 514 static GLValue getMinValue (DrawTestSpec::InputType type); 516 DrawTestSpec::InputType type; 601 GLValue GLValue::getMaxValue (DrawTestSpec::InputType type) 619 GLValue GLValue::getMinValue (DrawTestSpec::InputType type) 640 template<> struct GLValueTypeTraits<GLValue::Float> { static const DrawTestSpec::InputType Type = DrawTestSpec::INPUTTYPE_FLOAT; }; 641 template<> struct GLValueTypeTraits<GLValue::Double> { static const DrawTestSpec::InputType Type = DrawTestSpec::INPUTTYPE_DOUBLE; }; 642 template<> struct GLValueTypeTraits<GLValue::Byte> { static const DrawTestSpec::InputType Type = DrawTestSpec::INPUTTYPE_BYTE; } [all...] |
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/ |
camera_calibration.cpp | 33 enum InputType { INVALID, CAMERA, VIDEO_FILE, IMAGE_LIST }; 97 inputType = INVALID; 104 inputType = CAMERA; 110 inputType = IMAGE_LIST; 114 inputType = VIDEO_FILE; 116 if (inputType == CAMERA) 118 if (inputType == VIDEO_FILE) 120 if (inputType != IMAGE_LIST && !inputCapture.isOpened()) 121 inputType = INVALID; 123 if (inputType == INVALID [all...] |
/frameworks/rs/ |
rsProgramFragment.cpp | 112 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); 116 tmp[1] = (uintptr_t)inputType.get(); 118 Allocation *constAlloc = Allocation::createAllocation(rsc, inputType.get(),
|
/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/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/ |
StatsUtils.java | 71 public static void onStartInputView(int inputType, int displayOrientation, boolean restarting) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
TestsQwertyEmail.java | 20 import android.text.InputType; 48 emailField.inputType = 49 InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS;
|
TestsQwertyUrl.java | 20 import android.text.InputType; 48 emailField.inputType = 49 InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_URI;
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
TextViewBindingAdapter.java | 29 import android.text.InputType; 47 @BindingMethod(type = TextView.class, attribute = "android:inputType", method = "setRawInputType"), 89 int inputType = listener != null ? listener.getInputType() : 0; 90 if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0) { 92 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0) { 94 } else if ((inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0) { 104 int inputType = listener.getInputType() [all...] |
/external/deqp/modules/gles2/scripts/ |
gen-swizzles.py | 107 for (inputType, dataType, precision) in combinations.iterate(): 109 print inputType, precision, dataType
|
/external/deqp/modules/gles3/scripts/ |
gen-swizzles.py | 107 for (inputType, dataType, precision) in combinations.iterate(): 109 print inputType, precision, dataType
|
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/ |
AccessibilityNodeInfoCompatKitKat.java | 98 public static void setInputType(Object info, int inputType) { 99 ((AccessibilityNodeInfo) info).setInputType(inputType);
|