Searched refs:subtype (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeSwitchingController.java216 for (InputMethodSubtype subtype : explicitlyOrImplicitlyEnabledSubtypeList) {
217 enabledSubtypeSet.add(String.valueOf(subtype.hashCode()));
226 final InputMethodSubtype subtype = imi.getSubtypeAt(j);
227 final String subtypeHashCode = String.valueOf(subtype.hashCode());
230 && ((inputShown && !isScreenLocked) || !subtype.isAuxiliary())) {
232 subtype.overridesImplicitlyEnabledSubtype() ? null : subtype
236 subtypeLabel, imi, j, subtype.getLocale(), mSystemLocaleStr));
238 // Removing this subtype from enabledSubtypeSet because we no
239 // longer need to add an entry of this subtype t
254 calculateSubtypeId(InputMethodInfo imi, InputMethodSubtype subtype) argument
272 getIndex(InputMethodInfo imi, InputMethodSubtype subtype) argument
285 getNextInputMethodLocked(boolean onlyCurrentIme, InputMethodInfo imi, InputMethodSubtype subtype) argument
334 getUsageRank(final InputMethodInfo imi, InputMethodSubtype subtype) argument
350 onUserAction(InputMethodInfo imi, InputMethodSubtype subtype) argument
362 getNextInputMethodLocked(boolean onlyCurrentIme, InputMethodInfo imi, InputMethodSubtype subtype) argument
438 getNextInputMethod(boolean onlyCurrentIme, InputMethodInfo imi, InputMethodSubtype subtype) argument
452 onUserActionLocked(InputMethodInfo imi, InputMethodSubtype subtype) argument
491 onUserActionLocked(InputMethodInfo imi, InputMethodSubtype subtype) argument
507 getNextInputMethodLocked(boolean onlyCurrentIme, InputMethodInfo imi, InputMethodSubtype subtype) argument
[all...]
H A DInputMethodUtils.java374 // subtype)
419 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
423 if (!TextUtils.equals(subtype.getLocale(), locale.toString())) {
428 subtype.getLocale()));
434 mode.equalsIgnoreCase(subtype.getMode())) {
448 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
449 if (!subtype.getLocale().startsWith(language)) {
453 mode.equalsIgnoreCase(subtype.getMode())) {
474 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
475 if (subtype
670 canAddToLastInputMethod(InputMethodSubtype subtype) argument
747 getImeAndSubtypeDisplayName(Context context, InputMethodInfo imi, InputMethodSubtype subtype) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtype.java35 * This class is used to specify meta information of a subtype contained in an input method editor
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, which resides within an {@code &lt;input-method>} element.
86 * @param isAuxiliary should true when this subtype is auxiliary, false otherwise.
87 * An auxiliary subtype has the following differences with a regular subtype:
88 * - An auxiliary subtype cannot be chosen as the default IME in Settings.
89 * - The framework will never switch to this subtype through
91 * Note that the subtype wil
[all...]
H A DInputMethod.java224 * Notify that the input method subtype is being changed in the same input method.
225 * @param subtype New subtype of the notified input method
227 public void changeInputMethodSubtype(InputMethodSubtype subtype); argument
H A DInputMethodInfo.java183 if (!"subtype".equals(nodeName)) {
185 "Meta-data in input-method does not start with subtype tag");
189 final InputMethodSubtype subtype = new InputMethodSubtypeBuilder()
209 if (!subtype.isAuxiliary()) {
212 subtypes.add(subtype);
230 final InputMethodSubtype subtype = additionalSubtypes.get(i);
231 if (!subtypes.contains(subtype)) {
232 subtypes.add(subtype);
234 Slog.w(TAG, "Duplicated subtype definition found: "
235 + subtype
[all...]
H A DInputMethodManager.java1679 * Force switch to a new input method and subtype. This can only be called
1685 * @param subtype The new subtype of the new input method to be switched to.
1687 public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) { argument
1689 mService.setInputMethodAndSubtype(token, id, subtype);
1920 * Returns the current input method subtype. This subtype is one of the subtypes in
1922 * have any input method subtype.
1936 * Switch to a new input method subtype of the current input method.
1937 * @param subtype
1941 setCurrentInputMethodSubtype(InputMethodSubtype subtype) argument
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSubtype.java34 * This class is used to specify meta information of a subtype contained in a spell checker.
50 * @param nameId The name of the subtype
51 * @param locale The locale supported by the subtype
52 * @param extraValue The extra value of the subtype
72 * @return the name of the subtype
79 * @return the locale of the subtype
86 * @return the extra value of the subtype
113 * The string of ExtraValue in subtype should be defined as follows:
116 * @return the subtype contains specified the extra value
123 * The string of ExtraValue in subtype shoul
[all...]
H A DTextServicesManager.java157 final SpellCheckerSubtype subtype = sci.getSubtypeAt(i);
158 final String tempSubtypeLocale = subtype.getLocale();
161 subtypeInUse = subtype;
165 subtypeInUse = subtype;
249 public void setSpellCheckerSubtype(SpellCheckerSubtype subtype) { argument
252 if (subtype == null) {
255 hashCode = subtype.hashCode();
H A DSpellCheckerInfo.java108 if (!"subtype".equals(subtypeNodeName)) {
110 "Meta-data in spell-checker does not start with subtype tag");
114 SpellCheckerSubtype subtype = new SpellCheckerSubtype(
121 mSubtypes.add(subtype);
251 * Return the subtype at the specified index.
253 * @param index the index of the subtype to return.
H A DSpellCheckerSession.java128 SpellCheckerSubtype subtype) {
138 mSubtype = subtype;
126 SpellCheckerSession( SpellCheckerInfo info, ITextServicesManager tsm, SpellCheckerSessionListener listener, SpellCheckerSubtype subtype) argument
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java133 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { argument
138 mSubtype = subtype;
192 * Return a network-type-specific integer describing the subtype
194 * @return the network subtype
205 public void setSubtype(int subtype, String subtypeName) { argument
207 mSubtype = subtype;
224 * Return a human-readable name describing the subtype of the network.
225 * @return the name of the network subtype
478 int subtype = in.readInt();
481 NetworkInfo netInfo = new NetworkInfo(netType, subtype, typeNam
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethod.aidl55 void changeInputMethodSubtype(in InputMethodSubtype subtype);
H A DIInputMethodManager.aidl65 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype);
73 boolean setCurrentInputMethodSubtype(in InputMethodSubtype subtype);
/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DInputMethodSubtypeSwitchingControllerTest.java126 InputMethodSubtype subtype = null;
128 subtype = createDummySubtype(currentItem.mSubtypeName.toString());
131 currentItem.mImi, subtype);
151 InputMethodSubtype subtype = null;
153 subtype = createDummySubtype(subtypeListItem.mSubtypeName.toString());
155 controller.onUserActionLocked(subtypeListItem.mImi, subtype);
277 // Rotation order should be preserved when created with the same subtype list.
287 // Rotation order should be initialized when created with a different subtype list.
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java86 final InputMethodSubtype subtype = subtypes.get(i);
90 sb.append(subtype.getDisplayName(context, imi.getPackageName(),
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java312 * The current subtype of the current input method.
1533 final InputMethodSubtype subtype = subtypes.get(j);
1534 if (!subtype.isAuxiliary()) {
1536 nonAuxSubtype = subtype;
1539 auxSubtype = subtype;
1771 // See if we need to notify a subtype change within the same IME.
1782 // If subtype is null, try to find the most applicable one from
1787 Slog.w(TAG, "Illegal subtype state: old subtype = " + oldSubtype
1788 + ", new subtype
2156 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
3256 addShortcutInputMethodAndSubtypes(InputMethodInfo imi, InputMethodSubtype subtype) argument
3297 setCurrentInputMethodSubtype(InputMethodSubtype subtype) argument
[all...]
/frameworks/wilhelm/tools/permute/
H A Dpermute.c145 unsigned subtype = sfinfo_in.format & SF_FORMAT_SUBMASK; local
147 switch (subtype) {
155 fprintf(stderr, "%s: unsupported subtype 0x%X\n", path_in, subtype);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java229 for (InputMethodSubtype subtype : subtypes) {
230 if (subtype.isAuxiliary()) {
247 // input method subtype (The current IME should be LatinIME.)
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java322 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
324 subtype));
H A DInputMethodService.java446 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
447 onCurrentInputMethodSubtypeChanged(subtype);
2338 // TODO: Handle the subtype change event
2340 * Called when the subtype was changed.
2341 * @param newSubtype the subtype which is being changed to.
/frameworks/base/core/java/android/widget/
H A DTextView.java8355 final SpellCheckerSubtype subtype = textServicesManager.getCurrentSpellCheckerSubtype(true);
8357 if (subtype != null) {
8358 locale = SpellCheckerSubtype.constructLocaleFromString(subtype.getLocale());

Completed in 432 milliseconds