aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-25 15:49:24 -0700
committerEric Laurent <elaurent@google.com>2012-04-26 18:37:10 -0700
commit7570954a1870a28d8322557dfbe36504328f3518 (patch)
tree4729373618dbeb8d3d3159e38e7c05c08e7940d8 /java
parent681b7bd8b58cb3aa856b004a2d7cada0725653ad (diff)
downloadlatinime-7570954a1870a28d8322557dfbe36504328f3518.tar.gz
latinime-7570954a1870a28d8322557dfbe36504328f3518.tar.xz
latinime-7570954a1870a28d8322557dfbe36504328f3518.zip
modifications for new system volume policy.
The new system and UX sound volume policy makes that STREAM_SYSTEM volume is not fixed anymore. It is tracking STREAM_RING (phones) or STREAM_MUSIC (tablets) in a constrained range between -24dB and -6dB. Sound Fx where previously played over STREAM_SYSTEM with a fixed attenuation of -20dB. The default value of 5% in the keypress sound volume setting was corresponding to -26dB, meaning 6dB below default. Modified the default volume value to 50% so that by default, keypress sound volume varies from -30dB to -12dB which is also 6dB below the other system sounds. Change-Id: I146f72275b8e88fdce5ccf8b6dae2903c27f15eb
Diffstat (limited to 'java')
-rw-r--r--java/res/values/keypress-volumes.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/res/values/keypress-volumes.xml b/java/res/values/keypress-volumes.xml
index 4d0e7a097..1bec6a32b 100644
--- a/java/res/values/keypress-volumes.xml
+++ b/java/res/values/keypress-volumes.xml
@@ -20,8 +20,8 @@
<resources>
<string-array name="keypress_volumes" translatable="false">
<!-- Build.HARDWARE,volume -->
- <item>herring,0.05</item>
- <item>tuna,0.05</item>
- <item>stingray,0.04</item>
+ <item>herring,0.5</item>
+ <item>tuna,0.5</item>
+ <item>stingray,0.4</item>
</string-array>
</resources>