Merge "Disable shadow of gesture trail"

main
Tadashi G. Takaoka 2013-04-23 08:21:52 +00:00 committed by Android (Google) Code Review
commit 586578b730
2 changed files with 10 additions and 6 deletions

View File

@ -58,9 +58,11 @@
<bool name="config_sliding_key_input_enabled">true</bool>
<!-- Sliding key input preview parameters -->
<dimen name="config_sliding_key_input_preview_width">8.0dp</dimen>
<!-- Percentages of sliding key input preview body and shadow, in proportion to the width. -->
<integer name="config_sliding_key_input_preview_body_ratio">80</integer>
<integer name="config_sliding_key_input_preview_shadow_ratio">50</integer>
<!-- Percentages of sliding key input preview body and shadow, in proportion to the width.
A negative value of the shadow ratio disables drawing shadow. -->
<!-- TODO: May use the shadow to alleviate rugged trail drawing. -->
<integer name="config_sliding_key_input_preview_body_ratio">100</integer>
<integer name="config_sliding_key_input_preview_shadow_ratio">-1</integer>
<integer name="config_key_repeat_start_timeout">400</integer>
<integer name="config_key_repeat_interval">50</integer>
<integer name="config_default_longpress_key_timeout">300</integer> <!-- milliseconds -->

View File

@ -103,9 +103,11 @@
<!-- Gesture preview trail parameters -->
<dimen name="gesture_preview_trail_start_width">10.0dp</dimen>
<dimen name="gesture_preview_trail_end_width">2.5dp</dimen>
<!-- Percentages of gesture preview taril body and shadow, in proportion to the trail width. -->
<integer name="gesture_preview_trail_body_ratio">80</integer>
<integer name="gesture_preview_trail_shadow_ratio">50</integer>
<!-- Percentages of gesture preview taril body and shadow, in proportion to the trail width.
A negative value of the shadow ratio disables drawing shadow. -->
<!-- TODO: May use the shadow to alleviate rugged trail drawing. -->
<integer name="gesture_preview_trail_body_ratio">100</integer>
<integer name="gesture_preview_trail_shadow_ratio">-1</integer>
<!-- Gesture floating preview text parameters -->
<dimen name="gesture_floating_preview_text_size">24dp</dimen>
<dimen name="gesture_floating_preview_text_offset">73dp</dimen>