From c12588d40b030263304df05e1a0789e8c3ef0821 Mon Sep 17 00:00:00 2001 From: Roman Mitnitski Date: Sun, 21 Mar 2010 11:29:07 +0200 Subject: [PATCH 1/4] Add hebrew keyboard to LatinIME Bug: 2532052 Change-Id: Id2de988327fa3501e9049dc972a215b754bd3d91 --- java/res/xml-iw/kbd_qwerty.xml | 164 +++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100755 java/res/xml-iw/kbd_qwerty.xml diff --git a/java/res/xml-iw/kbd_qwerty.xml b/java/res/xml-iw/kbd_qwerty.xml new file mode 100755 index 000000000..3cec7cda4 --- /dev/null +++ b/java/res/xml-iw/kbd_qwerty.xml @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From f9d0f3a81ad4220672f90a8799a79e63e53c46d3 Mon Sep 17 00:00:00 2001 From: Valentin Kravtsov Date: Mon, 12 Apr 2010 20:59:46 +0100 Subject: [PATCH 2/4] Fix for: For Voice IME busy circle displayed below waveform bugfix for: http://b/issue?id=2568048 [Sapphire] ]For Voice IME busy circle displayed below waveform. STEPS TO REPRODUCE: 1. launch Calendar . -> Select menu -> New Event. 2. Switch soft keyboard to Number view. 3. Tap on mic symbol of to speak 4. Speak any word to enter in Text field . 5. Verify busy icon ( circular icon ) displayed in "working " screen. EXPECTED RESULTS: Busy circle should be displayed in center of waveform OBSERVED RESULTS: Busy circle displayed below waveform ADDITIONAL INFORMATION: Spoken word is enetering in text field correctly. Change-Id: I043ce6a985f526cade0e9f63525619a92d918485 --- java/res/layout/recognition_status.xml | 3 +-- .../src/com/android/inputmethod/voice/RecognitionView.java | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/java/res/layout/recognition_status.xml b/java/res/layout/recognition_status.xml index 1ec06ba9a..49af77360 100644 --- a/java/res/layout/recognition_status.xml +++ b/java/res/layout/recognition_status.xml @@ -63,8 +63,7 @@ Date: Wed, 14 Apr 2010 20:34:58 -0700 Subject: [PATCH 3/4] Import revised translations Change-Id: I2d221b9501462110848592e76c6bd8490f2b209e --- java/res/values-es/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/res/values-es/strings.xml b/java/res/values-es/strings.xml index d3d794421..8a1fb9db8 100644 --- a/java/res/values-es/strings.xml +++ b/java/res/values-es/strings.xml @@ -76,7 +76,7 @@ "¡Pruébalo!" "Ir" "Sig." - "Hecho" + "Listo" "Enviar" "?123" "123" From 938c178215d38c6f085b32b0994598f9e8bc5ab5 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Thu, 15 Apr 2010 14:44:22 -0700 Subject: [PATCH 4/4] Fix for hanging extension keyboard. Bug: 2593488 Sometimes the only motion event that is above the keyboard is the UP event. In that case we can't expect one more event to come that will dismiss the extension. So don't show the extension if the only Y < 0 event is an UP event. Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b --- .../com/android/inputmethod/latin/LatinKeyboardView.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java index c25fe3942..ddfb4047c 100644 --- a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java +++ b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java @@ -192,12 +192,12 @@ public class LatinKeyboardView extends KeyboardView { mLastY = (int) me.getY(); invalidate(); } + // If an extension keyboard is visible or this is an extension keyboard, don't look // for sudden jumps. Otherwise, if there was a sudden jump, return without processing the // actual motion event. if (!mExtensionVisible && !mIsExtensionType && handleSuddenJump(me)) return true; - // Reset any bounding box controls in the keyboard if (me.getAction() == MotionEvent.ACTION_DOWN) { keyboard.keyReleased(); @@ -219,7 +219,9 @@ public class LatinKeyboardView extends KeyboardView { if (keyboard.getExtension() == 0) { return super.onTouchEvent(me); } - if (me.getY() < 0) { + // If the motion event is above the keyboard and it's not an UP event coming + // even before the first MOVE event into the extension area + if (me.getY() < 0 && (mExtensionVisible || me.getAction() != MotionEvent.ACTION_UP)) { if (mExtensionVisible) { int action = me.getAction(); if (mFirstEvent) action = MotionEvent.ACTION_DOWN;