summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/GLView.java
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-06-07 20:09:13 +0800
committerChih-Chung Chang <chihchung@google.com>2012-06-18 17:59:58 +0800
commit6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25 (patch)
tree78e1fc1d4ffb3acb2cd9bead495cc56451c822e9 /src/com/android/gallery3d/ui/GLView.java
parent6dd670997a88fe7502f9ce0e4f9c872b7352027f (diff)
downloadandroid_packages_apps_Gallery2-6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25.tar.gz
android_packages_apps_Gallery2-6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25.tar.bz2
android_packages_apps_Gallery2-6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25.zip
Add swipe-to-delete gesture.
Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
Diffstat (limited to 'src/com/android/gallery3d/ui/GLView.java')
-rw-r--r--src/com/android/gallery3d/ui/GLView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/ui/GLView.java b/src/com/android/gallery3d/ui/GLView.java
index bb71312fb..3924c6e9d 100644
--- a/src/com/android/gallery3d/ui/GLView.java
+++ b/src/com/android/gallery3d/ui/GLView.java
@@ -50,6 +50,10 @@ public class GLView {
private static final int FLAG_SET_MEASURED_SIZE = 2;
private static final int FLAG_LAYOUT_REQUESTED = 4;
+ public interface OnClickListener {
+ void onClick(GLView v);
+ }
+
protected final Rect mBounds = new Rect();
protected final Rect mPaddings = new Rect();