Lines Matching refs:imis
150 public static Locale getFallbackLocaleForDefaultIme(final ArrayList<InputMethodInfo> imis,
156 for (int i = 0; i < imis.size(); ++i) {
157 if (isSystemImeThatHasSubtypeOf(imis.get(i), context,
167 for (int i = 0; i < imis.size(); ++i) {
168 if (isSystemImeThatHasSubtypeOf(imis.get(i), context,
175 Slog.w(TAG, "Found no fallback locale. imis=" + Arrays.toString(imis.toArray()));
214 public InputMethodListBuilder fillImes(final ArrayList<InputMethodInfo> imis,
218 for (int i = 0; i < imis.size(); ++i) {
219 final InputMethodInfo imi = imis.get(i);
230 public InputMethodListBuilder fillAuxiliaryImes(final ArrayList<InputMethodInfo> imis,
239 for (int i = 0; i < imis.size(); ++i) {
240 final InputMethodInfo imi = imis.get(i);
250 for (int i = 0; i < imis.size(); ++i) {
251 final InputMethodInfo imi = imis.get(i);
271 final ArrayList<InputMethodInfo> imis, final Context context,
282 builder.fillImes(imis, context, true /* checkDefaultAttribute */, fallbackLocale,
287 builder.fillImes(imis, context, false /* checkDefaultAttribute */, fallbackLocale,
292 builder.fillImes(imis, context, true /* checkDefaultAttribute */, fallbackLocale,
297 builder.fillImes(imis, context, false /* checkDefaultAttribute */, fallbackLocale,
302 Slog.w(TAG, "No software keyboard is found. imis=" + Arrays.toString(imis.toArray())
308 final ArrayList<InputMethodInfo> imis, final Context context,
321 builder.fillImes(imis, context, true /* checkDefaultAttribute */, systemLocale,
326 builder.fillImes(imis, context, true /* checkDefaultAttribute */, systemLocale,
331 builder.fillImes(imis, context, true /* checkDefaultAttribute */, fallbackLocale,
336 builder.fillImes(imis, context, true /* checkDefaultAttribute */, fallbackLocale,
341 builder.fillImes(imis, context, false /* checkDefaultAttribute */, fallbackLocale,
346 builder.fillImes(imis, context, false /* checkDefaultAttribute */, fallbackLocale,
351 Slog.w(TAG, "No software keyboard is found. imis=" + Arrays.toString(imis.toArray())
357 final boolean isSystemReady, final ArrayList<InputMethodInfo> imis) {
358 final Locale fallbackLocale = getFallbackLocaleForDefaultIme(imis, context);
364 return getMinimumKeyboardSetWithoutSystemLocale(imis, context, fallbackLocale)
365 imis, context, true /* checkDefaultAttribute */, fallbackLocale,
376 return getMinimumKeyboardSetWithSystemLocale(imis, context, systemLocale, fallbackLocale)
377 .fillImes(imis, context, true /* checkDefaultAttribute */, systemLocale,
379 .fillAuxiliaryImes(imis, context)