From 8e26dfeaae53ea65192ba1ee78f5231f4092f399 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 24 May 2011 11:22:25 +0900 Subject: Add missing IME_ACTION_NEXT Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb --- java/src/com/android/inputmethod/compat/EditorInfoCompatUtils.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'java/src/com/android/inputmethod/compat/EditorInfoCompatUtils.java') diff --git a/java/src/com/android/inputmethod/compat/EditorInfoCompatUtils.java b/java/src/com/android/inputmethod/compat/EditorInfoCompatUtils.java index f6f4f7a59..2789bcb39 100644 --- a/java/src/com/android/inputmethod/compat/EditorInfoCompatUtils.java +++ b/java/src/com/android/inputmethod/compat/EditorInfoCompatUtils.java @@ -78,6 +78,9 @@ public class EditorInfoCompatUtils { case EditorInfo.IME_ACTION_SEND: action = "actionSend"; break; + case EditorInfo.IME_ACTION_NEXT: + action = "actionNext"; + break; case EditorInfo.IME_ACTION_DONE: action = "actionDone"; break; -- cgit v1.2.3-83-g751a From 28a38fdfeeb9596883ee5b422c12532a73d38c87 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 17 Jun 2011 18:25:54 +0900 Subject: Tab key is shown when editor navigation flag is set Previously tab key is shown only when the input type variant says that it is web input. In addition to that, this change also shows tab key when the IME option includes editor action (next and/or previous) flag. Bug: 3094312 Change-Id: I3f8841fdbcee918a0f93f3259090f24e70d96471 --- java/res/values/attrs.xml | 2 +- java/res/xml/kbd_qwerty_f1.xml | 2 +- java/res/xml/kbd_qwerty_row4.xml | 2 +- .../android/inputmethod/compat/EditorInfoCompatUtils.java | 2 +- java/src/com/android/inputmethod/keyboard/KeyboardId.java | 12 +++++++----- .../src/com/android/inputmethod/keyboard/KeyboardParser.java | 8 ++++---- 6 files changed, 15 insertions(+), 13 deletions(-) (limited to 'java/src/com/android/inputmethod/compat/EditorInfoCompatUtils.java') diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 2db529ea2..73f62c6f1 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -221,7 +221,7 @@ - + diff --git a/java/res/xml/kbd_qwerty_f1.xml b/java/res/xml/kbd_qwerty_f1.xml index e89d02d91..88dfab116 100644 --- a/java/res/xml/kbd_qwerty_f1.xml +++ b/java/res/xml/kbd_qwerty_f1.xml @@ -46,7 +46,7 @@