summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-03-04 16:01:24 -0800
committernicolasroard <nicolasroard@google.com>2013-03-04 16:01:24 -0800
commitec776b17fc04d329944eaea7bf82d6bb87750d03 (patch)
treed73aecca95fa6c05bf434d5ab2ceecf5d1b9d5c8 /src/com/android/gallery3d
parent5bb5fea402f0d584cacf237bfb7be53cf06e6489 (diff)
downloadandroid_packages_apps_Snap-ec776b17fc04d329944eaea7bf82d6bb87750d03.tar.gz
android_packages_apps_Snap-ec776b17fc04d329944eaea7bf82d6bb87750d03.tar.bz2
android_packages_apps_Snap-ec776b17fc04d329944eaea7bf82d6bb87750d03.zip
UI cleanup
Change-Id: Iaf138455651511e610b640a716820bd846284948
Diffstat (limited to 'src/com/android/gallery3d')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java2
-rw-r--r--src/com/android/gallery3d/filtershow/filters/FilterRedEyeRepresentation.java1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
index 8b8504bbc..dc59b0cfc 100644
--- a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
+++ b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
@@ -54,6 +54,8 @@ public class FilterDrawRepresentation extends FilterRepresentation {
setTextId(R.string.imageDraw);
setButtonId(R.id.drawOnImageButton);
setEditorId(EditorDraw.ID);
+ setOverlayId(R.drawable.filtershow_drawing);
+ setOverlayOnly(true);
}
@Override
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterRedEyeRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterRedEyeRepresentation.java
index fb396608a..3f823ea1e 100644
--- a/src/com/android/gallery3d/filtershow/filters/FilterRedEyeRepresentation.java
+++ b/src/com/android/gallery3d/filtershow/filters/FilterRedEyeRepresentation.java
@@ -30,6 +30,7 @@ public class FilterRedEyeRepresentation extends FilterPointRepresentation {
super("RedEye",R.string.redeye,EditorRedEye.ID);
setFilterClass(ImageFilterRedEye.class);
setOverlayId(R.drawable.photoeditor_effect_redeye);
+ setOverlayOnly(true);
}
public void addRect(RectF rect, RectF bounds) {