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

/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtypeArray.java49 * @param subtypes A list of {@link InputMethodSubtype} from which
52 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { argument
53 if (subtypes == null) {
57 mCount = subtypes.size();
58 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]);
H A DInputMethodInfo.java90 * An array-like container of the subtypes.
124 * @param additionalSubtypesMap additional subtypes being added to this InputMethodInfo
142 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
177 // Parse all subtypes
213 subtypes.add(subtype);
223 if (subtypes.size() == 0) {
232 if (!subtypes.contains(subtype)) {
233 subtypes.add(subtype);
240 mSubtypes = new InputMethodSubtypeArray(subtypes);
272 String settingsActivity, List<InputMethodSubtype> subtypes, in
271 InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault) argument
282 InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, boolean supportsSwitchingToNextInputMethod) argument
[all...]
H A DInputMethodManager.java685 * Returns a list of enabled input method subtypes for the specified input method info.
686 * @param imi An input method info whose subtypes list will be returned.
688 * selected subtypes. If an input method info doesn't have enabled subtypes, the framework
689 * will implicitly enable subtypes according to the current system language.
2039 * Show the settings for enabling subtypes of the specified input method.
2040 * @param imiId An input method, whose subtypes settings will be shown. If imiId is null,
2041 * subtypes of all input methods will be shown.
2054 * Returns the current input method subtype. This subtype is one of the subtypes in
2118 * Returns a map of all shortcut input method info and their subtypes
2272 setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) argument
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
H A DInputMethodUtilsTest.java256 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>();
257 subtypes.add(nonAutoEnUS);
258 subtypes.add(nonAutoEnGB);
259 subtypes.add(nonAutoJa);
260 subtypes.add(nonAutoFil);
261 subtypes.add(autoSubtype); // overridesImplicitlyEnabledSubtype == true
262 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype);
263 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype2);
264 subtypes.add(nonAutoHandwritingEn);
265 subtypes
854 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.java439 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>();
442 subtypes.add(imi.getSubtypeAt(i));
444 return subtypes;
449 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>();
454 subtypes.add(subtype);
457 return subtypes;
517 // it does not check if subtypes are also identical.
539 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi);
543 final int numSubtypes = subtypes.size();
548 // scan overriding implicitly enabled subtypes
645 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.java1200 * @param imiId if null, returns enabled subtypes for the current imi
1201 * @return enabled subtypes of the specified imi
1750 final List<InputMethodSubtype> subtypes =
1752 final int subtypeCount = subtypes.size();
1757 final InputMethodSubtype subtype = subtypes.get(j);
2589 // TODO: Handle the case of the last IME with no subtypes
2609 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { argument
2614 // additional input method subtypes to the IME.
2615 if (TextUtils.isEmpty(imiId) || subtypes == null) return;
2630 mFileManager.addInputMethodSubtypes(imi, subtypes);
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java1495 public boolean fetchAnqp(String bssid, String subtypes) { argument
1496 return doBooleanCommand("ANQP_GET " + bssid + " " + subtypes);

Completed in 557 milliseconds