Fields Summary |
---|
public static final int | TYPE_MASK_CLASSMask of bits that determine the overall class
of text being given. Currently supported classes are:
{@link #TYPE_CLASS_TEXT}, {@link #TYPE_CLASS_NUMBER},
{@link #TYPE_CLASS_PHONE}, {@link #TYPE_CLASS_DATETIME}.
If the class is not one you
understand, assume {@link #TYPE_CLASS_TEXT} with NO variation
or flags. |
public static final int | TYPE_MASK_VARIATIONMask of bits that determine the variation of
the base content class. |
public static final int | TYPE_MASK_FLAGSMask of bits that provide addition bit flags
of options. |
public static final int | TYPE_NULLSpecial 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. |
public static final int | TYPE_CLASS_TEXTClass for normal text. This class supports the following flags (only
one of which should be set):
{@link #TYPE_TEXT_FLAG_CAP_CHARACTERS},
{@link #TYPE_TEXT_FLAG_CAP_WORDS}, and.
{@link #TYPE_TEXT_FLAG_CAP_SENTENCES}. It also supports the
following variations:
{@link #TYPE_TEXT_VARIATION_NORMAL}, and
{@link #TYPE_TEXT_VARIATION_URI}. If you do not recognize the
variation, normal should be assumed. |
public static final int | TYPE_TEXT_FLAG_CAP_CHARACTERSFlag for {@link #TYPE_CLASS_TEXT}: capitalize all characters. Overrides
{@link #TYPE_TEXT_FLAG_CAP_WORDS} and
{@link #TYPE_TEXT_FLAG_CAP_SENTENCES}. This value is explicitly defined
to be the same as {@link TextUtils#CAP_MODE_CHARACTERS}. |
public static final int | TYPE_TEXT_FLAG_CAP_WORDSFlag for {@link #TYPE_CLASS_TEXT}: capitalize first character of
all words. Overrides {@link #TYPE_TEXT_FLAG_CAP_SENTENCES}. This
value is explicitly defined
to be the same as {@link TextUtils#CAP_MODE_WORDS}. |
public static final int | TYPE_TEXT_FLAG_CAP_SENTENCESFlag for {@link #TYPE_CLASS_TEXT}: capitalize first character of
each sentence. This value is explicitly defined
to be the same as {@link TextUtils#CAP_MODE_SENTENCES}. |
public static final int | TYPE_TEXT_FLAG_AUTO_CORRECTFlag for {@link #TYPE_CLASS_TEXT}: the user is entering free-form
text that should have auto-correction applied to it. |
public static final int | TYPE_TEXT_FLAG_AUTO_COMPLETEFlag for {@link #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
{@link android.view.inputmethod.InputMethodSession#displayCompletions
InputMethodSession.displayCompletions()} as a result of the editor calling
{@link android.view.inputmethod.InputMethodManager#displayCompletions
InputMethodManager.displayCompletions()}. |
public static final int | TYPE_TEXT_FLAG_MULTI_LINEFlag for {@link #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. |
public static final int | TYPE_TEXT_FLAG_IME_MULTI_LINEFlag for {@link #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. |
public static final int | TYPE_TEXT_VARIATION_NORMALDefault variation of {@link #TYPE_CLASS_TEXT}: plain old normal text. |
public static final int | TYPE_TEXT_VARIATION_URIVariation of {@link #TYPE_CLASS_TEXT}: entering a URI. |
public static final int | TYPE_TEXT_VARIATION_EMAIL_ADDRESSVariation of {@link #TYPE_CLASS_TEXT}: entering an e-mail address. |
public static final int | TYPE_TEXT_VARIATION_EMAIL_SUBJECTVariation of {@link #TYPE_CLASS_TEXT}: entering the subject line of
an e-mail. |
public static final int | TYPE_TEXT_VARIATION_SHORT_MESSAGEVariation of {@link #TYPE_CLASS_TEXT}: entering a short, possibly informal
message such as an instant message or a text message. |
public static final int | TYPE_TEXT_VARIATION_LONG_MESSAGEVariation of {@link #TYPE_CLASS_TEXT}: entering the content of a long, possibly
formal message such as the body of an e-mail. |
public static final int | TYPE_TEXT_VARIATION_PERSON_NAMEVariation of {@link #TYPE_CLASS_TEXT}: entering the name of a person. |
public static final int | TYPE_TEXT_VARIATION_POSTAL_ADDRESSVariation of {@link #TYPE_CLASS_TEXT}: entering a postal mailing address. |
public static final int | TYPE_TEXT_VARIATION_PASSWORDVariation of {@link #TYPE_CLASS_TEXT}: entering a password. |
public static final int | TYPE_TEXT_VARIATION_VISIBLE_PASSWORDVariation of {@link #TYPE_CLASS_TEXT}: entering a password, which should
be visible to the user. |
public static final int | TYPE_TEXT_VARIATION_WEB_EDIT_TEXTVariation of {@link #TYPE_CLASS_TEXT}: entering text inside of a web form. |
public static final int | TYPE_TEXT_VARIATION_FILTERVariation of {@link #TYPE_CLASS_TEXT}: entering text to filter contents
of a list etc. |
public static final int | TYPE_TEXT_VARIATION_PHONETICVariation of {@link #TYPE_CLASS_TEXT}: entering text for phonetic
pronunciation, such as a phonetic name field in contacts. |
public static final int | TYPE_CLASS_NUMBERClass for numeric text. This class supports the following flag:
{@link #TYPE_NUMBER_FLAG_SIGNED} and
{@link #TYPE_NUMBER_FLAG_DECIMAL}. |
public static final int | TYPE_NUMBER_FLAG_SIGNEDFlag of {@link #TYPE_CLASS_NUMBER}: the number is signed, allowing
a positive or negative sign at the start. |
public static final int | TYPE_NUMBER_FLAG_DECIMALFlag of {@link #TYPE_CLASS_NUMBER}: the number is decimal, allowing
a decimal point to provide fractional values. |
public static final int | TYPE_CLASS_PHONEClass for a phone number. This class currently supports no variations
or flags. |
public static final int | TYPE_CLASS_DATETIMEClass for dates and times. It supports the
following variations:
{@link #TYPE_DATETIME_VARIATION_NORMAL}
{@link #TYPE_DATETIME_VARIATION_DATE}, and
{@link #TYPE_DATETIME_VARIATION_TIME},. |
public static final int | TYPE_DATETIME_VARIATION_NORMALDefault variation of {@link #TYPE_CLASS_DATETIME}: allows entering
both a date and time. |
public static final int | TYPE_DATETIME_VARIATION_DATEDefault variation of {@link #TYPE_CLASS_DATETIME}: allows entering
only a date. |
public static final int | TYPE_DATETIME_VARIATION_TIMEDefault variation of {@link #TYPE_CLASS_DATETIME}: allows entering
only a time. |