Added In API level 3 Value = 4 (0x00000004) Class For dates AND times. It supports the following variations: TYPE_DATETIME_VARIATION_NORMAL TYPE_DATETIME_VARIATION_DATE, AND TYPE_DATETIME_VARIATION_TIME,.
TYPE_CLASS_NUMBERAsInt
Added In API level 3 Value = 2 (0x00000002) Class For numeric text. This class supports the following flag: TYPE_NUMBER_FLAG_SIGNED AND TYPE_NUMBER_FLAG_DECIMAL. It also supports the following variations: TYPE_NUMBER_VARIATION_NORMAL AND TYPE_NUMBER_VARIATION_PASSWORD. If you Do Not recognize the variation, normal should be assumed.
TYPE_CLASS_PHONEAsInt
Added In API level 3 Value = 3 (0x00000003) Class For a phone number. This class currently supports no variations OR flags.
TYPE_CLASS_TEXTAsInt
Added In API level 3 Value = 1 (0x00000001) Class For normal text. This class supports the following flags (only one of which should be set): TYPE_TEXT_FLAG_CAP_CHARACTERS, TYPE_TEXT_FLAG_CAP_WORDS, AND. TYPE_TEXT_FLAG_CAP_SENTENCES. It also supports the following variations: TYPE_TEXT_VARIATION_NORMAL, AND TYPE_TEXT_VARIATION_URI. If you Do Not recognize the variation, normal should be assumed.
TYPE_DATETIME_VARIATION_DATEAsInt
Added In API level 3 Value = 16 (0x00000010) Default variation of TYPE_CLASS_DATETIME: allows entering only a date.
TYPE_DATETIME_VARIATION_NORMALAsInt
Added In API level 3 Value = 0 (0x00000000) Default variation of TYPE_CLASS_DATETIME: allows entering both a date AND time.
TYPE_DATETIME_VARIATION_TIMEAsInt
Added In API level 3 Value = 32 (0x00000020) Default variation of TYPE_CLASS_DATETIME: allows entering only a time.
TYPE_MASK_CLASSAsInt
Added In API level 3 Value = 15 (0x0000000f) Mask of bits that determine the overall class of text being given. Currently supported classes are: TYPE_CLASS_TEXT, TYPE_CLASS_NUMBER, TYPE_CLASS_PHONE, TYPE_CLASS_DATETIME. If the class Is Not one you understand, assume TYPE_CLASS_TEXT with NO variation OR flags.
TYPE_MASK_FLAGSAsInt
Added In API level 3 Value = 16773120 (0x00fff000) Mask of bits that provide addition Bit flags of options.
TYPE_MASK_VARIATIONAsInt
Added In API level 3 Value = 4080 (0x00000ff0) Mask of bits that determine the variation of the base content class.
TYPE_NULLAsInt
Added In API level 3 Value = 0 (0x00000000) Special content Type For when no explicit Type has been specified. This should be interpreted To mean that the target input connection Is Not rich, it can Not process AND show things like candidate text nor retrieve the current text, so the input method will need To run In a limited "generate key events" mode.
TYPE_NUMBER_FLAG_DECIMALAsInt
Added In API level 3 Value = 8192 (0x00002000) Flag of TYPE_CLASS_NUMBER: the number Is decimal, allowing a decimal point To provide fractional values.
TYPE_NUMBER_FLAG_SIGNEDAsInt
Added In API level 3 Value = 4096 (0x00001000) Flag of TYPE_CLASS_NUMBER: the number Is signed, allowing a positive OR negative sign at the start.
TYPE_NUMBER_VARIATION_NORMALAsInt
Added In API level 11 Value = 0 (0x00000000) Default variation of TYPE_CLASS_NUMBER: plain normal numeric text. This was added In HONEYCOMB. An IME must target this API version OR later To see this input Type; If it doesn't, a request for this type will be dropped when passed through EditorInfo.makeCompatible(int).
TYPE_NUMBER_VARIATION_PASSWORDAsInt
Added In API level 11 Value = 16 (0x00000010) Variation of TYPE_CLASS_NUMBER: entering a numeric password. This was added In HONEYCOMB. An IME must target this API version OR later To see this input Type; If it doesn't, a request for this type will be dropped when passed through EditorInfo.makeCompatible(int).
TYPE_TEXT_FLAG_AUTO_CORRECTAsInt
Added In API level 3 Value = 32768 (0x00008000) Flag For TYPE_CLASS_TEXT: the user Is entering free-form text that should have auto-correction applied To it.
TYPE_TEXT_FLAG_CAP_CHARACTERSAsInt
Added In API level 3 Value = 4096 (0x00001000) Flag For TYPE_CLASS_TEXT: capitalize all characters. Overrides TYPE_TEXT_FLAG_CAP_WORDS AND TYPE_TEXT_FLAG_CAP_SENTENCES. This value Is explicitly defined To be the same As CAP_MODE_CHARACTERS.
TYPE_TEXT_FLAG_CAP_SENTENCESAsInt
Added In API level 3 Value = 16384 (0x00004000) Flag For TYPE_CLASS_TEXT: capitalize first character of Each sentence. This value Is explicitly defined To be the same As CAP_MODE_SENTENCES.
TYPE_TEXT_FLAG_CAP_WORDSAsInt
Added In API level 3 Value = 8192 (0x00002000) Flag For TYPE_CLASS_TEXT: capitalize first character of all words. Overrides TYPE_TEXT_FLAG_CAP_SENTENCES. This value Is explicitly defined To be the same As CAP_MODE_WORDS.
TYPE_TEXT_FLAG_IME_MULTI_LINEAsInt
Added In API level 3 Value = 262144 (0x00040000) Flag For TYPE_CLASS_TEXT: the regular text View associated with this should Not be multi-line, but when a fullscreen input method Is providing text it should use multiple lines If it can.
TYPE_TEXT_FLAG_MULTI_LINEAsInt
Added In API level 3 Value = 131072 (0x00020000) Flag For TYPE_CLASS_TEXT: multiple lines of text can be entered into the field. If this flag Is Not set, the text field will be constrained To a single line.
TYPE_TEXT_FLAG_NO_SUGGESTIONSAsInt
Added In API level 5 = 524288 (0x00080000) Flag For TYPE_CLASS_TEXT: the input method does Not need To display any dictionary-based candidates. This Is useful For text views that Do Not contain words from the language AND Do Not benefit from any dictionary-based completions OR corrections. It overrides the TYPE_TEXT_FLAG_AUTO_CORRECT value when set.
TYPE_TEXT_VARIATION_EMAIL_ADDRESSAsInt
Added In API level 3 Value = 32 (0x00000020) Variation of TYPE_CLASS_TEXT: entering an e-mail address.
TYPE_TEXT_VARIATION_EMAIL_SUBJECTAsInt
Added In API level 3 Value = 48 (0x00000030) Variation of TYPE_CLASS_TEXT: entering the subject line of an e-mail.
TYPE_TEXT_VARIATION_FILTERAsInt
Added In API level 3 Value = 176 (0x000000b0) Variation of TYPE_CLASS_TEXT: entering text To filter contents of a List etc.
TYPE_TEXT_VARIATION_LONG_MESSAGEAsInt
Added In API level 3 Value = 80 (0x00000050) Variation of TYPE_CLASS_TEXT: entering the content of a Long, possibly formal message such As the body of an e-mail.
TYPE_TEXT_VARIATION_NORMALAsInt
Added In API level 3 Value = 0 (0x00000000) Default variation of TYPE_CLASS_TEXT: plain old normal text.
TYPE_TEXT_VARIATION_PASSWORDAsInt
Added In API level 3 Value = 128 (0x00000080) Variation of TYPE_CLASS_TEXT: entering a password.
TYPE_TEXT_VARIATION_PERSON_NAMEAsInt
Added In API level 3 Value = 96 (0x00000060) Variation of TYPE_CLASS_TEXT: entering the name of a person.
TYPE_TEXT_VARIATION_PHONETICAsInt
Added In API level 3 Value = 192 (0x000000c0) Variation of TYPE_CLASS_TEXT: entering text For phonetic pronunciation, such As a phonetic name field In contacts.
TYPE_TEXT_VARIATION_POSTAL_ADDRESSAsInt
Added In API level 3 Value = 112 (0x00000070) Variation of TYPE_CLASS_TEXT: entering a postal mailing address.
TYPE_TEXT_VARIATION_SHORT_MESSAGEAsInt
Added In API level 3 Value = 64 (0x00000040) Variation of TYPE_CLASS_TEXT: entering a Short, possibly informal message such As an instant message OR a text message.
TYPE_TEXT_VARIATION_URIAsInt
Added In API level 3 Value = 16 (0x00000010) Variation of TYPE_CLASS_TEXT: entering a URI.
TYPE_TEXT_VARIATION_VISIBLE_PASSWORDAsInt
Added In API level 3 Value = 144 (0x00000090) Variation of TYPE_CLASS_TEXT: entering a password, which should be visible To the user.
TYPE_TEXT_VARIATION_WEB_EDIT_TEXTAsInt
Added In API level 3 Value = 160 (0x000000a0) Variation of TYPE_CLASS_TEXT: entering text inside of a web form.
TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESSAsInt
Added In API level 11 Value = 208 (0x000000d0) Variation of TYPE_CLASS_TEXT: entering e-mail address inside of a web form. This was added In HONEYCOMB. An IME must target this API version OR later To see this input Type; If it doesn't, a request for this type will be seen as TYPE_TEXT_VARIATION_EMAIL_ADDRESS when passed through EditorInfo.makeCompatible(int).
TYPE_TEXT_VARIATION_WEB_PASSWORDAsInt
Added In API level 11 Value = 224 (0x000000e0) Variation of TYPE_CLASS_TEXT: entering password inside of a web form. This was added In HONEYCOMB. An IME must target this API version OR later To see this input Type; If it doesn't, a request for this type will be seen as TYPE_TEXT_VARIATION_PASSWORD when passed through EditorInfo.makeCompatible(int).
Top