diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-05-06 20:52:22 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-05-06 20:52:22 -0400 |
commit | b92d8cbb4babeda68d245362c6eceb311d649484 (patch) | |
tree | 8267b6a253c21aec4f03d7add94f4befdd20c1de /src/us | |
parent | 4f56606fbb9fea8d163340bd71cf3d2568e924cb (diff) |
Hopefully this fixes it.
Diffstat (limited to 'src/us')
-rw-r--r-- | src/us/minak/IMEGestureOverlayView.java | 5 | ||||
-rw-r--r-- | src/us/minak/IMEView.java | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/us/minak/IMEGestureOverlayView.java b/src/us/minak/IMEGestureOverlayView.java index 67d1798..011df3e 100644 --- a/src/us/minak/IMEGestureOverlayView.java +++ b/src/us/minak/IMEGestureOverlayView.java @@ -21,6 +21,7 @@ import android.gesture.GestureLibrary; import android.gesture.GestureOverlayView; import android.gesture.GestureOverlayView.OnGesturePerformedListener; import android.gesture.Prediction; +import android.graphics.Canvas; import android.util.AttributeSet; /** @@ -59,6 +60,10 @@ public class IMEGestureOverlayView extends GestureOverlayView implements OnGestu } } } + + public void onDraw(Canvas canvas) { + canvas.getHeight(); + } public void drawCircles (MetaCircle[] circles) { for (MetaCircle circle : circles) { diff --git a/src/us/minak/IMEView.java b/src/us/minak/IMEView.java index 42ac322..784f0ce 100644 --- a/src/us/minak/IMEView.java +++ b/src/us/minak/IMEView.java @@ -148,12 +148,12 @@ public class IMEView extends RelativeLayout { } }; - private final OnTouchListener mOnTouchListener = new OnTouchListener() { + /*private final OnTouchListener mOnTouchListener = new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { return setTouchLocation(event.getX(), event.getY()); } - }; + };*/ /** * Changes shift state to the next one (OFF -> ON -> CAPS LOCK). |