From a987f6d0cc6c26fd4994f8f87b18cdfbb8b334cd Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 26 Sep 2014 20:34:06 +0900 Subject: [PATCH] Use Devanagari Danda letter as full stop on Hindi keyboard Bug: 17418371 Change-Id: I22bb2913015a83604301576e68095974c38b7c9a --- java/res/xml-sw600dp/key_period.xml | 11 - java/res/xml/key_period.xml | 11 - .../keyboard/internal/KeyboardTextsTable.java | 230 +++++++++--------- .../inputmethod/keyboard/layout/Hindi.java | 47 ---- .../keyboard/layout/HindiCompact.java | 23 +- .../inputmethod/keyboard/layout/Marathi.java | 4 +- .../keyboard/layout/NepaliRomanized.java | 4 +- .../layout/tests/DevanagariCustomizer.java | 70 ++++++ .../layout/tests/HindiCustomizer.java | 47 ++++ .../keyboard/layout/tests/TestsHindi.java | 1 - .../values-hi/donottranslate-more-keys.xml | 5 + 11 files changed, 247 insertions(+), 206 deletions(-) create mode 100644 tests/src/com/android/inputmethod/keyboard/layout/tests/DevanagariCustomizer.java create mode 100644 tests/src/com/android/inputmethod/keyboard/layout/tests/HindiCustomizer.java diff --git a/java/res/xml-sw600dp/key_period.xml b/java/res/xml-sw600dp/key_period.xml index df1daf792..3045cbc63 100644 --- a/java/res/xml-sw600dp/key_period.xml +++ b/java/res/xml-sw600dp/key_period.xml @@ -24,17 +24,6 @@ - - - - diff --git a/java/res/xml/key_period.xml b/java/res/xml/key_period.xml index fc27c0235..10325ef1a 100644 --- a/java/res/xml/key_period.xml +++ b/java/res/xml/key_period.xml @@ -22,17 +22,6 @@ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" > - - - - 0 + + + + "!autoColumnOrder!9,\\,,.,?,!,#,),(,/,;,',@,:,-,\",+,\\%,&" + "!autoColumnOrder!8,\\,,.,',#,),(,/,;,@,:,-,\",+,\\%,&"