Update Bengali keyboard to add a few vowel signs

Bug: 10028755
Change-Id: Ia0b8624470c5b0667a3d7267d3cf8d4c937b0b0c
This commit is contained in:
Tadashi G. Takaoka 2014-07-08 18:20:40 +09:00
parent 9cb19b1bca
commit af2e0a5697
2 changed files with 20 additions and 10 deletions

View File

@ -20,35 +20,40 @@
<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
<!-- U+0994: "ঔ" BENGALI LETTER AU
U+09CC: "ৌ" BENGALI VOWEL SIGN AU
U+09E7: "১" BENGALI DIGIT ONE -->
<Key
latin:keySpec="&#x0994;"
latin:keyHintLabel="&#x09E7;"
latin:additionalMoreKeys="&#x09E7;,1" />
latin:additionalMoreKeys="&#x09CC;,&#x09E7;,1" />
<!-- U+0990: "ঐ" BENGALI LETTER AI
U+09C8: "ৈ" BENGALI VOWEL SIGN AI
U+09E8: "২" BENGALI DIGIT TWO -->
<Key
latin:keySpec="&#x0990;"
latin:keyHintLabel="&#x09E8;"
latin:additionalMoreKeys="&#x09E8;,2" />
latin:additionalMoreKeys="&#x09C8;,&#x09E8;,2" />
<!-- U+0986: "আ" BENGALI LETTER AA
U+09BE: "া" BENGALI VOWEL SIGN AA
U+09E9: "৩" BENGALI DIGIT THREE -->
<Key
latin:keySpec="&#x0986;"
latin:keyHintLabel="&#x09E9;"
latin:additionalMoreKeys="&#x09E9;,3" />
latin:additionalMoreKeys="&#x09BE;,&#x09E9;,3" />
<!-- U+0988: "ঈ" BENGALI LETTER II
U+09C0: "ী" BENGALI VOWEL SIGN II
U+09EA: "" BENGALI DIGIT FOUR -->
<Key
latin:keySpec="&#x0988;"
latin:keyHintLabel="&#x09EA;"
latin:additionalMoreKeys="&#x09EA;,4" />
latin:additionalMoreKeys="&#x09C0;,&#x09EA;,4" />
<!-- U+098A: "ঊ" BENGALI LETTER UU
U+09C2: "ূ" BENGALI VOWEL SIGN UU
U+09EB: "৫" BENGALI DIGIT FIVE -->
<Key
latin:keySpec="&#x098A;"
latin:keyHintLabel="&#x09EB;"
latin:additionalMoreKeys="&#x09EB;,5" />
latin:additionalMoreKeys="&#x09C2;,&#x09EB;,5" />
<!-- U+09AC: "ব" BENGALI LETTER BA
U+09AD: "ভ" BENGALI LETTER BHA
U+09EC: "৬" BENGALI DIGIT SIX -->

View File

@ -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