From 89764ad4ac5415fb9753c38671b1fa18b9cdd390 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Wed, 19 Jan 2011 17:44:39 +0900 Subject: [PATCH] Simplify text correction settings in latin IME. Conditionally remove the "Quick fixes", "Bigram suggestions" and "Usability study mode" options, depending on configuration. When disabled, have the quick fixes and bigram option become false if autocorrect is off, and true otherwise. Also reorder options to bring "Auto correction" above "Show suggestions". bug: 3282448 Change-Id: Ib7fd928be417a816ef9e21423a531773069b7468 --- java/res/values-xlarge/config.xml | 2 ++ java/res/values/config.xml | 6 +++++ java/res/xml/prefs.xml | 20 +++++++------- .../android/inputmethod/latin/LatinIME.java | 23 +++++++++++++--- .../android/inputmethod/latin/Settings.java | 26 +++++++++++++++++-- 5 files changed, 61 insertions(+), 16 deletions(-) diff --git a/java/res/values-xlarge/config.xml b/java/res/values-xlarge/config.xml index d6864608d..004b39b92 100644 --- a/java/res/values-xlarge/config.xml +++ b/java/res/values-xlarge/config.xml @@ -24,6 +24,8 @@ false false false + false + false false false false diff --git a/java/res/values/config.xml b/java/res/values/config.xml index a523635ca..6a1b27a05 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -27,12 +27,18 @@ true true true + true + true + false true true true true true + + true + true true -1 diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index 02918858b..9ea801ef7 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -93,16 +93,6 @@ android:defaultValue="true" /> - - + +