Disable shadow of gesture trail

Cherry-picked from JB-MR2 I908c22d362.

Bug: 8689880
Change-Id: Ie759c5d63056509e3ca61d9fb6823ab04ddf41ed
main
Tadashi G. Takaoka 2013-04-23 11:40:25 +09:00
parent 480284e28a
commit 2deb898582
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>