From c1f7d39b4aabe71ecf7934272a848d8c0fe5a7f0 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 22 Nov 2011 18:07:43 -0800 Subject: [PATCH] Introduce ignoreWhileTyping flags to Key.keyActionFlags Bug: 5639503 Change-Id: Ic2afad6766edb2538a58f722209e2daa40aa488d --- java/res/values/attrs.xml | 1 + java/res/xml-sw600dp/kbd_key_styles.xml | 4 +-- java/res/xml-sw768dp/kbd_key_styles.xml | 14 +++++----- java/res/xml/kbd_key_styles.xml | 4 +-- .../com/android/inputmethod/keyboard/Key.java | 5 ++++ .../keyboard/LatinKeyboardView.java | 2 +- .../inputmethod/keyboard/PointerTracker.java | 26 ++++++++++--------- 7 files changed, 32 insertions(+), 24 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index ae47c1f82..b11e25bc3 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -201,6 +201,7 @@ + diff --git a/java/res/xml-sw600dp/kbd_key_styles.xml b/java/res/xml-sw600dp/kbd_key_styles.xml index 1dc932ad8..5e9a88dd7 100644 --- a/java/res/xml-sw600dp/kbd_key_styles.xml +++ b/java/res/xml-sw600dp/kbd_key_styles.xml @@ -77,13 +77,13 @@ latin:styleName="shortcutKeyStyle" latin:code="@integer/key_shortcut" latin:keyIcon="iconShortcutKey" - latin:keyActionFlags="noKeyPreview" + latin:keyActionFlags="noKeyPreview|ignoreWhileTyping" latin:parentStyle="f2PopupStyle" /> - +