summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorlinus_lee <llee@cyngn.com>2014-11-19 17:52:53 -0800
committerlinus_lee <llee@cyngn.com>2014-12-08 15:19:02 -0800
commit8274981ad06f75f5c2ab15879083d9ee5f031554 (patch)
treec047db76e23e8aa260e76d8918653e8aa759f148 /res/values
parenta81b94d5f5cbdbad0a5d83b81021ab45ed66c109 (diff)
downloadandroid_packages_apps_Eleven-8274981ad06f75f5c2ab15879083d9ee5f031554.tar.gz
android_packages_apps_Eleven-8274981ad06f75f5c2ab15879083d9ee5f031554.tar.bz2
android_packages_apps_Eleven-8274981ad06f75f5c2ab15879083d9ee5f031554.zip
Eleven: Add equalizer visualization
Change-Id: I9a3112cf4138e916ed53571236e54b67c30b53c4
Diffstat (limited to 'res/values')
-rw-r--r--res/values/equalizer_config.xml35
-rw-r--r--res/values/strings.xml2
2 files changed, 37 insertions, 0 deletions
diff --git a/res/values/equalizer_config.xml b/res/values/equalizer_config.xml
new file mode 100644
index 0000000..baf5945
--- /dev/null
+++ b/res/values/equalizer_config.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012-2014 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <!-- Height of each filled in block in each eq bar -->
+ <dimen name="eqalizer_path_effect_1">8dp</dimen>
+ <!-- Height of each empty block in each eq bar -->
+ <dimen name="eqalizer_path_effect_2">1dp</dimen>
+ <!-- Width of each eq bar -->
+ <dimen name="eqalizer_path_stroke_width">20dp</dimen>
+
+ <!-- Color for the Equalizer tile -->
+ <color name="equalizer_fill_color">#32ffffff</color>
+
+ <!-- The amount of divisions to make for eq bars -->
+ <integer name="equalizer_divisions">16</integer>
+
+ <!-- fudge factors to tweak display for various configs
+ ends up being dB = (dB * fuzz_factor + db_fuzz) -->
+ <integer name="equalizer_db_fuzz_factor">0</integer>
+ <integer name="equalizer_db_fuzz">0</integer>
+</resources> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c6acc4f..fac4e9c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -136,6 +136,8 @@
<string name="settings_download_only_on_wifi_summary">To reduce carrier charges, don\'t download over mobile networks</string>
<string name="settings_download_missing_artwork_title">Download missing album art</string>
<string name="settings_download_artist_images_title">Download missing artist images</string>
+ <string name="settings_general_category">General</string>
+ <string name="settings_show_music_visualization_title">Show music visualization</string>
<!-- App widget -->
<string name="app_widget_small">Music: 4 \u00d7 1</string>