From 10f113f5d294abd896676b374d2e5dd26df01429 Mon Sep 17 00:00:00 2001 From: satok Date: Wed, 20 Apr 2011 11:34:03 +0900 Subject: [PATCH 1/9] Remove debug mode from the settings preference Change-Id: I2b3f973f8d59687fe5b95b841449bff5c4b1a2ba --- java/res/xml/prefs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index afe7be914..102187b2e 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -115,12 +115,12 @@ android:entryValues="@array/keyboard_layout_modes_values" android:entries="@array/keyboard_layout_modes" android:defaultValue="@string/config_default_keyboard_theme_id" /> - - + --> \ No newline at end of file From 39144ca4f9cf081e24e748f784b5ee7024d992f7 Mon Sep 17 00:00:00 2001 From: satok Date: Wed, 20 Apr 2011 11:42:55 +0900 Subject: [PATCH 2/9] Change the default value of logging to true Change-Id: I52198ebca929f02e8b04db77a474ee5a7e79cdea --- java/res/xml/prefs.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index afe7be914..68e1fa8d1 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -107,7 +107,7 @@ android:title="@string/prefs_enable_log" android:summary="@string/prefs_description_log" android:persistent="true" - android:defaultValue="false" /> + android:defaultValue="true" /> - - + --> \ No newline at end of file From aafa17e2831e4b823df1f1a89ae81cbbcc286fed Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Wed, 20 Apr 2011 12:08:33 +0900 Subject: [PATCH 3/9] Fix a typo. Change-Id: I245deb5af6b504ff20617929c0510036d0c930d5 --- .../src/com/android/inputmethod/latin/SuggestedWords.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index fe7aac7c2..a8cdfc02e 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -32,14 +32,14 @@ public class SuggestedWords { public final List mSuggestedWordInfoList; private SuggestedWords(List words, boolean typedWordValid, - boolean hasMinamlSuggestion, List suggestedWordInfoList) { + boolean hasMinimalSuggestion, List suggestedWordInfoList) { if (words != null) { mWords = words; } else { mWords = Collections.emptyList(); } mTypedWordValid = typedWordValid; - mHasMinimalSuggestion = hasMinamlSuggestion; + mHasMinimalSuggestion = hasMinimalSuggestion; mSuggestedWordInfoList = suggestedWordInfoList; } @@ -113,8 +113,8 @@ public class SuggestedWords { return this; } - public Builder setHasMinimalSuggestion(boolean hasMinamlSuggestion) { - mHasMinimalSuggestion = hasMinamlSuggestion; + public Builder setHasMinimalSuggestion(boolean hasMinimalSuggestion) { + mHasMinimalSuggestion = hasMinimalSuggestion; return this; } From 015b21cf52fea1a96bf785c73ecb80b0b731cec3 Mon Sep 17 00:00:00 2001 From: satok Date: Wed, 20 Apr 2011 11:29:26 +0900 Subject: [PATCH 4/9] Tweak voice layout for Dogfood Change-Id: Ic51a044901a63c4cec907163e35cd5e458f36dde --- java/res/layout-xlarge/recognition_status.xml | 101 ++++++++++++++++++ java/res/layout/recognition_status.xml | 27 ++--- .../InputMethodManagerCompatWrapper.java | 11 +- .../InputMethodServiceCompatWrapper.java | 8 +- .../InputMethodSubtypeCompatWrapper.java | 4 + 5 files changed, 131 insertions(+), 20 deletions(-) create mode 100644 java/res/layout-xlarge/recognition_status.xml diff --git a/java/res/layout-xlarge/recognition_status.xml b/java/res/layout-xlarge/recognition_status.xml new file mode 100644 index 000000000..40bc09823 --- /dev/null +++ b/java/res/layout-xlarge/recognition_status.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + +