summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2015-12-10 18:10:18 -0800
committerDanesh M <daneshm90@gmail.com>2015-12-10 18:10:18 -0800
commit699d345030efb8b8d081ea68e000edc19c1a4860 (patch)
tree91f9d5832e06946711a50128ac97ccf4c88eae20 /packages/SystemUI/res/values
parentd37c80a8844445ed6ae4952af2c8fa893c4dc5b6 (diff)
downloadframeworks_base-699d345030efb8b8d081ea68e000edc19c1a4860.zip
frameworks_base-699d345030efb8b8d081ea68e000edc19c1a4860.tar.gz
frameworks_base-699d345030efb8b8d081ea68e000edc19c1a4860.tar.bz2
SystemUI : port performance profile toggle
Change-Id: Ife1e7c62d36cddf1dcd17d5538d0e6c8ea27bee3
Diffstat (limited to 'packages/SystemUI/res/values')
-rw-r--r--packages/SystemUI/res/values/cm_arrays.xml18
-rw-r--r--packages/SystemUI/res/values/cm_strings.xml24
2 files changed, 42 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/cm_arrays.xml b/packages/SystemUI/res/values/cm_arrays.xml
index cabf612..9bd31f0 100644
--- a/packages/SystemUI/res/values/cm_arrays.xml
+++ b/packages/SystemUI/res/values/cm_arrays.xml
@@ -36,4 +36,22 @@
<item>W</item> <!-- West -->
<item>NW</item> <!-- North west -->
</string-array>
+
+ <!-- Performance profiles description-->
+ <string-array name="perf_profile_description" translatable="false">
+ <item>@string/accessibility_quick_settings_perf_profile_pwrsv</item>
+ <item>@string/accessibility_quick_settings_perf_profile_bias_power</item>
+ <item>@string/accessibility_quick_settings_perf_profile_bal</item>
+ <item>@string/accessibility_quick_settings_perf_profile_bias_perf</item>
+ <item>@string/accessibility_quick_settings_perf_profile_perf</item>
+ </string-array>
+
+ <!-- Performance profiles announcement-->
+ <string-array name="perf_profile_announcement" translatable="false">
+ <item>@string/accessibility_quick_settings_perf_profile_changed_pwrsv</item>
+ <item>@string/accessibility_quick_settings_perf_profile_changed_bias_power</item>
+ <item>@string/accessibility_quick_settings_perf_profile_changed_bal</item>
+ <item>@string/accessibility_quick_settings_perf_profile_changed_bias_perf</item>
+ <item>@string/accessibility_quick_settings_perf_profile_changed_perf</item>
+ </string-array>
</resources>
diff --git a/packages/SystemUI/res/values/cm_strings.xml b/packages/SystemUI/res/values/cm_strings.xml
index af767a7..03b9a47 100644
--- a/packages/SystemUI/res/values/cm_strings.xml
+++ b/packages/SystemUI/res/values/cm_strings.xml
@@ -129,4 +129,28 @@
<!-- Announcement made when the screen timeout tile changes (not shown on the screen). [CHAR LIMIT=NONE] -->
<string name="accessibility_quick_settings_screen_timeout_changed">Screen timeout changed to <xliff:g id="timeout" example="30 seconds">%s</xliff:g>.</string>
+ <string name="qs_tile_performance">Battery mode</string>
+
+ <!-- Content description of the battery mode tile in quick settings when on, power save mode (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_pwrsv">Battery mode: power save mode.</string>
+ <!-- Content description of the battery mode tile in quick settings when on, balanced mode (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_bal">Battery mode: balanced mode.</string>
+ <!-- Content description of the battery mode tile in quick settings when on, performance mode (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_perf">Battery mode: performance mode.</string>
+ <!-- Content description of the battery mode tile in quick settings when on, efficiency mode (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_bias_power">Battery mode: efficiency mode.</string>
+ <!-- Content description of the battery mode tile in quick settings when on, quick mode (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_bias_perf">Battery mode: quick mode.</string>
+
+ <!-- Announcement made when the battery mode tile changes to power save (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_changed_pwrsv">Battery mode changed to power save mode.</string>
+ <!-- Announcement made when the battery mode tile changes to balanced (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_changed_bal">Battery mode changed to balanced mode.</string>
+ <!-- Announcement made when the battery mode tile changes to performance (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_changed_perf">Battery mode changed to performance mode.</string>
+ <!-- Announcement made when the battery mode tile changes to efficiency (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_changed_bias_power">Battery mode changed to efficiency mode.</string>
+ <!-- Announcement made when the battery mode tile changes to quick (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_quick_settings_perf_profile_changed_bias_perf">Battery mode changed to quick mode.</string>
+ <string name="quick_settings_performance_profile_detail_title">Battery mode</string>
</resources>