summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2013-04-16 16:17:45 -0700
committerRuben Brunk <rubenbrunk@google.com>2013-04-18 11:02:57 -0700
commit6f4e0db3406c54feb479bb828fdb054333d1af27 (patch)
treeece8e70e29a1cad4ce189611fb4e5c13b72b41cd /res/values
parent50bf28f991b75ab783c4ad8f6e4f0dd546b43d7a (diff)
downloadandroid_packages_apps_Snap-6f4e0db3406c54feb479bb828fdb054333d1af27.tar.gz
android_packages_apps_Snap-6f4e0db3406c54feb479bb828fdb054333d1af27.tar.bz2
android_packages_apps_Snap-6f4e0db3406c54feb479bb828fdb054333d1af27.zip
Gallery crop uses new activity. Fixed image quality.
Bug: 8639287 Bug: 8617799 Bug: 8600483 Bug: 8586301 Bug: 8526929 Bug: 8181859 Bug: 7561681 Change-Id: Ib275b970931dd324e93d1629be75e5309c9dcb4e
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>