summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-07-19 17:11:31 -0700
committerJohn Hoford <hoford@google.com>2013-07-29 17:21:34 -0700
commite162b032fe387eabbd69d367dae6fe7003e850a1 (patch)
tree933642a8dc8869b007c90fa2ee46838c1a033872 /res/values
parentc62333b112403ef59a1c745e5ae705cfee752451 (diff)
downloadandroid_packages_apps_Gallery2-e162b032fe387eabbd69d367dae6fe7003e850a1.tar.gz
android_packages_apps_Gallery2-e162b032fe387eabbd69d367dae6fe7003e850a1.tar.bz2
android_packages_apps_Gallery2-e162b032fe387eabbd69d367dae6fe7003e850a1.zip
add Grad filter
Change-Id: I30fc0810c54f3daa31726188a4c3762df33953a7
Diffstat (limited to 'res/values')
-rw-r--r--res/values/filtershow_color.xml10
-rw-r--r--res/values/filtershow_ids.xml1
-rw-r--r--res/values/filtershow_strings.xml14
-rw-r--r--res/values/filtershow_values.xml7
4 files changed, 32 insertions, 0 deletions
diff --git a/res/values/filtershow_color.xml b/res/values/filtershow_color.xml
index 927bfa276..d7cf79d70 100644
--- a/res/values/filtershow_color.xml
+++ b/res/values/filtershow_color.xml
@@ -38,4 +38,14 @@
<color name="filtershow_categoryview_background">#1a1a1a</color>
<color name="filtershow_categoryview_text">#a7a7a7</color>
<color name="filtershow_category_selection">#ffffffff</color>
+ <color name="gradcontrol_point_center">#ffffffff</color>
+ <color name="gradcontrol_point_edge">#ffffffff</color>
+ <color name="gradcontrol_graypoint_center">#888888</color>
+ <color name="gradcontrol_graypoint_edge">#BBBBBB</color>
+ <color name="gradcontrol_point_shadow_start">#66000000</color>
+ <color name="gradcontrol_point_shadow_end">#00000000</color>
+ <color name="gradcontrol_line_color">#FFFFFF</color>
+ <color name="gradcontrol_line_shadow">#000000</color>
+
+
</resources> \ No newline at end of file
diff --git a/res/values/filtershow_ids.xml b/res/values/filtershow_ids.xml
index 8ac294136..e57a0d559 100644
--- a/res/values/filtershow_ids.xml
+++ b/res/values/filtershow_ids.xml
@@ -47,4 +47,5 @@
<item type="id" name="editorRotate" />
<item type="id" name="editorStraighten" />
<item type="id" name="editorParametric" />
+ <item type="id" name="editorGrad" />
</resources>
diff --git a/res/values/filtershow_strings.xml b/res/values/filtershow_strings.xml
index 503ebbb34..a5c3dc8c4 100644
--- a/res/values/filtershow_strings.xml
+++ b/res/values/filtershow_strings.xml
@@ -160,6 +160,20 @@
<string name="kmeans">Warhol</string>
<!-- Label for the image downsampling effect (makes image smaller) [CHAR LIMIT=15] -->
<string name="downsample">Downsample</string>
+ <!-- Label for the image graduated filter effect [CHAR LIMIT=15] -->
+ <string name="grad">Graduated</string>
+ <!-- Label for the Brightness effect [CHAR LIMIT=20] -->
+ <string name="editor_grad_brightness">Brightness</string>
+ <!-- Label for the Contrast filter effect [CHAR LIMIT=20] -->
+ <string name="editor_grad_contrast">Contrast</string>
+ <!-- Label for the saturation effect [CHAR LIMIT=20] -->
+ <string name="editor_grad_saturation">Saturation</string>
+
+ <!-- Label for the image graduated filter effect [CHAR LIMIT=20] -->
+ <string name="editor_grad_style">Style</string>
+ <!-- Label for the image new grad layer [CHAR LIMIT=20] -->
+ <string name="editor_grad_new">new</string>
+
<!-- Labels for the curves tool -->
diff --git a/res/values/filtershow_values.xml b/res/values/filtershow_values.xml
index ac81e6a26..bd1f8904e 100644
--- a/res/values/filtershow_values.xml
+++ b/res/values/filtershow_values.xml
@@ -33,4 +33,11 @@
<!-- Category Panel Text Size -->
<dimen name="category_panel_margin">4dip</dimen>
+ <!-- Grad filter dot size -->
+ <dimen name="gradcontrol_dot_size">20dip</dimen>
+
+ <!-- Grad filter minimum touch distance -->
+ <dimen name="gradcontrol_min_touch_dist">40dip</dimen>
+
+
</resources> \ No newline at end of file