summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-02-11 09:55:33 -0800
committernicolasroard <nicolasroard@google.com>2013-02-11 13:49:11 -0800
commit6900cad45d240c9a54b92991538b6a33652e766c (patch)
tree1eabeedd80a3fd05c4ea607377ea277c4ce249a2 /src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java
parentcef6ad5d4a60a6e2960f7f72de624d5e60b3908a (diff)
downloadandroid_packages_apps_Gallery2-6900cad45d240c9a54b92991538b6a33652e766c.tar.gz
android_packages_apps_Gallery2-6900cad45d240c9a54b92991538b6a33652e766c.tar.bz2
android_packages_apps_Gallery2-6900cad45d240c9a54b92991538b6a33652e766c.zip
Cleaning filters
Change-Id: I413b935f90cebdab37d3db73d7fcb0fe77a64579
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java
index 1234767c4..fa3fe720b 100644
--- a/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java
+++ b/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java
@@ -17,7 +17,7 @@
package com.android.gallery3d.filtershow.filters;
import android.graphics.Bitmap;
-import com.android.gallery3d.app.Log;
+import com.android.gallery3d.filtershow.editors.ImageOnlyEditor;
public class FilterFxRepresentation extends FilterRepresentation {
private Bitmap mFxBitmap = null;
@@ -32,6 +32,11 @@ public class FilterFxRepresentation extends FilterRepresentation {
mNameResource = nameResource;
setFilterClass(ImageFilterFx.class);
setFilterType(FilterRepresentation.TYPE_FX);
+ setTextId(nameResource);
+ setEditorId(ImageOnlyEditor.ID);
+ setShowEditingControls(false);
+ setShowParameterValue(false);
+ setShowUtilityPanel(false);
}
public String toString() {