diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_effects_holo_light.png | bin | 0 -> 979 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_effects_holo_light.png | bin | 0 -> 803 bytes | |||
-rw-r--r-- | res/drawable-w1024dp-hdpi/ic_effects_holo_light.png | bin | 0 -> 1167 bytes | |||
-rw-r--r-- | res/drawable-w1024dp-mdpi/ic_effects_holo_light.png | bin | 0 -> 957 bytes | |||
-rw-r--r-- | res/drawable-w1024dp-xhdpi/ic_effects_holo_light.png | bin | 0 -> 1453 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_effects_holo_light.png | bin | 0 -> 1131 bytes | |||
-rw-r--r-- | res/values/arrays.xml | 20 | ||||
-rw-r--r-- | res/values/strings.xml | 21 | ||||
-rw-r--r-- | res/xml/video_preferences.xml | 7 |
9 files changed, 48 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_effects_holo_light.png b/res/drawable-hdpi/ic_effects_holo_light.png Binary files differnew file mode 100644 index 0000000..03106eb --- /dev/null +++ b/res/drawable-hdpi/ic_effects_holo_light.png diff --git a/res/drawable-mdpi/ic_effects_holo_light.png b/res/drawable-mdpi/ic_effects_holo_light.png Binary files differnew file mode 100644 index 0000000..f15daaa --- /dev/null +++ b/res/drawable-mdpi/ic_effects_holo_light.png diff --git a/res/drawable-w1024dp-hdpi/ic_effects_holo_light.png b/res/drawable-w1024dp-hdpi/ic_effects_holo_light.png Binary files differnew file mode 100644 index 0000000..aa46d68 --- /dev/null +++ b/res/drawable-w1024dp-hdpi/ic_effects_holo_light.png diff --git a/res/drawable-w1024dp-mdpi/ic_effects_holo_light.png b/res/drawable-w1024dp-mdpi/ic_effects_holo_light.png Binary files differnew file mode 100644 index 0000000..ed09cc9 --- /dev/null +++ b/res/drawable-w1024dp-mdpi/ic_effects_holo_light.png diff --git a/res/drawable-w1024dp-xhdpi/ic_effects_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_effects_holo_light.png Binary files differnew file mode 100644 index 0000000..020cdf8 --- /dev/null +++ b/res/drawable-w1024dp-xhdpi/ic_effects_holo_light.png diff --git a/res/drawable-xhdpi/ic_effects_holo_light.png b/res/drawable-xhdpi/ic_effects_holo_light.png Binary files differnew file mode 100644 index 0000000..5756fb7 --- /dev/null +++ b/res/drawable-xhdpi/ic_effects_holo_light.png 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> diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml index c28bfcb..031e416 100644 --- a/res/xml/video_preferences.xml +++ b/res/xml/video_preferences.xml @@ -55,5 +55,12 @@ camera:icons="@array/camera_id_icons" camera:entries="@array/camera_id_entries" camera:largeIcons="@array/camera_id_largeicons"/> + <IconListPreference + camera:key="pref_video_effect_key" + camera:defaultValue="@string/pref_video_effect_default" + camera:title="@string/pref_video_effect_title" + camera:singleIcon="@drawable/ic_effects_holo_light" + camera:entries="@array/pref_video_effect_entries" + camera:entryValues="@array/pref_video_effect_entryvalues" /> </PreferenceGroup> </PreferenceGroup> |