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

/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. 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 i
[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.java152 if (!"subtype".equals(nodeName)) {
154 "Meta-data in input-method does not start with subtype tag");
158 InputMethodSubtype subtype = new InputMethodSubtype(
173 if (!subtype.isAuxiliary()) {
176 mSubtypes.add(subtype);
194 final InputMethodSubtype subtype = additionalSubtypes.get(i);
195 if (!mSubtypes.contains(subtype)) {
196 mSubtypes.add(subtype);
319 * Return the Input Method's subtype at the specified index.
321 * @param index the index of the subtype t
[all...]
H A DInputMethodManager.java1453 * Force switch to a new input method and subtype. This can only be called
1459 * @param subtype The new subtype of the new input method to be switched to.
1461 public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) { argument
1463 mService.setInputMethodAndSubtype(token, id, subtype);
1603 * Returns the current input method subtype. This subtype is one of the subtypes in
1605 * have any input method subtype.
1619 * Switch to a new input method subtype of the current input method.
1620 * @param subtype
1624 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.java146 final SpellCheckerSubtype subtype = sci.getSubtypeAt(i);
147 final String tempSubtypeLocale = subtype.getLocale();
149 subtypeInUse = subtype;
153 subtypeInUse = subtype;
231 public void setSpellCheckerSubtype(SpellCheckerSubtype subtype) { argument
234 if (subtype == null) {
237 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/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DInputMethodButton.java90 final InputMethodSubtype subtype = subtypes.get(j);
91 if (!subtype.isAuxiliary()) {
93 nonAuxSubtype = subtype;
96 auxSubtype = subtype;
H A DInputMethodsPanel.java219 final InputMethodInfo imi, final InputMethodSubtype subtype) {
221 if (subtype == null || subtype.overridesImplicitlyEnabledSubtype()) {
224 subtypeName = getSubtypeName(imi, subtype);
227 final Drawable icon = getSubtypeIcon(imi, subtype);
264 subtypeView, new Pair<InputMethodInfo, InputMethodSubtype> (imi, subtype));
280 // TODO: Reuse subtype views.
295 for (InputMethodSubtype subtype: subtypes) {
296 mInputMethodMenuList.addView(createInputMethodItem(imi, subtype));
310 private void setInputMethodAndSubtype(InputMethodInfo imi, InputMethodSubtype subtype) { argument
218 createInputMethodItem( final InputMethodInfo imi, final InputMethodSubtype subtype) argument
368 updateRadioButtonsByImiAndSubtype( InputMethodInfo imi, InputMethodSubtype subtype) argument
439 getSubtypeName(InputMethodInfo imi, InputMethodSubtype subtype) argument
449 getSubtypeIcon(InputMethodInfo imi, InputMethodSubtype subtype) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java134 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { argument
139 mSubtype = subtype;
180 * Return a network-type-specific integer describing the subtype
182 * @return the network subtype
190 void setSubtype(int subtype, String subtypeName) { argument
192 mSubtype = subtype;
209 * Return a human-readable name describing the subtype of the network.
210 * @return the name of the network subtype
442 int subtype = in.readInt();
445 NetworkInfo netInfo = new NetworkInfo(netType, subtype, typeNam
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java297 * The current subtype of the current input method.
1284 final InputMethodSubtype subtype = subtypes.get(j);
1285 if (!subtype.isAuxiliary()) {
1287 nonAuxSubtype = subtype;
1290 auxSubtype = subtype;
1435 // See if we need to notify a subtype change within the same IME.
1446 // If subtype is null, try to find the most applicable one from
1451 Slog.w(TAG, "Illegal subtype state: old subtype = " + oldSubtype
1452 + ", new subtype
1791 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
2635 canAddToLastInputMethod(InputMethodSubtype subtype) argument
2993 addShortcutInputMethodAndSubtypes(InputMethodInfo imi, InputMethodSubtype subtype) argument
3034 setCurrentInputMethodSubtype(InputMethodSubtype subtype) argument
3077 getNextInputMethod( boolean onlyCurrentIme, InputMethodInfo imi, InputMethodSubtype subtype) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethod.aidl57 void changeInputMethodSubtype(in InputMethodSubtype subtype);
H A DIInputMethodManager.aidl61 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype);
69 boolean setCurrentInputMethodSubtype(in InputMethodSubtype subtype);
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java100 final InputMethodSubtype subtype = subtypes.get(i);
104 sb.append(subtype.getDisplayName(context, imi.getPackageName(),
/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/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java282 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
284 subtype));
H A DInputMethodService.java436 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
437 onCurrentInputMethodSubtypeChanged(subtype);
2248 // TODO: Handle the subtype change event
2250 * Called when the subtype was changed.
2251 * @param newSubtype the subtype which is being changed to.
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPasswordUnlockScreen.java232 for (InputMethodSubtype subtype : subtypes) {
233 if (subtype.isAuxiliary()) {
250 // input method subtype (The current IME should be LatinIME.)
/frameworks/base/core/java/android/webkit/
H A DJWebCoreJavaBridge.java316 public native void setNetworkType(String type, String subtype); argument
H A DWebViewClassic.java2182 public void setNetworkType(String type, String subtype) { argument
2185 map.put("subtype", subtype);
/frameworks/base/core/java/android/widget/
H A DTextView.java7687 final SpellCheckerSubtype subtype = textServicesManager.getCurrentSpellCheckerSubtype(true);
7688 if (subtype != null) {
7689 locale = SpellCheckerSubtype.constructLocaleFromString(subtype.getLocale());

Completed in 262 milliseconds