diff options
| author | Mike Miller <mikem.exe@gmail.com> | 2014-06-22 17:57:06 -0700 |
|---|---|---|
| committer | Mike Miller <mikem.exe@gmail.com> | 2014-06-22 17:57:06 -0700 |
| commit | 6033c7cf983a347c35574769b2e33a21e428783c (patch) | |
| tree | 958c5a4a8117c13fdc300a8d24482a64215530fb /GymLog/src/main/java/com/mikemiller/gymlog/DoubleTapDetector.java | |
| parent | 99bb04032209271f0ed416bb42ea5ab09de23eb8 (diff) | |
| download | GymLog-6033c7cf983a347c35574769b2e33a21e428783c.tar.xz GymLog-6033c7cf983a347c35574769b2e33a21e428783c.zip | |
A few improvements
Diffstat (limited to 'GymLog/src/main/java/com/mikemiller/gymlog/DoubleTapDetector.java')
| -rw-r--r-- | GymLog/src/main/java/com/mikemiller/gymlog/DoubleTapDetector.java | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/GymLog/src/main/java/com/mikemiller/gymlog/DoubleTapDetector.java b/GymLog/src/main/java/com/mikemiller/gymlog/DoubleTapDetector.java index 4b42bc4..c5505e8 100644 --- a/GymLog/src/main/java/com/mikemiller/gymlog/DoubleTapDetector.java +++ b/GymLog/src/main/java/com/mikemiller/gymlog/DoubleTapDetector.java @@ -1,30 +1,30 @@ -package com.mikemiller.gymlog; - -import android.content.Context; -import android.view.GestureDetector; -import android.view.MotionEvent; - -/** - * Created by Mike on 3/29/14. COPYRIGHT OLIO. - */ -public class DoubleTapDetector extends GestureDetector.SimpleOnGestureListener { - public Context context; - public String phno; - - public DoubleTapDetector(Context con) - { - this.context=con; - } - @Override - public boolean onDown(MotionEvent e) { - return false; - } - @Override - public boolean onDoubleTap(MotionEvent e) { - return true; - } - @Override - public boolean onSingleTapUp(MotionEvent e) { - return false; - } +package com.mikemiller.gymlog;
+
+import android.content.Context;
+import android.view.GestureDetector;
+import android.view.MotionEvent;
+
+/**
+ * Created by Mike on 3/29/14. COPYRIGHT OLIO.
+ */
+public class DoubleTapDetector extends GestureDetector.SimpleOnGestureListener {
+ public Context context;
+ public String phno;
+
+ public DoubleTapDetector(Context con)
+ {
+ this.context=con;
+ }
+ @Override
+ public boolean onDown(MotionEvent e) {
+ return false;
+ }
+ @Override
+ public boolean onDoubleTap(MotionEvent e) {
+ return true;
+ }
+ @Override
+ public boolean onSingleTapUp(MotionEvent e) {
+ return false;
+ }
}
\ No newline at end of file |