summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2013-04-18 11:40:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-04-18 11:40:28 -0700
commit00fc7327064900630c85e649888a82dfdd7e985e (patch)
tree615a874a19aac9b28b8259eff1de543c70d16d77 /res/values
parenta04a0a11212505dc9f364702c1bf63dabb6cef92 (diff)
parent6f4e0db3406c54feb479bb828fdb054333d1af27 (diff)
downloadandroid_packages_apps_Snap-00fc7327064900630c85e649888a82dfdd7e985e.tar.gz
android_packages_apps_Snap-00fc7327064900630c85e649888a82dfdd7e985e.tar.bz2
android_packages_apps_Snap-00fc7327064900630c85e649888a82dfdd7e985e.zip
am c3178ca4: Gallery crop uses new activity. Fixed image quality.
* commit 'c3178ca4daf7ed570f3432f3433959c208ecc105': Gallery crop uses new activity. Fixed image quality.
Diffstat (limited to 'res/values')
-rw-r--r--res/values/crop_colors.xml18
-rw-r--r--res/values/crop_dimens.xml21
2 files changed, 39 insertions, 0 deletions
diff --git a/res/values/crop_colors.xml b/res/values/crop_colors.xml
new file mode 100644
index 000000000..37582eff3
--- /dev/null
+++ b/res/values/crop_colors.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <color name="crop_shadow_color">#CF000000</color>
+</resources>
diff --git a/res/values/crop_dimens.xml b/res/values/crop_dimens.xml
new file mode 100644
index 000000000..a79c2c906
--- /dev/null
+++ b/res/values/crop_dimens.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <dimen name="preview_margin">2dp</dimen>
+ <dimen name="shadow_margin">5dp</dimen>
+ <dimen name="crop_min_side">45dp</dimen>
+ <dimen name="crop_touch_tolerance">20dp</dimen>
+</resources>