HomeSort by relevance Sort by last modified time
    Searched defs:imi (Results 1 - 24 of 24) sorted by null

  /frameworks/base/cmds/ime/src/com/android/commands/ime/
Ime.java 127 InputMethodInfo imi = methods.get(i); local
129 System.out.println(imi.getId());
131 System.out.println(imi.getId() + ":");
132 imi.dump(pr, " ");
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
SetupActivity.java 59 for (final InputMethodInfo imi : imm.getEnabledInputMethodList()) {
60 if (packageName.equals(imi.getPackageName())) {
77 final InputMethodInfo imi = getInputMethodInfoOf(context.getPackageName(), imm); local
80 return imi != null && imi.getId().equals(currentImeId);
94 for (final InputMethodInfo imi : imm.getInputMethodList()) {
95 if (packageName.equals(imi.getPackageName())) {
96 return imi;
SetupWizardActivity.java 281 final InputMethodInfo imi = SetupActivity.getInputMethodInfoOf(getPackageName(), mImm); local
282 if (imi == null) {
288 intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, imi.getId());
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputMethodInfoTest.java 166 final InputMethodInfo imi = InputMethodInfo.CREATOR.createFromParcel(p); local
168 assertEquals(mInputMethodInfo.getPackageName(), imi.getPackageName());
169 assertEquals(mInputMethodInfo.getServiceName(), imi.getServiceName());
170 assertEquals(mInputMethodInfo.getSettingsActivity(), imi.getSettingsActivity());
171 assertEquals(mInputMethodInfo.getId(), imi.getId());
172 assertEquals(mInputMethodInfo.getIsDefaultResourceId(), imi.getIsDefaultResourceId());
173 assertService(mInputMethodInfo.getServiceInfo(), imi.getServiceInfo());
204 for (InputMethodInfo imi : imis) {
205 if ((imi.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
208 final int subtypeCount = imi.getSubtypeCount()
    [all...]
  /frameworks/base/core/tests/inputmethodtests/src/android/os/
InputMethodTest.java 52 final InputMethodInfo imi = enabledImis.get(0); local
54 if (imi.getPackageName().equals("DummyDefaultAutoVoiceIme")
55 || imi.getPackageName().equals("DummyDefaultEnKeyboardIme")) {
76 final InputMethodInfo imi = enabledImis.get(0); local
79 if (imi.getPackageName().equals("DummyNonDefaultAutoVoiceIme0")
80 || imi.getPackageName().equals("DummyNonDefaultAutoVoiceIme1")
81 || imi.getPackageName().equals("DummyDefaultEnKeyboardIme")) {
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodSettingValuesWrapper.java 90 for (InputMethodInfo imi : imms) {
91 mMethodMap.put(imi.getId(), imi); local
102 for (final InputMethodInfo imi : enabledImis) {
103 final int subtypeCount = imi.getSubtypeCount();
105 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
108 mAsciiCapableEnabledImis.add(imi);
124 final InputMethodInfo imi = mMethodMap.get(mSettings.getSelectedInputMethod()); local
125 if (imi == null) {
126 Log.w(TAG, "Invalid selected imi: " + mSettings.getSelectedInputMethod())
    [all...]
InputMethodAndLanguageSettings.java 419 final InputMethodInfo imi = imis.get(i); local
420 final InputMethodPreference pref = getInputMethodPreference(imi);
457 private InputMethodPreference getInputMethodPreference(InputMethodInfo imi) {
459 final CharSequence label = imi.loadLabel(pm);
462 final String settingsActivity = imi.getSettingsActivity();
465 intent.setClassName(imi.getPackageName(), settingsActivity);
472 new InputMethodPreference(this, intent, mImm, imi);
473 pref.setKey(imi.getId());
InputMethodAndSubtypeEnabler.java 150 InputMethodInfo imi = mInputMethodProperties.get(i); local
151 if (id.equals(imi.getId())) {
152 selImi = imi;
153 if (InputMethodUtils.isSystemIme(imi)) {
233 final InputMethodInfo imi = mInputMethodProperties.get(i); local
234 final int subtypeCount = imi.getSubtypeCount();
236 final String imiId = imi.getId();
245 final CharSequence label = imi.loadLabel(pm);
263 final InputMethodSubtype subtype = imi.getSubtypeAt(j);
265 imi.getPackageName(), imi.getServiceInfo().applicationInfo)
    [all...]
  /development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 91 final InputMethodInfo imi = imis.get(i); local
93 return imi;
100 Context context, InputMethodManager imm, InputMethodInfo imi) {
101 if (context == null || imm == null || imi == null) return null;
102 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
110 sb.append(subtype.getDisplayName(context, imi.getPackageName(),
111 imi.getServiceInfo().applicationInfo));
  /frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 85 final InputMethodInfo imi = imis.get(i); local
87 return imi;
94 Context context, InputMethodManager imm, InputMethodInfo imi) {
95 if (context == null || imm == null || imi == null) return null;
96 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
104 sb.append(subtype.getDisplayName(context, imi.getPackageName(),
105 imi.getServiceInfo().applicationInfo));
  /frameworks/base/core/java/com/android/internal/inputmethod/
InputMethodUtils.java 104 public static boolean isSystemImeThatHasEnglishKeyboardSubtype(InputMethodInfo imi) {
105 if (!isSystemIme(imi)) {
108 return containsSubtypeOf(imi, ENGLISH_LOCALE.getLanguage(), SUBTYPE_MODE_KEYBOARD);
111 private static boolean isSystemAuxilialyImeThatHashAutomaticSubtype(InputMethodInfo imi) {
112 if (!isSystemIme(imi)) {
115 if (!imi.isAuxiliaryIme()) {
118 final int subtypeCount = imi.getSubtypeCount();
120 final InputMethodSubtype s = imi.getSubtypeAt(i);
133 final InputMethodInfo imi = imis.get(i); local
134 if (isDefaultEnabledIme(isSystemReady, imi, context))
145 final InputMethodInfo imi = imis.get(i); local
228 final InputMethodInfo imi = enabledImes.get(i); local
421 final InputMethodInfo imi = enabledImis.get(j); local
594 InputMethodInfo imi = mMethodList.get(i); local
815 final InputMethodInfo imi = mMethodMap.get(imeId); local
944 final InputMethodInfo imi = mMethodMap.get(selectedImiId); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputMethodManager.java 104 for (final InputMethodInfo imi : mImmWrapper.mImm.getInputMethodList()) {
105 if (imi.getPackageName().equals(packageName)) {
106 return imi;
179 final InputMethodInfo imi = imiList.get(index); local
180 if (imi.equals(inputMethodInfo)) {
202 private static boolean isAuxiliaryIme(final InputMethodInfo imi) {
203 final int count = imi.getSubtypeCount();
208 final InputMethodSubtype subtype = imi.getSubtypeAt(index);
237 public boolean checkIfSubtypeBelongsToImeAndEnabled(final InputMethodInfo imi,
239 return checkIfSubtypeBelongsToList(subtype, getEnabledInputMethodSubtypeList(imi,
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
AdditionalSubtypeSettings.java 104 final InputMethodInfo imi = RichInputMethodManager.getInstance() local
106 final int count = imi.getSubtypeCount();
108 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettingsModel.java 662 final InputMethodInfo imi = imis.get(i); local
663 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi,
713 for (InputMethodInfo imi : imis) {
714 if (currentInputMethodId.equals(imi.getId())) {
717 ? subtype.getDisplayName(context, imi.getPackageName(),
718 imi.getServiceInfo().applicationInfo)
  /packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java 460 for (InputMethodInfo imi : imis) {
462 if (imi.isDefault(context) && isSystemPackage(imi.getPackageName())) {
463 excludePackages.add(imi.getPackageName());
    [all...]
  /frameworks/base/services/java/com/android/server/
InputMethodManagerService.java 471 InputMethodInfo imi = mMethodList.get(i); local
472 if (imi.getId().equals(curInputMethodId)) {
474 if (imi.getPackageName().equals(pkg)) {
501 InputMethodInfo imi = mMethodList.get(i); local
502 final String imiId = imi.getId();
504 curIm = imi;
507 int change = isPackageDisappearing(imi.getPackageName());
508 if (isPackageModified(imi.getPackageName())) {
514 + imi.getComponent());
515 setInputMethodEnabledLocked(imi.getId(), false)
983 final InputMethodInfo imi; local
1463 final InputMethodInfo imi = imis.get(i); local
1519 final InputMethodInfo imi = mMethodMap.get(mCurMethodId); local
2113 final InputMethodInfo imi = enabled.get(i); local
2211 final InputMethodInfo imi = mMethodMap.get(imiId); local
2482 final InputMethodInfo imi = InputMethodUtils.getMostApplicableDefaultIME( local
2551 final InputMethodInfo imi = defaultEnabledIme.get(i); local
2966 InputMethodInfo imi = mMethodMap.get(newDefaultIme); local
3083 final InputMethodInfo imi = mMethodMap.get(mCurMethodId); local
3165 InputMethodInfo imi = mMethodMap.get(mCurMethodId); local
    [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 858 milliseconds