/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/utils/ |
UncachedInputMethodManagerUtils.java | 42 for (final InputMethodInfo imi : imm.getEnabledInputMethodList()) { 43 if (packageName.equals(imi.getPackageName())) { 60 final InputMethodInfo imi = getInputMethodInfoOf(context.getPackageName(), imm); local 63 return imi != null && imi.getId().equals(currentImeId); 77 for (final InputMethodInfo imi : imm.getInputMethodList()) { 78 if (packageName.equals(imi.getPackageName())) { 79 return imi;
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodPreference.java | 79 * @param imi The {@link InputMethodInfo} of this preference. 87 InputMethodPreference(final Context context, final InputMethodInfo imi, 92 mImi = imi; 102 setKey(imi.getId()); 103 setTitle(imi.loadLabel(context.getPackageManager())); 104 final String settingsActivity = imi.getSettingsActivity(); 110 intent.setClassName(imi.getPackageName(), settingsActivity); 114 mHasPriorityInSorting = InputMethodUtils.isSystemIme(imi) 115 && mInputMethodSettingValues.isValidSystemNonAuxAsciiCapableIme(imi, context); 212 private void showSecurityWarnDialog(final InputMethodInfo imi) { [all...] |
InputMethodSettingValuesWrapper.java | 87 for (InputMethodInfo imi : imms) { 88 mMethodMap.put(imi.getId(), imi); local 99 for (final InputMethodInfo imi : enabledImis) { 100 final int subtypeCount = imi.getSubtypeCount(); 102 final InputMethodSubtype subtype = imi.getSubtypeAt(i); 105 mAsciiCapableEnabledImis.add(imi); 121 final InputMethodInfo imi = mMethodMap.get(mSettings.getSelectedInputMethod()); local 122 if (imi == null) { 123 Log.w(TAG, "Invalid selected imi: " + mSettings.getSelectedInputMethod()) [all...] |
InputMethodAndSubtypeEnabler.java | 75 final InputMethodInfo imi = mInputMethodInfoList.get(index); local 77 if (imi.getId().equals(targetImi) || TextUtils.isEmpty(targetImi)) { 78 addInputMethodSubtypePreferences(imi, root); 154 private void addInputMethodSubtypePreferences(final InputMethodInfo imi, 157 final int subtypeCount = imi.getSubtypeCount(); 161 final String imiId = imi.getId(); 165 final CharSequence label = imi.loadLabel(pm); 182 final InputMethodSubtype subtype = imi.getSubtypeAt(index); 186 context, imi.getPackageName(), imi.getServiceInfo().applicationInfo) [all...] |
InputMethodAndLanguageSettings.java | 392 final InputMethodInfo imi = imis.get(i); local 394 || permittedList.contains(imi.getPackageName()); 396 context, imi, mShowsOnlyFullImeAndKeyboardList /* hasSwitch */, 426 final InputMethodInfo imi = pref.getInputMethodInfo(); local 430 saveEnabledSubtypesOf(imi); 441 restorePreviouslyEnabledSubtypesOf(imi); 448 private void saveEnabledSubtypesOf(final InputMethodInfo imi) { 451 imi, true /* allowsImplicitlySelectedSubtypes */); 458 final String imiId = imi.getId(); 463 private void restorePreviouslyEnabledSubtypesOf(final InputMethodInfo imi) { [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 166 final InputMethodInfo imi = InputMethodInfo.CREATOR.createFromParcel(p); local 169 assertEquals(mInputMethodInfo.getPackageName(), imi.getPackageName()); 170 assertEquals(mInputMethodInfo.getServiceName(), imi.getServiceName()); 171 assertEquals(mInputMethodInfo.getSettingsActivity(), imi.getSettingsActivity()); 172 assertEquals(mInputMethodInfo.getId(), imi.getId()); 173 assertEquals(mInputMethodInfo.getIsDefaultResourceId(), imi.getIsDefaultResourceId()); 174 assertService(mInputMethodInfo.getServiceInfo(), imi.getServiceInfo()); 211 for (InputMethodInfo imi : imis) { 212 if ((imi.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { 215 final int subtypeCount = imi.getSubtypeCount() [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
KeyboardTextsSetTests.java | 45 final InputMethodInfo imi = richImm.getInputMethodInfoOfThisIme(); local 46 final int subtypeCount = imi.getSubtypeCount(); 48 final InputMethodSubtype subtype = imi.getSubtypeAt(index);
|
/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 | 71 final InputMethodInfo imi = imis.get(i); local 73 return imi; 80 Context context, InputMethodManager imm, InputMethodInfo imi) { 81 if (context == null || imm == null || imi == null) return null; 82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); 90 sb.append(subtype.getDisplayName(context, imi.getPackageName(), 91 imi.getServiceInfo().applicationInfo));
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSetTestsBase.java | 62 final InputMethodInfo imi = richImm.getInputMethodInfoOfThisIme(); local 63 final int subtypeCount = imi.getSubtypeCount(); 65 final InputMethodSubtype subtype = imi.getSubtypeAt(index);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
KeyboardActivity.java | 243 for (InputMethodInfo imi : allInputMethodInfos) { 249 builder.append(imi.getId()); 255 private Intent getInputMethodSettingsIntent(InputMethodInfo imi) { 257 final CharSequence label = imi.loadLabel(pm);// IME settings 259 final String settingsActivity = imi.getSettingsActivity(); 262 intent.setClassName(imi.getPackageName(), settingsActivity);
|
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
InputMethodSubtypeSwitchingControllerTest.java | 76 final InputMethodInfo imi = new InputMethodInfo(ri, DUMMY_IS_AUX_IME, local 80 items.add(new ImeSubtypeListItem(imeName, null /* variableName */, imi, 85 items.add(new ImeSubtypeListItem(imeName, subtypeLocale, imi, i, subtypeLocale,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
SpacebarLanguagetUtilsTests.java | 65 final InputMethodInfo imi = mRichImm.getInputMethodInfoOfThisIme(); local 66 final int subtypeCount = imi.getSubtypeCount(); 68 final InputMethodSubtype subtype = imi.getSubtypeAt(index);
|
SubtypeLocaleUtilsTests.java | 65 final InputMethodInfo imi = mRichImm.getInputMethodInfoOfThisIme(); local 66 final int subtypeCount = imi.getSubtypeCount(); 68 final InputMethodSubtype subtype = imi.getSubtypeAt(index);
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 126 public static boolean isSystemImeThatHasEnglishKeyboardSubtype(InputMethodInfo imi) { 127 if (!isSystemIme(imi)) { 130 return containsSubtypeOf(imi, ENGLISH_LOCALE.getLanguage(), SUBTYPE_MODE_KEYBOARD); 133 private static boolean isSystemImeThatHasSubtypeOf(final InputMethodInfo imi, 137 if (!isSystemIme(imi)) { 140 if (checkDefaultAttribute && !imi.isDefault(context)) { 143 if (!containsSubtypeOf(imi, requiredLocale, checkCountry, requiredSubtypeMode)) { 179 private static boolean isSystemAuxilialyImeThatHasAutomaticSubtype(final InputMethodInfo imi, 181 if (!isSystemIme(imi)) { 184 if (checkDefaultAttribute && !imi.isDefault(context)) 219 final InputMethodInfo imi = imis.get(i); local 240 final InputMethodInfo imi = imis.get(i); local 251 final InputMethodInfo imi = imis.get(i); local 491 final InputMethodInfo imi = enabledImes.get(i); local 694 final InputMethodInfo imi = enabledImis.get(j); local 903 InputMethodInfo imi = mMethodList.get(i); local 1124 final InputMethodInfo imi = mMethodMap.get(imeId); local 1263 final InputMethodInfo imi = mMethodMap.get(selectedImiId); local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
AppLoadingTask.java | 376 for (InputMethodInfo imi : imis) { 378 if (imi.isDefault(mContext) && isSystemPackage(imi.getPackageName())) { 379 defaultSystemImes.add(imi.getPackageName());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
RichInputMethodManager.java | 174 final InputMethodInfo imi = imiList.get(index); local 175 if (imi.equals(inputMethodInfo)) { 197 private static boolean isAuxiliaryIme(final InputMethodInfo imi) { 198 final int count = imi.getSubtypeCount(); 203 final InputMethodSubtype subtype = imi.getSubtypeAt(index); 226 for (final InputMethodInfo imi : mImm.getInputMethodList()) { 227 if (imi.getPackageName().equals(mImePackageName)) { 228 mCachedValue = imi; 229 return imi; 261 public boolean checkIfSubtypeBelongsToImeAndEnabled(final InputMethodInfo imi, [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupWizardActivity.java | 282 final InputMethodInfo imi = local 284 if (imi == null) { 290 intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, imi.getId());
|
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 442 for (InputMethodInfo imi : imis) { 444 if (imi.isDefault(context) && isSystemPackage(imi.getPackageName())) { 445 excludePackages.add(imi.getPackageName()); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
CustomInputStyleSettingsFragment.java | 107 final InputMethodInfo imi = RichInputMethodManager.getInstance() local 109 final int count = imi.getSubtypeCount(); 111 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
|
/frameworks/base/services/core/java/com/android/server/ |
InputMethodManagerService.java | 497 InputMethodInfo imi = mMethodList.get(i); local 498 if (imi.getId().equals(curInputMethodId)) { 500 if (imi.getPackageName().equals(pkg)) { 527 InputMethodInfo imi = mMethodList.get(i); local 528 final String imiId = imi.getId(); 530 curIm = imi; 533 int change = isPackageDisappearing(imi.getPackageName()); 534 if (isPackageModified(imi.getPackageName())) { 540 + imi.getComponent()); 541 setInputMethodEnabledLocked(imi.getId(), false) 1043 final InputMethodInfo imi; local 1525 final InputMethodInfo imi = imis.get(i); local 1592 final InputMethodInfo imi = mMethodMap.get(mCurMethodId); local 2227 final InputMethodInfo imi = enabled.get(i); local 2338 final InputMethodInfo imi = mMethodMap.get(imiId); local 2386 final InputMethodInfo imi = mMethodMap.get(mCurMethodId); local 2654 final InputMethodInfo imi = InputMethodUtils.getMostApplicableDefaultIME( local 2723 final InputMethodInfo imi = defaultEnabledIme.get(i); local 3105 InputMethodInfo imi = mMethodMap.get(newDefaultIme); local 3222 final InputMethodInfo imi = mMethodMap.get(mCurMethodId); local 3304 InputMethodInfo imi = mMethodMap.get(mCurMethodId); local [all...] |
/external/robolectric/lib/main/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |