android.text.InputType |
Known Indirect Subclasses |
Bit definitions for an integer defining the basic content type of text held in an Editable object.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_CLASS_DATETIME | Class for dates and times. | |||||||||
int | TYPE_CLASS_NUMBER | Class for numeric text. | |||||||||
int | TYPE_CLASS_PHONE | Class for a phone number. | |||||||||
int | TYPE_CLASS_TEXT | Class for normal text. | |||||||||
int | TYPE_DATETIME_VARIATION_DATE | Default variation of TYPE_CLASS_DATETIME: allows entering only a date. | |||||||||
int | TYPE_DATETIME_VARIATION_NORMAL | Default variation of TYPE_CLASS_DATETIME: allows entering both a date and time. | |||||||||
int | TYPE_DATETIME_VARIATION_TIME | Default variation of TYPE_CLASS_DATETIME: allows entering only a time. | |||||||||
int | TYPE_MASK_CLASS | Mask of bits that determine the overall class of text being given. | |||||||||
int | TYPE_MASK_FLAGS | Mask of bits that provide addition bit flags of options. | |||||||||
int | TYPE_MASK_VARIATION | Mask of bits that determine the variation of the base content class. | |||||||||
int | TYPE_NULL | Special content type for when no explicit type has been specified. | |||||||||
int | TYPE_NUMBER_FLAG_DECIMAL | Flag of TYPE_CLASS_NUMBER: the number is decimal, allowing a decimal point to provide fractional values. | |||||||||
int | TYPE_NUMBER_FLAG_SIGNED | Flag of TYPE_CLASS_NUMBER: the number is signed, allowing a positive or negative sign at the start. | |||||||||
int | TYPE_TEXT_FLAG_AUTO_COMPLETE | Flag for TYPE_CLASS_TEXT: the text editor is performing auto-completion of the text being entered based on its own semantics, which it will present to the user as they type. | |||||||||
int | TYPE_TEXT_FLAG_AUTO_CORRECT | Flag for TYPE_CLASS_TEXT: the user is entering free-form text that should have auto-correction applied to it. | |||||||||
int | TYPE_TEXT_FLAG_CAP_CHARACTERS | Flag for TYPE_CLASS_TEXT: capitalize all characters. | |||||||||
int | TYPE_TEXT_FLAG_CAP_SENTENCES | Flag for TYPE_CLASS_TEXT: capitalize first character of each sentence. | |||||||||
int | TYPE_TEXT_FLAG_CAP_WORDS | Flag for TYPE_CLASS_TEXT: capitalize first character of all words. | |||||||||
int | TYPE_TEXT_FLAG_IME_MULTI_LINE | 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. | |||||||||
int | TYPE_TEXT_FLAG_MULTI_LINE | Flag for TYPE_CLASS_TEXT: multiple lines of text can be entered into the field. | |||||||||
int | TYPE_TEXT_VARIATION_EMAIL_ADDRESS | Variation of TYPE_CLASS_TEXT: entering an e-mail address. | |||||||||
int | TYPE_TEXT_VARIATION_EMAIL_SUBJECT | Variation of TYPE_CLASS_TEXT: entering the subject line of an e-mail. | |||||||||
int | TYPE_TEXT_VARIATION_FILTER | Variation of TYPE_CLASS_TEXT: entering text to filter contents of a list etc. | |||||||||
int | TYPE_TEXT_VARIATION_LONG_MESSAGE | Variation of TYPE_CLASS_TEXT: entering the content of a long, possibly formal message such as the body of an e-mail. | |||||||||
int | TYPE_TEXT_VARIATION_NORMAL | Default variation of TYPE_CLASS_TEXT: plain old normal text. | |||||||||
int | TYPE_TEXT_VARIATION_PASSWORD | Variation of TYPE_CLASS_TEXT: entering a password. | |||||||||
int | TYPE_TEXT_VARIATION_PERSON_NAME | Variation of TYPE_CLASS_TEXT: entering the name of a person. | |||||||||
int | TYPE_TEXT_VARIATION_PHONETIC | Variation of TYPE_CLASS_TEXT: entering text for phonetic pronunciation, such as a phonetic name field in contacts. | |||||||||
int | TYPE_TEXT_VARIATION_POSTAL_ADDRESS | Variation of TYPE_CLASS_TEXT: entering a postal mailing address. | |||||||||
int | TYPE_TEXT_VARIATION_SHORT_MESSAGE | Variation of TYPE_CLASS_TEXT: entering a short, possibly informal message such as an instant message or a text message. | |||||||||
int | TYPE_TEXT_VARIATION_URI | Variation of TYPE_CLASS_TEXT: entering a URI. | |||||||||
int | TYPE_TEXT_VARIATION_VISIBLE_PASSWORD | Variation of TYPE_CLASS_TEXT: entering a password, which should be visible to the user. | |||||||||
int | TYPE_TEXT_VARIATION_WEB_EDIT_TEXT | Variation of TYPE_CLASS_TEXT: entering text inside of a web form. |
Class for dates and times. It supports the following variations: TYPE_DATETIME_VARIATION_NORMAL TYPE_DATETIME_VARIATION_DATE, and TYPE_DATETIME_VARIATION_TIME,.
Class for numeric text. This class supports the following flag: TYPE_NUMBER_FLAG_SIGNED and TYPE_NUMBER_FLAG_DECIMAL.
Class for a phone number. This class currently supports no variations or flags.
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.
Default variation of TYPE_CLASS_DATETIME: allows entering only a date.
Default variation of TYPE_CLASS_DATETIME: allows entering both a date and time.
Default variation of TYPE_CLASS_DATETIME: allows entering only a time.
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.
Mask of bits that provide addition bit flags of options.
Mask of bits that determine the variation of the base content class.
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.
Flag of TYPE_CLASS_NUMBER: the number is decimal, allowing a decimal point to provide fractional values.
Flag of TYPE_CLASS_NUMBER: the number is signed, allowing a positive or negative sign at the start.
Flag for TYPE_CLASS_TEXT: the text editor is performing auto-completion of the text being entered based on its own semantics, which it will present to the user as they type. This generally means that the input method should not be showing candidates itself, but can expect for the editor to supply its own completions/candidates from InputMethodSession.displayCompletions() as a result of the editor calling InputMethodManager.displayCompletions().
Flag for TYPE_CLASS_TEXT: the user is entering free-form text that should have auto-correction applied to it.
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.
Flag for TYPE_CLASS_TEXT: capitalize first character of each sentence. This value is explicitly defined to be the same as CAP_MODE_SENTENCES.
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.
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.
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.
Variation of TYPE_CLASS_TEXT: entering an e-mail address.
Variation of TYPE_CLASS_TEXT: entering the subject line of an e-mail.
Variation of TYPE_CLASS_TEXT: entering text to filter contents of a list etc.
Variation of TYPE_CLASS_TEXT: entering the content of a long, possibly formal message such as the body of an e-mail.
Default variation of TYPE_CLASS_TEXT: plain old normal text.
Variation of TYPE_CLASS_TEXT: entering a password.
Variation of TYPE_CLASS_TEXT: entering the name of a person.
Variation of TYPE_CLASS_TEXT: entering text for phonetic pronunciation, such as a phonetic name field in contacts.
Variation of TYPE_CLASS_TEXT: entering a postal mailing address.
Variation of TYPE_CLASS_TEXT: entering a short, possibly informal message such as an instant message or a text message.
Variation of TYPE_CLASS_TEXT: entering a URI.
Variation of TYPE_CLASS_TEXT: entering a password, which should be visible to the user.
Variation of TYPE_CLASS_TEXT: entering text inside of a web form.