am 0e5b6384: Disable shadow of gesture trail (DO NOT MERGE)

* commit '0e5b6384f3f6daf9c05a25e60a900da4d24e3913':
  Disable shadow of gesture trail (DO NOT MERGE)
main
Tadashi G. Takaoka 2013-04-23 16:51:47 -07:00 committed by Android Git Automerger
commit e55ae3424a
2 changed files with 10 additions and 6 deletions

View File

@ -58,9 +58,11 @@
<bool name="config_sliding_key_input_enabled">true</bool> <bool name="config_sliding_key_input_enabled">true</bool>
<!-- Sliding key input preview parameters --> <!-- Sliding key input preview parameters -->
<dimen name="config_sliding_key_input_preview_width">8.0dp</dimen> <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. --> <!-- 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> A negative value of the shadow ratio disables drawing shadow. -->
<integer name="config_sliding_key_input_preview_shadow_ratio">50</integer> <!-- 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_start_timeout">400</integer>
<integer name="config_key_repeat_interval">50</integer> <integer name="config_key_repeat_interval">50</integer>
<integer name="config_default_longpress_key_timeout">300</integer> <!-- milliseconds --> <integer name="config_default_longpress_key_timeout">300</integer> <!-- milliseconds -->

View File

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