From b92d8cbb4babeda68d245362c6eceb311d649484 Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Tue, 6 May 2014 20:52:22 -0400 Subject: Hopefully this fixes it. --- src/us/minak/IMEGestureOverlayView.java | 5 +++++ src/us/minak/IMEView.java | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src') 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). -- cgit v1.2.3-54-g00ecf