summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-08-28 17:46:13 +0800
committerWu-cheng Li <wuchengli@google.com>2011-08-28 18:05:51 +0800
commit71e76dcebdbb3e5768fc948bed9c529a5787294e (patch)
tree59843d1d69d549faa6a630e2ecfb079095b3ab5f /res/values
parent5f47cc1a9ce83a5656751df5705674a1711687d1 (diff)
downloadLegacyCamera-71e76dcebdbb3e5768fc948bed9c529a5787294e.zip
LegacyCamera-71e76dcebdbb3e5768fc948bed9c529a5787294e.tar.gz
LegacyCamera-71e76dcebdbb3e5768fc948bed9c529a5787294e.tar.bz2
Add goofy face effect setting UI.
The functionality is not working yet. bug:5226051 Change-Id: Icb684d9320688f90ea0856b97424f9bfb6c47f39
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml20
-rw-r--r--res/values/strings.xml21
2 files changed, 41 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 2cd0edd..753b629 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -240,4 +240,24 @@
<item>@drawable/ic_viewfinder_camera_facing_back</item>
<item>@drawable/ic_viewfinder_camera_facing_front</item>
</array>
+
+ <string-array name="pref_video_effect_entries" translatable="false">
+ <item>@string/effect_none</item>
+ <item>@string/effect_goofy_face_squeeze</item>
+ <item>@string/effect_goofy_face_big_eyes</item>
+ <item>@string/effect_goofy_face_big_mouth</item>
+ <item>@string/effect_goofy_face_small_mouth</item>
+ <item>@string/effect_goofy_face_big_nose</item>
+ <item>@string/effect_goofy_face_small_eyes</item>
+ </string-array>
+
+ <string-array name="pref_video_effect_entryvalues" translatable="false">
+ <item>-1</item>
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ <item>3</item>
+ <item>4</item>
+ <item>5</item>
+ </string-array>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 94fce1d..159d86d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -282,4 +282,25 @@
<!-- Toast telling users tapping on the viewfinder will trigger autofocus [CHAR LIMIT=28] -->
<string name="tap_to_focus">Tap to focus</string>
+
+ <!-- Default effect setting that clears the effect. -->
+ <string name="pref_video_effect_default" translatable="false">-1</string>
+
+ <!-- Title of video effect setting popup window -->
+ <string name="pref_video_effect_title">Effects</string>
+
+ <!-- Effect setting item that clear the effect. [CHAR LIMIT=14] -->
+ <string name="effect_none">None</string>
+ <!-- Effect setting item that squeezes the face. [CHAR LIMIT=14] -->
+ <string name="effect_goofy_face_squeeze">Squeeze</string>
+ <!-- Effect setting item that makes eyes big. [CHAR LIMIT=14] -->
+ <string name="effect_goofy_face_big_eyes">Big Eyes</string>
+ <!-- Effect setting item that makes mouth big. [CHAR LIMIT=14] -->
+ <string name="effect_goofy_face_big_mouth">Big Mouth</string>
+ <!-- Effect setting item that makes mouth small. [CHAR LIMIT=14] -->
+ <string name="effect_goofy_face_small_mouth">Small Mouth</string>
+ <!-- Effect setting item that makes nose big. [CHAR LIMIT=14] -->
+ <string name="effect_goofy_face_big_nose">Big Nose</string>
+ <!-- Effect setting item that makes eyes small. [CHAR LIMIT=14] -->
+ <string name="effect_goofy_face_small_eyes">Small Eyes</string>
</resources>