Searched refs:subtype (Results 1 - 24 of 24) 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 * Constructor with no subtype ID specified, overridesImplicitlyEnabledSubtype not specified.
66 * @param nameId Resource ID of the subtype name string. The string resource may have exactly
69 * @param iconId Resource ID of the subtype icon drawable.
70 * @param locale The locale supported by the subtype
71 * @param mode The mode supported by the subtype
72 * @param extraValue The extra value of the subtype
[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.java153 if (!"subtype".equals(nodeName)) {
155 "Meta-data in input-method does not start with subtype tag");
159 InputMethodSubtype subtype = new InputMethodSubtype(
177 if (!subtype.isAuxiliary()) {
180 mSubtypes.add(subtype);
198 final InputMethodSubtype subtype = additionalSubtypes.get(i);
199 if (!mSubtypes.contains(subtype)) {
200 mSubtypes.add(subtype);
202 Slog.w(TAG, "Duplicated subtype definition found: "
203 + subtype
[all...]
H A DInputMethodManager.java1508 * Force switch to a new input method and subtype. This can only be called
1514 * @param subtype The new subtype of the new input method to be switched to.
1516 public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) { argument
1518 mService.setInputMethodAndSubtype(token, id, subtype);
1766 * Returns the current input method subtype. This subtype is one of the subtypes in
1768 * have any input method subtype.
1782 * Switch to a new input method subtype of the current input method.
1783 * @param subtype
1787 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;
237 public void setSpellCheckerSubtype(SpellCheckerSubtype subtype) { argument
240 if (subtype == null) {
243 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.java137 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { argument
142 mSubtype = subtype;
183 * Return a network-type-specific integer describing the subtype
185 * @return the network subtype
193 void setSubtype(int subtype, String subtypeName) { argument
195 mSubtype = subtype;
212 * Return a human-readable name describing the subtype of the network.
213 * @return the name of the network subtype
445 int subtype = in.readInt();
448 NetworkInfo netInfo = new NetworkInfo(netType, subtype, typeNam
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java304 * The current subtype of the current input method.
1439 final InputMethodSubtype subtype = subtypes.get(j);
1440 if (!subtype.isAuxiliary()) {
1442 nonAuxSubtype = subtype;
1445 auxSubtype = subtype;
1608 // See if we need to notify a subtype change within the same IME.
1619 // If subtype is null, try to find the most applicable one from
1624 Slog.w(TAG, "Illegal subtype state: old subtype = " + oldSubtype
1625 + ", new subtype
1985 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
2872 canAddToLastInputMethod(InputMethodSubtype subtype) argument
3228 addShortcutInputMethodAndSubtypes(InputMethodInfo imi, InputMethodSubtype subtype) argument
3269 setCurrentInputMethodSubtype(InputMethodSubtype subtype) argument
3317 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/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardPasswordView.java178 for (InputMethodSubtype subtype : subtypes) {
179 if (subtype.isAuxiliary()) {
196 // input method subtype (The current IME should be LatinIME.)
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java586 final InputMethodSubtype subtype = subtypes.get(j);
587 if (!subtype.isAuxiliary()) {
589 nonAuxSubtype = subtype;
592 auxSubtype = subtype;
631 final InputMethodSubtype subtype = imm.getCurrentInputMethodSubtype();
632 final CharSequence summary = subtype != null
633 ? subtype.getDisplayName(context, imi.getPackageName(),
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java286 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
288 subtype));
H A DInputMethodService.java438 public void changeInputMethodSubtype(InputMethodSubtype subtype) { argument
439 onCurrentInputMethodSubtypeChanged(subtype);
2291 // TODO: Handle the subtype change event
2293 * Called when the subtype was changed.
2294 * @param newSubtype the subtype which is being changed to.
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
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.java2228 public void setNetworkType(String type, String subtype) { argument
2231 map.put("subtype", subtype);
/frameworks/base/core/java/android/widget/
H A DTextView.java7734 final SpellCheckerSubtype subtype = textServicesManager.getCurrentSpellCheckerSubtype(true);
7735 if (subtype != null) {
7736 locale = SpellCheckerSubtype.constructLocaleFromString(subtype.getLocale());

Completed in 5619 milliseconds