From af2e0a5697e2d8fa48838d893fd3682d4b68c9b9 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 8 Jul 2014 18:20:40 +0900 Subject: [PATCH] Update Bengali keyboard to add a few vowel signs Bug: 10028755 Change-Id: Ia0b8624470c5b0667a3d7267d3cf8d4c937b0b0c --- java/res/xml/rowkeys_bengali1.xml | 15 ++++++++++----- .../inputmethod/keyboard/layout/Bengali.java | 15 ++++++++++----- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/java/res/xml/rowkeys_bengali1.xml b/java/res/xml/rowkeys_bengali1.xml index c1fd8b434..971fff61f 100644 --- a/java/res/xml/rowkeys_bengali1.xml +++ b/java/res/xml/rowkeys_bengali1.xml @@ -20,35 +20,40 @@ + latin:additionalMoreKeys="ৌ,১,1" /> + latin:additionalMoreKeys="ৈ,২,2" /> + latin:additionalMoreKeys="া,৩,3" /> + latin:additionalMoreKeys="ী,৪,4" /> + latin:additionalMoreKeys="ূ,৫,5" /> diff --git a/tests/src/com/android/inputmethod/keyboard/layout/Bengali.java b/tests/src/com/android/inputmethod/keyboard/layout/Bengali.java index 79c7d08cc..2101ddf33 100644 --- a/tests/src/com/android/inputmethod/keyboard/layout/Bengali.java +++ b/tests/src/com/android/inputmethod/keyboard/layout/Bengali.java @@ -72,20 +72,25 @@ public final class Bengali extends LayoutBase { private static final ExpectedKey[][] ALPHABET_COMMON = new ExpectedKeyboardBuilder() .setKeysOfRow(1, // U+0994: "ঔ" BENGALI LETTER AU + // U+09CC: "ৌ" BENGALI VOWEL SIGN AU // U+09E7: "১" BENGALI DIGIT ONE - key("\u0994", joinMoreKeys("\u09E7", "1")), + key("\u0994", joinMoreKeys("\u09CC", "\u09E7", "1")), // U+0990: "ঐ" BENGALI LETTER AI + // U+09C8: "ৈ" BENGALI VOWEL SIGN AI // U+09E8: "২" BENGALI DIGIT TWO - key("\u0990", joinMoreKeys("\u09E8", "2")), + key("\u0990", joinMoreKeys("\u09C8", "\u09E8", "2")), // U+0986: "আ" BENGALI LETTER AA + // U+09BE: "া" BENGALI VOWEL SIGN AA // U+09E9: "৩" BENGALI DIGIT THREE - key("\u0986", joinMoreKeys("\u09E9", "3")), + key("\u0986", joinMoreKeys("\u09BE", "\u09E9", "3")), // U+0988: "ঈ" BENGALI LETTER II + // U+09C0: "ী" BENGALI VOWEL SIGN II // U+09EA: "৪" BENGALI DIGIT FOUR - key("\u0988", joinMoreKeys("\u09EA", "4")), + key("\u0988", joinMoreKeys("\u09C0", "\u09EA", "4")), // U+098A: "ঊ" BENGALI LETTER UU + // U+09C2: "ূ" BENGALI VOWEL SIGN UU // U+09EB: "৫" BENGALI DIGIT FIVE - key("\u098A", joinMoreKeys("\u09EB", "5")), + key("\u098A", joinMoreKeys("\u09C2", "\u09EB", "5")), // U+09AC: "ব" BENGALI LETTER BA // U+09AD: "ভ" BENGALI LETTER BHA // U+09EC: "৬" BENGALI DIGIT SIX