diff options
-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). |