summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/drawable/activities_icon.pngbin0 -> 2938 bytes
-rw-r--r--res/drawable/ic_settings_voice_wakeup.xml11
-rw-r--r--res/values/cm_strings.xml11
-rw-r--r--res/xml/language_settings.xml6
-rw-r--r--res/xml/voice_wakeup_settings.xml28
5 files changed, 56 insertions, 0 deletions
diff --git a/res/drawable/activities_icon.png b/res/drawable/activities_icon.png
new file mode 100644
index 0000000..abd62e2
--- /dev/null
+++ b/res/drawable/activities_icon.png
Binary files differ
diff --git a/res/drawable/ic_settings_voice_wakeup.xml b/res/drawable/ic_settings_voice_wakeup.xml
new file mode 100644
index 0000000..2eda2cf
--- /dev/null
+++ b/res/drawable/ic_settings_voice_wakeup.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+ <path
+ android:fillColor="#009688"
+ android:pathData="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z" />
+</vector>
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 129c737..bb642e4 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -709,4 +709,15 @@
<!-- Show/Hide Search Bar -->
<string name="recents_show_searchbar">Show search bar in recents menu</string>
<string name="keywords_recents_show_searchbar">recent recents disable enable show hide search bar searchbar</string>
+
+ <!-- Voice Wakeup -->
+ <string name="voice_wakeup_settings_title">Voice wakeup</string>
+ <string name="voice_wakeup_retrain_title">Retrain your voice</string>
+ <string name="voice_wakeup_activity_title">Activity to launch</string>
+ <string name="voice_wakeup_default_activity">Google Now</string>
+
+ <string name="picker_activities">Activities</string>
+ <string name="select_custom_app_title">Select custom app</string>
+ <string name="select_custom_activity_title">Select custom activity</string>
+
</resources>
diff --git a/res/xml/language_settings.xml b/res/xml/language_settings.xml
index b682c45..2b35f2b 100644
--- a/res/xml/language_settings.xml
+++ b/res/xml/language_settings.xml
@@ -98,6 +98,12 @@
android:title="@string/voice_category" >
<PreferenceScreen
+ android:key="voice_wakeup"
+ android:title="@string/voice_wakeup_settings_title"
+ android:fragment="com.android.settings.voicewakeup.VoiceWakeupSettings"
+ />
+
+ <PreferenceScreen
android:key="tts_settings"
android:title="@string/tts_settings_title"
android:fragment="com.android.settings.tts.TextToSpeechSettings"
diff --git a/res/xml/voice_wakeup_settings.xml b/res/xml/voice_wakeup_settings.xml
new file mode 100644
index 0000000..b612bb7
--- /dev/null
+++ b/res/xml/voice_wakeup_settings.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 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.
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:title="@string/voice_wakeup_settings_title">
+ <Preference
+ android:key="retrain"
+ android:title="@string/voice_wakeup_retrain_title"
+ android:persistent="false" />
+ <Preference
+ android:key="voice_wakeup_launch_intent"
+ android:title="@string/voice_wakeup_activity_title"
+ android:persistent="false" />
+ </PreferenceScreen>