Home | History | Annotate | Download | only in inputmethod

Lines Matching refs:subtype

35  * This class is used to specify meta information of a subtype contained in an input method editor
36 * (IME). Subtype can describe locale (e.g. en_US, fr_FR...) and mode (e.g. voice, keyboard...),
37 * and is used for IME switch and settings. The input method subtype allows the system to bring up
38 * the specified subtype of the designated IME directly.
41 * <code>&lt;subtype&gt;</code> element. For more information, see the guide to
65 * @param nameId Resource ID of the subtype name string. The string resource may have exactly
68 * @param iconId Resource ID of the subtype icon drawable.
69 * @param locale The locale supported by the subtype
70 * @param mode The mode supported by the subtype
71 * @param extraValue The extra value of the subtype. This string is free-form, but the API
74 * @param isAuxiliary true when this subtype is auxiliary, false otherwise. An auxiliary
75 * subtype will not be shown in the list of enabled IMEs for choosing the current IME in
76 * the Settings even when this subtype is enabled. Please note that this subtype will still
78 * to this subtype while an IME is shown. The framework will never switch the current IME to
79 * this subtype by {@link android.view.inputmethod.InputMethodManager#switchToLastInputMethod}.
91 * @param nameId Resource ID of the subtype name string. The string resource may have exactly
94 * @param iconId Resource ID of the subtype icon drawable.
95 * @param locale The locale supported by the subtype
96 * @param mode The mode supported by the subtype
97 * @param extraValue The extra value of the subtype. This string is free-form, but the API
100 * @param isAuxiliary true when this subtype is auxiliary, false otherwise. An auxiliary
101 * subtype will not be shown in the list of enabled IMEs for choosing the current IME in
102 * the Settings even when this subtype is enabled. Please note that this subtype will still
104 * to this subtype while an IME is shown. The framework will never switch the current IME to
105 * this subtype by {@link android.view.inputmethod.InputMethodManager#switchToLastInputMethod}.
108 * @param overridesImplicitlyEnabledSubtype true when this subtype should be enabled by default
109 * if no other subtypes in the IME are enabled explicitly. Note that a subtype with this
110 * parameter being true will not be shown in the list of subtypes in each IME's subtype enabler.
111 * Having an "automatic" subtype is an example use of this flag.
143 * @return Resource ID of the subtype name string.
150 * @return Resource ID of the subtype icon drawable.
157 * @return The locale of the subtype. This method returns the "locale" string parameter passed
165 * @return The mode of the subtype.
172 * @return The extra value of the subtype.
179 * @return true if this subtype is auxiliary, false otherwise. An auxiliary subtype will not be
181 * subtype is enabled. Please note that this subtype will still be shown in the list of IMEs in
182 * the IME switcher to allow the user to tentatively switch to this subtype while an IME is
183 * shown. The framework will never switch the current IME to this subtype by
193 * @return true when this subtype will be enabled by default if no other subtypes in the IME
194 * are enabled explicitly, false otherwise. Note that a subtype with this method returning true
195 * will not be shown in the list of subtypes in each IME's subtype enabler. Having an
196 * "automatic" subtype is an example use of this flag.
206 * @return a display name for this subtype. The string resource of the label (mSubtypeNameResId)
230 Slog.w(TAG, "Found illegal format in subtype name("+ subtypeName + "): " + e);
263 * The string of ExtraValue in subtype should be defined as follows:
266 * @return The subtype contains specified the extra value
273 * The string of ExtraValue in subtype should be defined as follows:
290 InputMethodSubtype subtype = (InputMethodSubtype) o;
291 return (subtype.hashCode() == hashCode())
292 && (subtype.getNameResId() == getNameResId())
293 && (subtype.getMode().equals(getMode()))
294 && (subtype.getIconResId() == getIconResId())
295 && (subtype.getLocale().equals(getLocale()))
296 && (subtype.getExtraValue().equals(getExtraValue()))
297 && (subtype.isAuxiliary() == isAuxiliary());
370 InputMethodSubtype subtype = imi.getSubtypeAt(i);
371 if (inputSubtypesSet.contains(subtype)) {
372 sortedList.add(subtype);
373 inputSubtypesSet.remove(subtype);
378 for (InputMethodSubtype subtype: inputSubtypesSet) {
379 sortedList.add(subtype);