Make keyboard vertical correction configurable

cherry-pick: I72c2448894a1084c582c2f1fb942b5fa8353f028

Before this change, the verticalCorrection value was defined by "dpi"
that is relative to device screen.  This change defines the
verticalCorrection by absolute unit "in".

Bug: 3066107
Change-Id: If71419dcfc18be3e5e87afea078fa15d3c31d908
main
Tadashi G. Takaoka 2010-10-08 14:21:12 +09:00
parent 4d3a4dc211
commit 4ee2a56f07
2 changed files with 6 additions and 2 deletions

View File

@ -30,5 +30,7 @@
<dimen name="mini_keyboard_slide_allowance">122.4dip</dimen>
<!-- -key_height x 1.0 -->
<dimen name="mini_keyboard_vertical_correction">-72dip</dimen>
<dimen name="keyboard_vertical_correction">0dip</dimen>
<!-- We use "inch", not "dip" because this value tries dealing with physical distance related
to user's finger. -->
<dimen name="keyboard_vertical_correction">0.0in</dimen>
</resources>

View File

@ -37,6 +37,8 @@
<!-- -key_height x 1.0 -->
<dimen name="mini_keyboard_vertical_correction">-54dip</dimen>
<dimen name="key_hysteresis_distance">0.05in</dimen>
<dimen name="keyboard_vertical_correction">-10dip</dimen>
<!-- We use "inch", not "dip" because this value tries dealing with physical distance related
to user's finger. -->
<dimen name="keyboard_vertical_correction">-0.06in</dimen>
<dimen name="candidate_min_touchable_width">0.3in</dimen>
</resources>