| java.lang.Object |
| ↳ |
android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder |
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
Creates and returns a copy of this Object.
|
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
|
int
|
hashCode()
Returns an integer hash code for this object.
|
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
Public Constructors
public
InputMethodSubtype.InputMethodSubtypeBuilder
()
Public Methods
Returns
- InputMethodSubtype using parameters in this InputMethodSubtypeBuilder.
Parameters
| isAsciiCapable
| should be true if this subtype is ASCII capable. If the subtype
is ASCII capable, it should guarantee that the user can input ASCII characters with
this subtype. This is important because many password fields only allow
ASCII-characters.
|
Parameters
| isAuxiliary
| should true when this subtype is auxiliary, false otherwise.
An auxiliary subtype has the following differences with a regular subtype:
- An auxiliary subtype cannot be chosen as the default IME in Settings.
- The framework will never switch to this subtype through
switchToLastInputMethod(IBinder).
Note that the subtype will still be available in the IME switcher.
The intent is to allow for IMEs to specify they are meant to be invoked temporarily
in a one-shot way, and to return to the previous IME once finished (e.g. voice input).
|
Parameters
| overridesImplicitlyEnabledSubtype
| should be true if this subtype should be
enabled by default if no other subtypes in the IME are enabled explicitly. Note that a
subtype with this parameter set will not be shown in the list of subtypes in each IME's
subtype enabler. A canonical use of this would be for an IME to supply an "automatic"
subtype that adapts to the current system language.
|
Parameters
| subtypeIconResId
| is a resource ID of the subtype icon drawable.
|
Parameters
| subtypeId
| is the unique ID for this subtype. The input method framework keeps
track of enabled subtypes by ID. When the IME package gets upgraded, enabled IDs will
stay enabled even if other attributes are different. If the ID is unspecified or 0,
Arrays.hashCode(new Object[] {locale, mode, extraValue,
isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead.
|
Parameters
| subtypeLocale
| is the locale supported by this subtype.
|
Parameters
| subtypeMode
| is the mode supported by this subtype.
|
Parameters
| subtypeNameResId
| is the resource ID of the subtype name string.
The string resource may have exactly one %s in it. If present,
the %s part will be replaced with the locale's display name by
the formatter. Please refer to getDisplayName(Context, String, ApplicationInfo) for details.
|