Lines Matching defs:id

591                             com.android.internal.R.id.hard_keyboard_section).setVisibility(
659 userId = ActivityManagerNative.getDefault().getCurrentUser().id;
900 // 2) the calling process' user id is identical to the current user id IMMS thinks.
907 + " calling userId = " + userId + ", foreground user id = "
1213 throw new IllegalArgumentException("Unknown id: " + mCurMethodId);
1593 String id = mSettings.getSelectedInputMethod();
1595 if (TextUtils.isEmpty(id) && chooseNewDefaultIMELocked()) {
1596 id = mSettings.getSelectedInputMethod();
1598 if (!TextUtils.isEmpty(id)) {
1600 setInputMethodLocked(id, getSelectedInputMethodSubtypeId(id));
1602 Slog.w(TAG, "Unknown input method from prefs: " + id, e);
1614 /* package */ void setInputMethodLocked(String id, int subtypeId) {
1615 InputMethodInfo info = mMethodMap.get(id);
1617 throw new IllegalArgumentException("Unknown id: " + id);
1621 if (id.equals(mCurMethodId)) {
1663 mCurMethodId = id;
1668 intent.putExtra("input_method_id", id);
1997 public void setInputMethod(IBinder token, String id) {
2001 setInputMethodWithSubtypeId(token, id, NOT_A_SUBTYPE_ID);
2005 public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) {
2011 setInputMethodWithSubtypeId(token, id, getSubtypeIdFromHashCode(
2012 mMethodMap.get(id), subtype.hashCode()));
2014 setInputMethod(token, id);
2183 private void setInputMethodWithSubtypeId(IBinder token, String id, int subtypeId) {
2201 setInputMethodLocked(id, subtypeId);
2505 final String id = p.getId();
2506 map.put(id, p);
2511 setInputMethodEnabledLocked(id, true);
2643 com.android.internal.R.id.hard_keyboard_section).setVisibility(
2647 com.android.internal.R.id.hard_keyboard_switch));
2788 final TextView firstTextView = (TextView)view.findViewById(android.R.id.text1);
2789 final TextView secondTextView = (TextView)view.findViewById(android.R.id.text2);
2799 (RadioButton)view.findViewById(com.android.internal.R.id.radio);
2826 public boolean setInputMethodEnabled(String id, boolean enabled) {
2842 return setInputMethodEnabledLocked(id, enabled);
2849 boolean setInputMethodEnabledLocked(String id, boolean enabled) {
2851 InputMethodInfo imm = mMethodMap.get(id);
2853 throw new IllegalArgumentException("Unknown id: " + mCurMethodId);
2861 if (pair.first.equals(id)) {
2867 mSettings.appendAndPutEnabledInputMethodLocked(id, false);
2873 builder, enabledInputMethodsList, id)) {
2876 if (id.equals(selId) && !chooseNewDefaultIMELocked()) {
2959 private int getSelectedInputMethodSubtypeId(String id) {
2960 InputMethodInfo imi = mMethodMap.get(id);
3448 String id = pair.first;
3450 builder.append(id);
3544 // The first element is ime id.
3555 public void appendAndPutEnabledInputMethodLocked(String id, boolean reloadInputMethodStr) {
3561 putEnabledInputMethodsStr(id);
3564 mEnabledInputMethodsStrCache + INPUT_METHOD_SEPARATER + id);
3570 * @return the specified id was removed or not.
3573 StringBuilder builder, List<Pair<String, ArrayList<String>>> imsList, String id) {
3578 if (curId.equals(id)) {
3768 // Check whether the subtype id is valid or not
3800 // The first element is ime id.
3876 private static final String ATTR_ID = "id";
4020 Slog.w(TAG, "Invalid imi id found in subtypes.xml");