Add input methods settings panel

Bug: 3141466
Bug: 3301559
Bug: 3284424

Moved from old master I4d9abeea

Change-Id: I62fa64cc095e1b9ac34f21e7d4d2e0bb8a3e68fc
This commit is contained in:
satok
2010-12-27 19:03:06 +09:00
parent c69d5f3b53
commit 82beadfa06
9 changed files with 595 additions and 45 deletions

View File

@@ -1800,19 +1800,14 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
});
if (showSubtypes) {
mDialogBuilder.setPositiveButton(com.android.internal.R.string.more_item_label,
mDialogBuilder.setPositiveButton(
com.android.internal.R.string.configure_input_methods,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
showConfigureInputMethods();
}
});
}
mDialogBuilder.setNegativeButton(com.android.internal.R.string.cancel,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
hideInputMethodMenu();
}
});
mSwitchingDialog = mDialogBuilder.create();
mSwitchingDialog.getWindow().setType(
WindowManager.LayoutParams.TYPE_INPUT_METHOD_DIALOG);