summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-01-19 16:22:56 -0800
committerDanesh M <daneshm90@gmail.com>2015-12-09 10:42:51 -0800
commit3187e88f31c8bd5a4cf2b2b45f9cda5a77dc88d8 (patch)
tree1985083793a370dccb57a2ee8c20647f4f951690 /packages/SystemUI/res/values
parent6be220df8c0368c58b9ac2a01254844263bac925 (diff)
downloadframeworks_base-3187e88f31c8bd5a4cf2b2b45f9cda5a77dc88d8.zip
frameworks_base-3187e88f31c8bd5a4cf2b2b45f9cda5a77dc88d8.tar.gz
frameworks_base-3187e88f31c8bd5a4cf2b2b45f9cda5a77dc88d8.tar.bz2
SystemUI: port compass tile to cm-13.0
Change-Id: I4cce9c849a702947c0cf00e3e1293f89c985b9e9
Diffstat (limited to 'packages/SystemUI/res/values')
-rw-r--r--packages/SystemUI/res/values/cm_arrays.xml12
-rw-r--r--packages/SystemUI/res/values/cm_strings.xml4
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/cm_arrays.xml b/packages/SystemUI/res/values/cm_arrays.xml
index a9e3654..cabf612 100644
--- a/packages/SystemUI/res/values/cm_arrays.xml
+++ b/packages/SystemUI/res/values/cm_arrays.xml
@@ -24,4 +24,16 @@
<item>369</item><item>157</item>
<item>369</item><item>0</item>
</array>
+
+ <!-- Cardinal directions for the compass tile -->
+ <string-array name="cardinal_directions">
+ <item>N</item> <!-- North -->
+ <item>NE</item> <!-- North east -->
+ <item>E</item> <!-- East -->
+ <item>SE</item> <!-- South east -->
+ <item>S</item> <!-- South -->
+ <item>SW</item> <!-- South west -->
+ <item>W</item> <!-- West -->
+ <item>NW</item> <!-- North west -->
+ </string-array>
</resources>
diff --git a/packages/SystemUI/res/values/cm_strings.xml b/packages/SystemUI/res/values/cm_strings.xml
index 69c8ee0..964b217 100644
--- a/packages/SystemUI/res/values/cm_strings.xml
+++ b/packages/SystemUI/res/values/cm_strings.xml
@@ -68,6 +68,9 @@
<!-- Content description of the light brightness slider (not shown on the screen). [CHAR LIMIT=NONE] -->
<string name="accessibility_notification_brightness">Light brightness</string>
+ <string name="quick_settings_compass_value" translatable="false"><xliff:g id="degrees">%1$.0f</xliff:g>\u00b0 <xliff:g id="direction">%2$s</xliff:g></string>
+ <string name="quick_settings_compass_off">Compass off</string>
+ <string name="quick_settings_compass_init">Initializing\u2026</string>
<!-- Lights settings, LED notification -->
<string name="led_notification_title">Light settings</string>
@@ -91,4 +94,5 @@
<string name="quick_settings_network_adb_enabled_label">Enabled</string>
<string name="quick_settings_network_adb_disabled_label">Disabled</string>
<string name="qs_tile_adb_over_network">ADB over network</string>
+ <string name="qs_tile_compass">Compass</string>
</resources>