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

/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtype.aidl19 parcelable InputMethodSubtype;
H A DInputMethodSubtype.java58 public final class InputMethodSubtype implements Parcelable { class in inherits:Parcelable
59 private static final String TAG = InputMethodSubtype.class.getSimpleName();
79 * InputMethodSubtypeBuilder is a builder class of InputMethodSubtype.
190 * @return InputMethodSubtype using parameters in this InputMethodSubtypeBuilder.
192 public InputMethodSubtype build() {
193 return new InputMethodSubtype(this);
217 * {@link InputMethodSubtype#InputMethodSubtype(int, int, String, String, String, boolean,
220 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, method in class:InputMethodSubtype
257 public InputMethodSubtype(in method in class:InputMethodSubtype
267 private InputMethodSubtype(InputMethodSubtypeBuilder builder) { method in class:InputMethodSubtype
284 InputMethodSubtype(Parcel source) { method in class:InputMethodSubtype
[all...]
H A DInputMethodSubtypeArray.java34 * An array-like container that stores multiple instances of {@link InputMethodSubtype}.
52 * {@link InputMethodSubtype}.
54 * @param subtypes A list of {@link InputMethodSubtype} from which
57 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) {
63 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]);
128 * Return {@link InputMethodSubtype} specified with the given index.
133 * @param index The index of {@link InputMethodSubtype}.
135 public InputMethodSubtype get(final int index) {
139 InputMethodSubtype[] instance = mInstance;
153 instance = new InputMethodSubtype[mCoun
[all...]
H A DInputMethod.java227 public void changeInputMethodSubtype(InputMethodSubtype subtype);
H A DInputMethodInfo.java40 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
56 * @see InputMethodSubtype
129 Map<String, List<InputMethodSubtype>> additionalSubtypesMap)
143 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
189 final InputMethodSubtype subtype = new InputMethodSubtypeBuilder()
227 final List<InputMethodSubtype> additionalSubtypes = additionalSubtypesMap.get(mId);
230 final InputMethodSubtype subtype = additionalSubtypes.get(i);
271 String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId,
282 String settingsActivity, List<InputMethodSubtype> subtype
[all...]
H A DInputMethodManager.java672 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(InputMethodInfo imi,
1687 public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) {
1924 public InputMethodSubtype getCurrentInputMethodSubtype() {
1941 public boolean setCurrentInputMethodSubtype(InputMethodSubtype subtype) {
1989 public Map<InputMethodInfo, List<InputMethodSubtype>> getShortcutInputMethodsAndSubtypes() {
1991 HashMap<InputMethodInfo, List<InputMethodSubtype>> ret =
1992 new HashMap<InputMethodInfo, List<InputMethodSubtype>>();
1997 ArrayList<InputMethodSubtype> subtypes = null;
2007 subtypes = new ArrayList<InputMethodSubtype>();
2009 } else if (subtypes != null && o instanceof InputMethodSubtype) {
[all...]
/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DInputMethodSubtypeTest.java21 import android.view.inputmethod.InputMethodSubtype;
22 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
29 // InputMethodSubtype#getLocale() returns exactly the same string that is passed to the
33 // InputMethodSubtype#getLocale() should be preserved via marshaling.
37 // InputMethodSubtype#getLocale() should be preserved via marshaling.
41 // Make sure InputMethodSubtype#hashCode() returns the same hash code.
52 // The locale string in InputMethodSubtype has accepted an arbitrary text actually,
64 final InputMethodSubtype subtypeIw = createDummySubtype("iw");
65 final InputMethodSubtype subtypeHe = createDummySubtype("he");
71 final InputMethodSubtype clonedSubtypeI
[all...]
H A DInputMethodTest.java26 import android.view.inputmethod.InputMethodSubtype;
27 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
44 private static final ArrayList<InputMethodSubtype> NO_SUBTYPE = null;
211 final InputMethodSubtype expectedSubtype = expected.getSubtypeAt(subtypeIndex);
212 final InputMethodSubtype actualSubtype = actual.getSubtypeAt(subtypeIndex);
220 List<InputMethodSubtype> subtypes) {
237 private static InputMethodSubtype createDummyInputMethodSubtype(String locale, String mode,
255 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
270 final ArrayList<InputMethodSubtype> subtype
[all...]
H A DInputMethodSubtypeArrayTest.java21 import android.view.inputmethod.InputMethodSubtype;
23 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
30 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
68 private static InputMethodSubtype createDummySubtype(final int id, final String locale) {
H A DInputMethodSubtypeSwitchingControllerTest.java25 import android.view.inputmethod.InputMethodSubtype;
26 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
45 private static InputMethodSubtype createDummySubtype(final String locale) {
69 List<InputMethodSubtype> subtypes = null;
71 subtypes = new ArrayList<InputMethodSubtype>();
126 InputMethodSubtype subtype = null;
151 InputMethodSubtype subtype = null;
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl22 import android.view.inputmethod.InputMethodSubtype;
39 List<InputMethodSubtype> getEnabledInputMethodSubtypeList(in String imiId,
41 InputMethodSubtype getLastInputMethodSubtype();
65 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype);
72 InputMethodSubtype getCurrentInputMethodSubtype();
73 boolean setCurrentInputMethodSubtype(in InputMethodSubtype subtype);
78 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes);
H A DIInputMethod.aidl24 import android.view.inputmethod.InputMethodSubtype;
55 void changeInputMethodSubtype(in InputMethodSubtype subtype);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeIInputMethodManager.java30 import android.view.inputmethod.InputMethodSubtype;
54 public InputMethodSubtype getCurrentInputMethodSubtype() throws RemoteException {
66 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(String arg0,
79 public InputMethodSubtype getLastInputMethodSubtype() throws RemoteException {
124 public void setAdditionalInputMethodSubtypes(String arg0, InputMethodSubtype[] arg1)
130 public boolean setCurrentInputMethodSubtype(InputMethodSubtype arg0) throws RemoteException {
147 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2)
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeSwitchingController.java25 import android.view.inputmethod.InputMethodSubtype;
176 private final TreeMap<InputMethodInfo, List<InputMethodSubtype>> mSortedImmis =
177 new TreeMap<InputMethodInfo, List<InputMethodSubtype>>(
202 final HashMap<InputMethodInfo, List<InputMethodSubtype>> immis =
214 List<InputMethodSubtype> explicitlyOrImplicitlyEnabledSubtypeList = immis.get(imi);
216 for (InputMethodSubtype subtype : explicitlyOrImplicitlyEnabledSubtypeList) {
226 final InputMethodSubtype subtype = imi.getSubtypeAt(j);
254 private static int calculateSubtypeId(InputMethodInfo imi, InputMethodSubtype subtype) {
268 * @param subtype The {@link InputMethodSubtype} to be searched. null if the input method
272 private int getIndex(InputMethodInfo imi, InputMethodSubtype subtyp
[all...]
H A DInputMethodUtils.java34 import android.view.inputmethod.InputMethodSubtype;
192 final InputMethodSubtype s = imi.getSubtypeAt(i);
228 // TODO: The behavior of InputMethodSubtype#overridesImplicitlyEnabledSubtype() should be
419 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
448 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
460 public static ArrayList<InputMethodSubtype> getSubtypes(InputMethodInfo imi) {
461 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
469 public static ArrayList<InputMethodSubtype> getOverridingImplicitlyEnabledSubtypes(
471 ArrayList<InputMethodSubtype> subtype
[all...]
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java29 import android.view.inputmethod.InputMethodSubtype;
82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
86 final InputMethodSubtype subtype = subtypes.get(i);
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java110 import android.view.inputmethod.InputMethodSubtype;
111 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
314 private InputMethodSubtype mCurrentSubtype;
316 // This list contains the pairs of InputMethodInfo and InputMethodSubtype.
317 private final HashMap<InputMethodInfo, ArrayList<InputMethodSubtype>>
319 new HashMap<InputMethodInfo, ArrayList<InputMethodSubtype>>();
1036 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(String imiId,
1040 return Collections.<InputMethodSubtype>emptyList();
1050 return Collections.<InputMethodSubtype>emptyList();
1522 InputMethodSubtype nonAuxSubtyp
[all...]
H A DTextServicesManagerService.java57 import android.view.inputmethod.InputMethodSubtype;
413 final InputMethodSubtype currentInputMethodSubtype =
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java33 import android.view.inputmethod.InputMethodSubtype;
220 final List<InputMethodSubtype> subtypes =
229 for (InputMethodSubtype subtype : subtypes) {
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java41 import android.view.inputmethod.InputMethodSubtype;
209 inputMethod.changeInputMethodSubtype((InputMethodSubtype)msg.obj);
322 public void changeInputMethodSubtype(InputMethodSubtype subtype) {
H A DInputMethodService.java63 import android.view.inputmethod.InputMethodSubtype;
446 public void changeInputMethodSubtype(InputMethodSubtype subtype) {
2343 protected void onCurrentInputMethodSubtypeChanged(InputMethodSubtype newSubtype) {
/frameworks/base/
H A DAndroid.mk507 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \

Completed in 299 milliseconds