diff options
author | 2015-03-13 14:50:54 -0700 | |
---|---|---|
committer | 2015-03-16 11:23:22 -0700 | |
commit | 5455179b54eb8230577f518db082796a3055685a (patch) | |
tree | 9e5c38575cbee4e96e2325e8c211a5b2a3a3d5fc /java/res | |
parent | 180a1e363f84f425e1b1d001e15e28df03f9181e (diff) | |
download | latinime-5455179b54eb8230577f518db082796a3055685a.tar.gz latinime-5455179b54eb8230577f518db082796a3055685a.tar.xz latinime-5455179b54eb8230577f518db082796a3055685a.zip |
Revert "Next-word suggestion bit in keyboard settings."
This reverts commit 1ae16dc3db170802d1b38273f477125a2a969d32.
Bug 19596067.
Change-Id: Ie7286acbb70b215d7bd08e271bcf14526b68576f
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/values/config-common.xml | 3 | ||||
-rw-r--r-- | java/res/values/strings.xml | 5 | ||||
-rw-r--r-- | java/res/xml/prefs_screen_correction.xml | 6 |
3 files changed, 14 insertions, 0 deletions
diff --git a/java/res/values/config-common.xml b/java/res/values/config-common.xml index be22cceea..fb20f7c3a 100644 --- a/java/res/values/config-common.xml +++ b/java/res/values/config-common.xml @@ -20,6 +20,9 @@ <resources> <bool name="config_block_potentially_offensive">true</bool> + <!-- Default value for next word prediction: after entering a word and a space only, should we + look at input history to suggest a hopefully helpful suggestions for the next word? --> + <bool name="config_default_next_word_prediction">true</bool> <integer name="config_delay_in_milliseconds_to_update_shift_state">100</integer> <integer name="config_double_space_period_timeout">1100</integer> diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index e4b3883af..54579f2d6 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -157,6 +157,11 @@ <!-- Option to suggest auto correction suggestions very aggressively. Auto-corrects to a word which has even large edit distance from typed word. [CHAR LIMIT=20] --> <string name="auto_correction_threshold_mode_very_aggressive">Very aggressive</string> + <!-- Option to enable using next word suggestions. After the user types a space, with this option on, the keyboard will try to predict the next word. --> + <string name="bigram_prediction">Next-word suggestions</string> + <!-- Description for "next word suggestion" option. This displays suggestions even when there is no input, based on the previous word. --> + <string name="bigram_prediction_summary">Use the previous word in making suggestions</string> + <!-- Option to enable gesture input. The user can input a word by tracing the letters of a word without releasing the finger from the screen. [CHAR LIMIT=30]--> <string name="gesture_input">Enable gesture typing</string> <!-- Description for "gesture_input" option. The user can input a word by tracing the letters of a word without releasing the finger from the screen. [CHAR LIMIT=65]--> diff --git a/java/res/xml/prefs_screen_correction.xml b/java/res/xml/prefs_screen_correction.xml index 284231bf1..a943dc1a3 100644 --- a/java/res/xml/prefs_screen_correction.xml +++ b/java/res/xml/prefs_screen_correction.xml @@ -65,4 +65,10 @@ android:summary="@string/use_contacts_dict_summary" android:defaultValue="true" android:persistent="true" /> + <CheckBoxPreference + android:key="next_word_prediction" + android:title="@string/bigram_prediction" + android:summary="@string/bigram_prediction_summary" + android:defaultValue="true" + android:persistent="true" /> </PreferenceScreen> |