Home | History | Annotate | Download | only in tablet

Lines Matching refs:subtype

219             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) {
312 mImm.setInputMethodAndSubtype(mToken, imi.getId(), subtype);
346 Log.w(TAG, "RadioButton was not found in the selected subtype view");
369 InputMethodInfo imi, InputMethodSubtype subtype) {
372 Log.d(TAG, "Update radio buttons by " + imi.getId() + ", " + subtype);
378 Log.w(TAG, "RadioButton was not found in the selected subtype view");
384 && (imiAndSubtype.second == null || imiAndSubtype.second.equals(subtype))) {
439 private CharSequence getSubtypeName(InputMethodInfo imi, InputMethodSubtype subtype) {
440 if (imi == null || subtype == null) return null;
442 Log.d(TAG, "Get text from: " + imi.getPackageName() + subtype.getNameResId()
445 return subtype.getDisplayName(
449 private Drawable getSubtypeIcon(InputMethodInfo imi, InputMethodSubtype subtype) {
453 if (subtype != null) {
454 Log.d(TAG, "subtype =" + subtype.getLocale() + "," + subtype.getMode());
457 if (subtype != null) {
458 return mPackageManager.getDrawable(imi.getPackageName(), subtype.getIconResId(),