Searched refs:subtypes (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DInputMethodTest.java91 List<InputMethodSubtype> subtypes) {
105 return new InputMethodInfo(ri, isAuxIme, "", subtypes, 1, isDefault);
115 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
116 subtypes.add(createDummyInputMethodSubtype("auto", "voice", IS_AUX, IS_AUTO));
117 subtypes.add(createDummyInputMethodSubtype("en_US", "voice", IS_AUX, !IS_AUTO));
119 "DummyVoice0", IS_AUX, IS_DEFAULT, subtypes);
123 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
124 subtypes.add(createDummyInputMethodSubtype("auto", "voice", IS_AUX, IS_AUTO));
125 subtypes.add(createDummyInputMethodSubtype("en_US", "voice", IS_AUX, !IS_AUTO));
127 "DummyVoice1", IS_AUX, !IS_DEFAULT, subtypes);
89 createDummyInputMethodInfo(String packageName, String name, CharSequence label, boolean isAuxIme, boolean isDefault, List<InputMethodSubtype> subtypes) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java168 final List<InputMethodSubtype> subtypes =
170 // IMEs that have no subtypes should be counted.
171 if (subtypes.isEmpty()) {
177 for (InputMethodSubtype subtype : subtypes) {
182 final int nonAuxCount = subtypes.size() - auxCount;
184 // IMEs that have one or more non-auxiliary subtypes should be counted.
186 // subtypes should be counted as well.
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodUtils.java173 Slog.w(TAG, "Found no subtypes in a system IME: " + imi.getPackageName());
199 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
202 subtypes.add(imi.getSubtypeAt(i));
204 return subtypes;
209 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
214 subtypes.add(subtype);
217 return subtypes;
262 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi);
267 final int N = subtypes.size();
269 // scan overriding implicitly enabled subtypes
347 findLastResortApplicableSubtypeLocked( Resources res, List<InputMethodSubtype> subtypes, String mode, String locale, boolean canIgnoreLocaleAsLastResort) argument
[all...]
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java49 * @return true if this application is an IME and has two or more subtypes, false otherwise.
96 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
98 final int N = subtypes.size();
100 final InputMethodSubtype subtype = subtypes.get(i);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl76 oneway void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java89 * The array of the subtypes.
123 * @param additionalSubtypes additional subtypes being added to this InputMethodInfo
175 // Parse all subtypes
267 String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId,
275 if (subtypes != null) {
276 mSubtypes.addAll(subtypes);
374 * Return the count of the subtypes of Input Method.
266 InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault) argument
H A DInputMethodManager.java607 * Returns a list of enabled input method subtypes for the specified input method info.
608 * @param imi An input method info whose subtypes list will be returned.
610 * selected subtypes. If an input method info doesn't have enabled subtypes, the framework
611 * will implicitly enable subtypes according to the current system language.
1760 * Show the settings for enabling subtypes of the specified input method.
1761 * @param imiId An input method, whose subtypes settings will be shown. If imiId is null,
1762 * subtypes of all input methods will be shown.
1775 * Returns the current input method subtype. This subtype is one of the subtypes in
1808 * Returns a map of all shortcut input method info and their subtypes
1919 setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java975 * @param imiId if null, returns enabled subtypes for the current imi
976 * @return enabled subtypes of the specified imi
1462 final List<InputMethodSubtype> subtypes =
1464 final int subtypeCount = subtypes.size();
1469 final InputMethodSubtype subtype = subtypes.get(j);
2188 // TODO: Handle the case of the last IME with no subtypes
2208 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { argument
2213 // additional input method subtypes to the IME.
2214 if (TextUtils.isEmpty(imiId) || subtypes == null || subtypes
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java731 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi,
733 final int subtypeCount = subtypes.size();
738 final InputMethodSubtype subtype = subtypes.get(j);

Completed in 547 milliseconds