Searched defs:subtypes (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtypeArray.java54 * @param subtypes A list of {@link InputMethodSubtype} from which
57 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { argument
58 if (subtypes == null) {
62 mCount = subtypes.size();
63 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]);
H A DInputMethodInfo.java91 * An array-like container of the subtypes.
125 * @param additionalSubtypes additional subtypes being added to this InputMethodInfo
143 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
178 // Parse all subtypes
212 subtypes.add(subtype);
222 if (subtypes.size() == 0) {
231 if (!subtypes.contains(subtype)) {
232 subtypes.add(subtype);
239 mSubtypes = new InputMethodSubtypeArray(subtypes);
271 String settingsActivity, List<InputMethodSubtype> subtypes, in
270 InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault) argument
281 InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, boolean supportsSwitchingToNextInputMethod) argument
[all...]
H A DInputMethodManager.java666 * Returns a list of enabled input method subtypes for the specified input method info.
667 * @param imi An input method info whose subtypes list will be returned.
669 * selected subtypes. If an input method info doesn't have enabled subtypes, the framework
670 * will implicitly enable subtypes according to the current system language.
1905 * Show the settings for enabling subtypes of the specified input method.
1906 * @param imiId An input method, whose subtypes settings will be shown. If imiId is null,
1907 * subtypes of all input methods will be shown.
1920 * Returns the current input method subtype. This subtype is one of the subtypes in
1987 * Returns a map of all shortcut input method info and their subtypes
2113 setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) argument
[all...]
/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DInputMethodTest.java220 List<InputMethodSubtype> subtypes) {
234 return new InputMethodInfo(ri, isAuxIme, "", subtypes, 1, isDefault);
255 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
256 subtypes.add(createDummyInputMethodSubtype("auto", SUBTYPE_MODE_VOICE, IS_AUX, IS_AUTO,
258 subtypes.add(createDummyInputMethodSubtype("en_US", SUBTYPE_MODE_VOICE, IS_AUX,
261 "dummy.voice0", "DummyVoice0", IS_AUX, IS_DEFAULT, subtypes));
270 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
271 subtypes.add(createDummyInputMethodSubtype("auto", SUBTYPE_MODE_VOICE, IS_AUX, IS_AUTO,
273 subtypes.add(createDummyInputMethodSubtype("en_US", SUBTYPE_MODE_VOICE, IS_AUX,
276 "dummy.voice1", "DummyVoice1", IS_AUX, !IS_DEFAULT, subtypes));
218 createDummyInputMethodInfo(String packageName, String name, CharSequence label, boolean isAuxIme, boolean isDefault, List<InputMethodSubtype> subtypes) argument
[all...]
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodUtils.java407 Slog.w(TAG, "Found no subtypes in a system IME: " + imi.getPackageName());
461 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
464 subtypes.add(imi.getSubtypeAt(i));
466 return subtypes;
471 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
476 subtypes.add(subtype);
479 return subtypes;
523 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi);
529 final int N = subtypes.size();
531 // scan overriding implicitly enabled subtypes
619 findLastResortApplicableSubtypeLocked( Resources res, List<InputMethodSubtype> subtypes, String mode, String locale, boolean canIgnoreLocaleAsLastResort) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java1032 * @param imiId if null, returns enabled subtypes for the current imi
1033 * @return enabled subtypes of the specified imi
1526 final List<InputMethodSubtype> subtypes =
1528 final int subtypeCount = subtypes.size();
1533 final InputMethodSubtype subtype = subtypes.get(j);
2310 // TODO: Handle the case of the last IME with no subtypes
2330 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { argument
2335 // additional input method subtypes to the IME.
2336 if (TextUtils.isEmpty(imiId) || subtypes == null || subtypes
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java1128 public boolean fetchAnqp(String bssid, String subtypes) { argument
1129 return doBooleanCommand("ANQP_GET " + bssid + " " + subtypes);

Completed in 512 milliseconds