From ff483e8d0c30864a469481f20a26ffb54a75d458 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Thu, 12 May 2011 14:49:18 +0900 Subject: [PATCH] Add minKeyboardHeight attribute to Keyboard layout Bug: 4411676 Change-Id: I1f56ba58bacb90790f82326718bf9de95dba5d28 --- java/res/values-land/dimens.xml | 1 + java/res/values/attrs.xml | 3 +++ java/res/values/dimens.xml | 9 ++++++--- java/res/xml-ar/kbd_qwerty.xml | 3 ++- java/res/xml-cs/kbd_qwerty.xml | 3 ++- java/res/xml-da/kbd_qwerty.xml | 3 ++- java/res/xml-de/kbd_qwerty.xml | 3 ++- java/res/xml-fi/kbd_qwerty.xml | 3 ++- java/res/xml-fr-rCA/kbd_qwerty.xml | 3 ++- java/res/xml-fr-rCH/kbd_qwerty.xml | 3 ++- java/res/xml-fr/kbd_qwerty.xml | 3 ++- java/res/xml-hu/kbd_qwerty.xml | 3 ++- java/res/xml-iw/kbd_qwerty.xml | 3 ++- java/res/xml-nb/kbd_qwerty.xml | 3 ++- java/res/xml-ru/kbd_qwerty.xml | 3 ++- java/res/xml-sr/kbd_qwerty.xml | 3 ++- java/res/xml-sv/kbd_qwerty.xml | 3 ++- java/res/xml-xlarge/kbd_number.xml | 3 ++- java/res/xml-xlarge/kbd_phone.xml | 3 ++- java/res/xml-xlarge/kbd_phone_symbols.xml | 3 ++- java/res/xml-xlarge/kbd_symbols.xml | 3 ++- java/res/xml-xlarge/kbd_symbols_shift.xml | 3 ++- java/res/xml/kbd_number.xml | 3 ++- java/res/xml/kbd_phone.xml | 3 ++- java/res/xml/kbd_phone_symbols.xml | 3 ++- java/res/xml/kbd_qwerty.xml | 3 ++- java/res/xml/kbd_symbols.xml | 3 ++- java/res/xml/kbd_symbols_shift.xml | 3 ++- .../com/android/inputmethod/keyboard/Key.java | 4 ++-- .../inputmethod/keyboard/KeyboardParser.java | 17 ++++++++++++++--- .../inputmethod/keyboard/KeyboardView.java | 2 +- .../keyboard/MiniKeyboardBuilder.java | 10 ++++++---- 32 files changed, 83 insertions(+), 38 deletions(-) diff --git a/java/res/values-land/dimens.xml b/java/res/values-land/dimens.xml index c46a51711..496da3de1 100644 --- a/java/res/values-land/dimens.xml +++ b/java/res/values-land/dimens.xml @@ -21,6 +21,7 @@ 1.100in + 45%p 0.020in diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index e88b007a9..7f2a400df 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -80,6 +80,9 @@ + + 1.285in + 50%p + -61.8%p 0.035in @@ -41,10 +43,11 @@ to user's finger. --> -0.05in - 0.13in - 0.083in + + 21dip + 13dip - 0.13in + 21dip 80sp 0.000in 36sp diff --git a/java/res/xml-ar/kbd_qwerty.xml b/java/res/xml-ar/kbd_qwerty.xml index 5faf60336..93310bf9c 100644 --- a/java/res/xml-ar/kbd_qwerty.xml +++ b/java/res/xml-ar/kbd_qwerty.xml @@ -21,7 +21,8 @@